We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fdd68ec + fd4ef61 commit 7cfaf80Copy full SHA for 7cfaf80
sharepoint/sharepoint-ps/sharepoint-server/Set-SPManagedAccount.md
@@ -60,9 +60,8 @@ For permissions and the most current information about Windows PowerShell for Sh
60
61
### ------------------EXAMPLE-----------------------
62
```
63
-C:\PS>$m = Get-SPManagedAccount -Identity "DOMAINx\UserY"
64
-
65
-C:\PS>Set-SPManagedAccount -Identity $m -AutoGeneratePassword true
+PS C:\>$m = Get-SPManagedAccount -Identity "DOMAINx\UserY"
+PS C:\>Set-SPManagedAccount -Identity $m -AutoGeneratePassword true
66
67
68
This example displays an explicit managed account if it exists and then attempts to update it to use automatically generated passwords.
0 commit comments