Skip to main content
SnapCenter 4.8 cmdlets

Remove-SmUser

Contributors

Removes AD users or local workgroup users from SnapCenter.

Syntax

Remove-SmUser [-UserName]  <SmString>  [-Domain]  <String>

Detailed Description

Removes Active Directory users or local workgroup users from SnapCenter.

Parameters

Name Description Required? Pipeline Input Default Value

UserName

Single user or list of users belonging to the same domain or workgroup.

true

true (ByPropertyName)

Domain

The domain to which the user belongs to. Workgroup users should skip this parameter.

false

true (ByPropertyName)

Examples

Example 1: Removing a single user 1

 Remove-SmUser -UserName user1 -Domain domain1

Example 2: Removing multiple users of same domainle 2

 Remove-SmUser -UserName user1,user2 -Domain domain1

Example 3: Removing workgroup user

 Remove-SmUser -UserName LocalUser1