SnapCenter 6.0 Cmdlet Reference Guide For Windows ( CA08871-610en )
SnapCenter PowerShell requirements
SnapCenter Windows disk management cmdlets
Get-SdStorageConnectionSetting
Get-SdVolumeCloneSplitEstimate
Invoke-SdHostVolumeSpaceReclaim
Remove-SdStorageConnectionSetting
SnapCenter data protection cmdlets
Catalog-SmBackupWithOracleRMAN
Get-SmBackupsForPointInTimeRecovery
Get-SmDataCollectionEmsSchedule
Get-SmMultiFactorAuthentication
Invoke-DiagnosticLogCollection
Invoke-SmPrimaryBackupsExistenceCheck
Invoke-SmTechRefreshPrimaryStorage
Invoke-SmTechRefreshSecondaryStorage
New-SmMultifactorAuthenticationMetadata
Refresh-SmSyncSnapMirrorBackups
Remove-SmResourceCredentialName
Set-SmDataCollectionEmsSchedule
Set-SmMultiFactorAuthentication
Set-SmRepositoryConfigSettings
Remove-SmGroup
Removes an AD group or local group from SnapCenter.
Syntax
Remove-SmGroup [-Group] <SmString> [-Domain] <String>
Detailed Description
Removes an Active Directory group or local group from SnapCenter.
Parameters
Name | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|
Group |
Single group or list of groups belonging to the same domain or local host. |
true |
true (ByPropertyName) |
|
Domain |
The domain to which the group belongs to. Local group should skip this parameter. |
false |
true (ByPropertyName) |
Examples
Example 1: Removing a single group
Remove-SmGroup -Group group1 -Domain domain1
Example 2: Removing multiple groups of same domain
Remove-SmGroup -Group group1,group2 -Domain domain1
Example 3: Removing a local group
Remove-SmGroup -Group LocalGroup1