PowerShell Remoting: No credentials are available in the security package
- by TheSciz
I'm trying to use the following script:
$password = ConvertTo-SecureString "xxxx" -AsPlainText -Force
$cred = New-Object System.Management.Automation.PSCredential("domain\Administrator", $password)
$session = New-PSSession 192.168.xxx.xxx -Credential $cred
Invoke-Command -Session $session -ScriptBlock { New-Cluster -Name "ClusterTest" -Node…