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
Copy-SmRole
Copies an existing role-based access control (RBAC) role.
Syntax
Copy-SmRole [-RoleName] <String> [-NewRoleName] <String>
Detailed Description
Copies an existing role-based access control (RBAC) role.
Parameters
Name | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|
RoleName |
Specifies the name of the existing role. |
true |
true (ByPropertyName) |
|
NewRoleName |
Specifies the name of the new role. |
true |
true (ByPropertyName) |
Examples
Example 1: Copying and existing role
Copy-SmRole -RoleName 'App Backup and Clone Admin' -NewRoleName app_backup_clone_admin_copy
This example syntax copies the existing role "App Backup and Clone Admin" to a new role called app_backup_clone_admin_copy.