invoke-command 应用
$securePassword = ConvertTo-SecureString $password -AsPlainText -Force$credential = new-object Management.Automation.PSCredential($username, $securePassword)invoke-command -asjob -computername $clientName -credential $credential -scriptblock { $pa