New-DPMRole
New-DPMRole
Creates a DPM role.
構文
Parameter Set: Default
New-DPMRole [[-DPMServerName] <String> ] [-Name] <String> [[-Description] <String> ] [ <CommonParameters>]
詳細説明
The New-DPMRole cmdlet creates a System Center 2012 – Data Protection Manager (DPM) role. DPM roles allow Microsoft SQL Server database owners to recover databases without assistance from a DPM administrator.
After you create a DPM role, use the Add-DPMSecurityGroup cmdlet to add the role to appropriate security groups. Use the Add-DPMRecoveryItem cmdlet to specify instances of SQL Server and SQL Server databases that DPM protects. Use the Add-DPMRecoveryTarget cmdlet to specify target computers running SQL Server. After you make any changes to a DPM role, use the Set-DPMRole cmdlet to save those changes.
パラメーター
-Description<String>
Specifies a description for the DPM role.
エイリアス |
none |
必須? |
false |
位置は? |
3 |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-DPMServerName<String>
Specifies the name of a DPM server.
エイリアス |
none |
必須? |
false |
位置は? |
1 |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-Name<String>
Specifies a name for the DPM role.
エイリアス |
none |
必須? |
true |
位置は? |
2 |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
注
- For more information, type "
Get-Help New-DPMRole -detailed
".
例
Example 1: Create a role
This command creates a DPM role named OpsMgrSQL on the server named DPMServer07. The command includes a description for the role.
PS C:\> New-DPMRole -DPMServerName "DPMServer07" -Name "OpsMgrSQL" -Description "Operations Manager SQL"