Answers for "admin passwort eingeben wenn powershell script ausgeführt wird"

0

admin passwort eingeben wenn powershell script ausgeführt wird

$User = "Username"
$Password = "Password" | ConvertTo-SecureString -asPlainText -Force
$MyCredential = New-Object System.Management.Automation.PSCredential($User,$Password)
 
Start-Process -WindowStyle Hidden powershell.exe -Credential $MyCredential -ArgumentList '-noprofile -command &{Start c:\program\program.exe -Verb RunAs}'
Posted by: Guest on November-17-2020

Code answers related to "admin passwort eingeben wenn powershell script ausgeführt wird"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language