Add-SCUserRolePermission

Add-SCUserRolePermission

Adds a permission to a user role.

構文

Parameter Set: JobGroup
Add-SCUserRolePermission -JobGroup <Guid]> [-AllowLocalAdmin] [-Author] [-AuthorVMNetwork] [-CanReceive] [-CanShare] [-Checkpoint] [-CheckpointRestoreOnly] [-Cloud <Cloud> ] [-Deploy] [-DeployFromTemplateOnly] [-JobVariable <String> ] [-OnBehalfOfUser <System.String> ] [-OnBehalfOfUserRole <Microsoft.SystemCenter.VirtualMachineManager.UserRole> ] [-PauseAndResume] [-PROTipID <Guid]> ] [-RemoteConnect] [-Remove] [-RunAsynchronously] [-Save] [-Shutdown] [-Start] [-Stop] [-Store] [-VMMServer <ServerConnection> ] [ <CommonParameters>]

Parameter Set: UserRole
Add-SCUserRolePermission -UserRole <SelfServiceUserRole> [-AllowLocalAdmin] [-Author] [-AuthorVMNetwork] [-CanReceive] [-CanShare] [-Checkpoint] [-CheckpointRestoreOnly] [-Deploy] [-DeployFromTemplateOnly] [-JobVariable <String> ] [-OnBehalfOfUser <System.String> ] [-OnBehalfOfUserRole <Microsoft.SystemCenter.VirtualMachineManager.UserRole> ] [-PauseAndResume] [-PROTipID <Guid]> ] [-RemoteConnect] [-Remove] [-RunAsynchronously] [-Save] [-Shutdown] [-Start] [-Stop] [-Store] [-VMMServer <ServerConnection> ] [ <CommonParameters>]

Parameter Set: UserRolePermission
Add-SCUserRolePermission -UserRolePermission <UserRolePermission> [-AllowLocalAdmin] [-Checkpoint] [-CheckpointRestoreOnly] [-Deploy] [-DeployFromTemplateOnly] [-JobVariable <String> ] [-OnBehalfOfUser <System.String> ] [-OnBehalfOfUserRole <Microsoft.SystemCenter.VirtualMachineManager.UserRole> ] [-PauseAndResume] [-PROTipID <Guid]> ] [-RemoteConnect] [-Remove] [-RunAsynchronously] [-Save] [-Shutdown] [-Start] [-Stop] [-Store] [-VMMServer <ServerConnection> ] [ <CommonParameters>]

Parameter Set: Values
Add-SCUserRolePermission -Cloud <Cloud> -UserRole <SelfServiceUserRole> [-AllowLocalAdmin] [-Checkpoint] [-CheckpointRestoreOnly] [-Deploy] [-DeployFromTemplateOnly] [-JobVariable <String> ] [-OnBehalfOfUser <System.String> ] [-OnBehalfOfUserRole <Microsoft.SystemCenter.VirtualMachineManager.UserRole> ] [-PauseAndResume] [-PROTipID <Guid]> ] [-RemoteConnect] [-Remove] [-RunAsynchronously] [-Save] [-Shutdown] [-Start] [-Stop] [-Store] [-VMMServer <ServerConnection> ] [ <CommonParameters>]

詳細説明

The Add-SCUserRolePermission cmdlet adds a permission to a user role.

パラメーター

-AllowLocalAdmin

Indicates the Allow Local Admin permission.

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-Author

Specifies the Author permission.

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-AuthorVMNetwork

Specifies the Author VMNetwork permission.

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-CanReceive

Indicates the Can Receive permission.

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-CanShare

Indicates the Can Share permission.

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-Checkpoint

Indicates the Can Checkpoint permission.

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-CheckpointRestoreOnly

Indicates the Can Checkpoint Restore Only permission.

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-Cloud<Cloud>

Specifies a private cloud object.

エイリアス

none

必須?

true

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-Deploy

Indicates the Deploy virtual machine permission.

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-DeployFromTemplateOnly

Indicates the Deploy From Template Only virtual machine permission.

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-JobGroup<Guid]>

Specifies an identifier for a series of commands that will run as a set just before the final command that includes the same job group identifier runs.

エイリアス

none

必須?

true

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-JobVariable<String>

Specifies that job progress is tracked and stored in the variable named by this parameter.

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-OnBehalfOfUser<System.String>

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-OnBehalfOfUserRole<Microsoft.SystemCenter.VirtualMachineManager.UserRole>

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-PauseAndResume

Indicates the Can Pause And Resume permission.

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-PROTipID<Guid]>

Specifies the ID of the PRO tip that triggered this action. This allows for auditing of PRO tips.

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-RemoteConnect

Indicates the Remote Connect permission.

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-Remove

Indicates the Can Remove permission.

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-RunAsynchronously

Indicates that the job runs asynchronously so that control returns to the command shell immediately.

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-Save

Indicates the Can Save VM permission.

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-Shutdown

Indicates that a virtual machine, service, or a source server should be shut down. In the case of a virtual machine or service, the associated cmdlet attempts to use the operating system to shut the virtual machine down gracefully. In the case of a successful physical-to-virtual machine (P2V) conversion, the cmdlet shuts down the source server.

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-Start

Indicates the Can Start virtual machine permission.

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-Stop

Indicates the Can Stop virtual machine permission.

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-Store

Indicates the Can Store virtual machine permission.

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-UserRole<SelfServiceUserRole>

Specifies a user role object.

エイリアス

none

必須?

true

位置は?

named

既定値

none

パイプライン入力を許可する

True (ByValue)

ワイルドカード文字を許可する

false

-UserRolePermission<UserRolePermission>

Specifies a UserRolePermission object.

エイリアス

none

必須?

true

位置は?

named

既定値

none

パイプライン入力を許可する

True (ByValue)

ワイルドカード文字を許可する

false

-VMMServer<ServerConnection>

Specifies a VMM server object.

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

True (ByValue)

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • UserRole

関連トピック

Get-SCUserRolePermission

Remove-SCUserRolePermission