摘要:
1 # Config 2 $today = Get-Date -UFormat "%Y%m%d" 3 $LogFilePath = "d:\ftpLog_$today.txt" 4 $UserName = "ftpuser" 5 $Password = "Password01!" 6 7 8 function REM($Msg){ 9 $now= Get-Date10 write-host "$now : $Msg" -foregroundcolor Yellow11 Add-Content $ 阅读全文