Skip to content

Commit 7cfaf80

Browse files
authored
Merge pull request MicrosoftDocs#633 from tseward/patch-320
Update Set-SPManagedAccount.md
2 parents fdd68ec + fd4ef61 commit 7cfaf80

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

sharepoint/sharepoint-ps/sharepoint-server/Set-SPManagedAccount.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,8 @@ For permissions and the most current information about Windows PowerShell for Sh
6060

6161
### ------------------EXAMPLE-----------------------
6262
```
63-
C:\PS>$m = Get-SPManagedAccount -Identity "DOMAINx\UserY"
64-
65-
C:\PS>Set-SPManagedAccount -Identity $m -AutoGeneratePassword true
63+
PS C:\>$m = Get-SPManagedAccount -Identity "DOMAINx\UserY"
64+
PS C:\>Set-SPManagedAccount -Identity $m -AutoGeneratePassword true
6665
```
6766

6867
This example displays an explicit managed account if it exists and then attempts to update it to use automatically generated passwords.

0 commit comments

Comments
 (0)