NAME
Start-Process
...
OUTPUTS
None, System.Diagnostics.Process
This cmdlet generates a System.Diagnostics.Process object, if you specify the PassThru parameter. Otherwise, this cmdlet does not return any output.
$version = & docker version
Verified: Signed
Signing date: 20:56 13.01.2017
Publisher: Microsoft Corporation
Company: n/a
Description: n/a
Product: n/a
Prod version: n/a
File version: n/a
MachineType: n/a
$argument1 = '-noprofile -command "Start-Process powershell.exe -Verb RunAs"'
$argument1 = '-noprofile -command "Start-Process powershell.exe -Verb RunAs -ArgumentList scriptName.ps1 "'
powershell.exe -NoExit -command .\install.ps1
$credential = New-Object System.Management.Automation.PsCredential("DOMAIN\admin_user", (ConvertTo-SecureString "password" -AsPlainText -Force))
Start-Process -FilePath C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Credential $credential -NoNewWindow