User and PWD for Enter-PSSession


is possible provide username , credentials pssession without getting prompt password?

 

here command using not sure password go:

enter-pssession –computername server name –credential domain\username

if meant completly not interactive, tried that?
$password = convertto-securestring "plaintextpassword" -asplaintext -force
$cred= new-object system.management.automation.pscredential ("username",
$password )


Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

Azure MFA with Azure AD and RDS

Failed to setup initiator portal. Error status is given in the dump data.

Invalid pointer on gpresult /h gpreport.html