リモートサーバーの特定のフォルダにあるファイルを削除します。私は、PowerShellで次のコマンドを実行:Powershell Invoke-Command Remove-Itemリモートサーバー
Invoke-Command -Computer 'compname1' -ScriptBlock {Remove-Item -$args -force } -ArgumentList 'c:\BizTalkDeployment'
は、私は次のエラーを取得する:
Cannot find drive. A drive with the name '-c' does not exist.
C:\ BizTalkDeploymentは、サーバcompname1上の正しいパスです。
誰でも私が間違ったことを説明できますか?
クリス、それは大きな助け感謝します。 –