I'm trying to automate things with Windows Server 2016.
Now I can't acces a sysprep
ed VM via PowerShell Direct because you have to set password for the Administrator account. How can I access this server?
PS> icm -VMName S2D1 { ipconfig } cmdlet Invoke-Command at command pipeline position 1 Supply values for the following parameters: The credential is invalid. + CategoryInfo : OpenError: (S2D1:String) [], PSDirectException + FullyQualifiedErrorId : PSSessionStateBroken