mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-06-22 13:53:39 +00:00
minor edits
This commit is contained in:
@ -77,11 +77,9 @@ This scenario uses a centrally located script and runs it using a domain-based g
|
|||||||
1. Go to the **Actions** tab and click **New**. Ensure that **Start a program** is selected in the Action field.
|
1. Go to the **Actions** tab and click **New**. Ensure that **Start a program** is selected in the Action field.
|
||||||
Enter the following:
|
Enter the following:
|
||||||
|
|
||||||
Action = "Start a program"
|
> Action = "Start a program"
|
||||||
|
> Program/Script = C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe <br>
|
||||||
Program/Script = C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe
|
> Add Arguments (optional) = -ExecutionPolicy Bypass -command "& \\Path\To\Onboard-NonPersistentMachine.ps1"
|
||||||
|
|
||||||
Add Arguments (optional) = -ExecutionPolicy Bypass -command "& \\Path\To\Onboard-NonPersistentMachine.ps1"
|
|
||||||
|
|
||||||
Click **OK** and close any open GPMC windows.
|
Click **OK** and close any open GPMC windows.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user