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

Generating Event ID 91, 44 with CA (In Event Viewer with source as Certsvc)

Group policy default policy cannot be edited because network name not found

Problem when changing update source