jrodsguitar
Enthusiast
Enthusiast

if you create a credential object instead does it work? You will be prompted for a username and password so specify the username as domain\user

$cred = get-credential

Connect-HVServer CONN-SERVER_FQDN -Credential $cred

Blog: https://powershell.house/