RunPowerShellScript (Opus Funktion)
Inhaltsverzeichnis
Beschreibung¶
Führt ein Powershellscript aus Executes a PowerShell script in-process and returns its output as a string.
Argumente¶
Name | Typ | Beschreibung |
|---|---|---|
Script | Powershell Script |
Rückgabewert string¶
combined standard-output and standard-error text from the script
Beispiel¶
RunPowerShellScript("Set-ADUser -Identity \""+Ls_UserName+"\" -ChangePasswordAtNextLogon $true"); |
|---|