Windows/Deployment: fix bad MarkDown keyword & its placement

- remove incorrect space between code block fence ``` and keyword
- replace invalid keyword "syntax" with valid keyword 'powershell'
- retract last code line (parameter) back to its parent command line

Resolves #2982 (formatting issue)
This commit is contained in:
illfated
2019-03-20 03:16:40 +01:00
parent a5e92864da
commit 3b07ac2ad4

View File

@ -42,11 +42,10 @@ These steps will show you how to configure an Active Directory account with the
5. User cannot change password: Select
6. Password never expires: Select
3. In an elevated Windows PowerShell prompt (run as Administrator), run the following commands and press **Enter** after each command:
``` syntax
```powershell
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Force
Set-Location C:\Setup\Scripts
.\Set-OUPermissions.ps1 -Account MDT_JD
-TargetOU "OU=Workstations,OU=Computers,OU=Contoso"
.\Set-OUPermissions.ps1 -Account MDT_JD -TargetOU "OU=Workstations,OU=Computers,OU=Contoso"
```
4. The Set-OUPermissions.ps1 script allows the MDT\_JD user account permissions to manage computer accounts in the Contoso / Computers OU. Below you find a list of the permissions being granted:
1. Scope: This object and all descendant objects