Ошибка при выполнении PowerShell скрипта - The stub received bad data

Пытаюсь запустить PowerShell скрипт на VPS Windows Server 2012 r2. Сам скрипт :

try{
$Username = 'domain\admin'
$Password = '***'
$pass = ConvertTo-SecureString -AsPlainText $Password -Force
$SecureString = $pass
$MySecureCreds = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $Username,$SecureString 
Start-Process -FilePath "powershell" -Credential $MySecureCreds -Args "some command"
}
catch{
$PSItem | Out-File -FilePath "..\psLog.txt" -Append;
}

В логе получаю ошибку :

Start-Process : This command cannot be run due to the error: The stub received bad data.
At line:9 char:1
+ Start-Process -FilePath "powershell" -Credential $MySecureCreds -Args $script
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Start-Process], InvalidOperationException
    + FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand

Пробовал запустить через cmd :

DISM.exe /Online /Cleanup-image /Scanhealth 
DISM.exe /Online /Cleanup-image /Restorehealth

Получил :

The dism log file can be found 

также попробовал : sfc/scannow результат :

Beginning verification phase of system scan.
Verification 100% complete.

Windows Resource Protection did not find any integrity violations.

Ответы (0 шт):