Skip to content

Commit ae07fbd

Browse files
Update Uninstall-ADServiceAccount.md
add Name uniqueness warning remove rodc reference, you can run this one on RODC
1 parent 8a35f5e commit ae07fbd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docset/winserver2022-ps/activedirectory/Uninstall-ADServiceAccount.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ You can identify an MSA by its distinguished name (DN), GUID, security identifie
3131
You can also set the parameter to an MSA object variable, such as `$<localServiceAccountObject>` or pass an MSA object through the pipeline to the *Identity* parameter.
3232
For example, you can use the **Get-ADServiceAccount** cmdlet to get an MSA object and then pass that object through the pipeline to the **Uninstall-ADServiceAccount** cmdlet.
3333

34+
You will receive an error if the account name is not unique in the forest, meaning an account with the same samAccountName may be in multiple domains in the forest.
35+
3436
## EXAMPLES
3537

3638
### Example 1: Uninstall a specified MSA
@@ -164,7 +166,6 @@ A parameter with name **ForceRemoveLocal** is provided to un-install standalone
164166
## NOTES
165167
* This cmdlet does not work with AD LDS.
166168
* This cmdlet does not work with an Active Directory snapshot.
167-
* This cmdlet does not work with a read-only domain controller.
168169
169170
## RELATED LINKS
170171

0 commit comments

Comments
 (0)