Skip to content

Commit 0e9229b

Browse files
committed
Fixed formatting
1 parent b35ade3 commit 0e9229b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

azure-local/manage/manage-secure-baseline.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,16 @@ To fix the compliance for the rules, run the following commands or use any other
5050

5151
1. **Legal notice**: Create a custom value for legal notice depending on your organization's needs and policies. Run the following commands:
5252

53-
```PowerShell
54-
Set-ItemProperty -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System" -Name "LegalNoticeCaption" -Value "Legal Notice"
55-
Set-ItemProperty -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System" -Name "LegalNoticeText" -Value "LegalNoticeText"
56-
```
53+
```PowerShell
54+
Set-ItemProperty -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System" -Name "LegalNoticeCaption" -Value "Legal Notice"
55+
Set-ItemProperty -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System" -Name "LegalNoticeText" -Value "LegalNoticeText"
56+
```
5757
5858
1. **Minimum password length**: Set the minimum password length policy to 14 characthers on the Azure Local machine. The default value is 7, and any value below 14 is still flagged by the monitoring baseline policy. Run the following commands:
5959
60-
```PowerShell
61-
net accounts /minpwlen:14
62-
```
60+
```PowerShell
61+
net accounts /minpwlen:14
62+
```
6363
6464
## Manage security defaults with PowerShell
6565

0 commit comments

Comments
 (0)