Skip to content

Commit fc9176a

Browse files
committed
Take suggestion
1 parent a3f5f97 commit fc9176a

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

docs/reference/resources/Microsoft/OpenSSH/SSHD/Windows/examples/configure-default-shell-powershell.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,9 @@ To restore your system to its original state, use the following command to delet
7878
7979
```powershell
8080
$params = @{
81-
Path = 'HKLM:\SOFTWARE\OpenSSH'
82-
Name = 'DefaultShell'
81+
Path = 'HKLM:\SOFTWARE\OpenSSH'
82+
Name = 'DefaultShell'
83+
ErrorAction = 'SilentlyContinue'
8384
}
8485
Remove-ItemProperty @params
8586
```

0 commit comments

Comments
 (0)