Remove-SCUserRolePermission
從使用者角色移除許可權。
Syntax
Remove-SCUserRolePermission
[-VMMServer <ServerConnection>]
-UserRole <SelfServiceUserRole>
-Cloud <Cloud>
[-AllowLocalAdmin]
[-Checkpoint]
[-CheckpointRestoreOnly]
[-DeployFromTemplateOnly]
[-Deploy]
[-PauseAndResume]
[-RemoteConnect]
[-Remove]
[-Save]
[-Shutdown]
[-Start]
[-Stop]
[-Store]
[-DeployShielded]
[-MigrateVM]
[-UpdateVMFunctionalLevel]
[-ManageAzureProfiles]
[-RunAsynchronously]
[-PROTipID <Guid>]
[-JobVariable <String>]
[-OnBehalfOfUser <String>]
[-OnBehalfOfUserRole <UserRole>]
[<CommonParameters>]
Remove-SCUserRolePermission
[-VMMServer <ServerConnection>]
-UserRole <SelfServiceUserRole>
[-AllowLocalAdmin]
[-Author]
[-AuthorVMNetwork]
[-CanShare]
[-CanReceive]
[-Checkpoint]
[-CheckpointRestoreOnly]
[-DeployFromTemplateOnly]
[-Deploy]
[-PauseAndResume]
[-RemoteConnect]
[-Remove]
[-Save]
[-Shutdown]
[-Start]
[-Stop]
[-Store]
[-DeployShielded]
[-UpdateVMFunctionalLevel]
[-ManageAzureProfiles]
[-RunAsynchronously]
[-PROTipID <Guid>]
[-JobVariable <String>]
[-OnBehalfOfUser <String>]
[-OnBehalfOfUserRole <UserRole>]
[<CommonParameters>]
Remove-SCUserRolePermission
[-VMMServer <ServerConnection>]
-UserRole <SelfServiceUserRole>
-HostGroup <HostGroup>
[-AllowLocalAdmin]
[-Checkpoint]
[-CheckpointRestoreOnly]
[-DeployFromTemplateOnly]
[-Deploy]
[-PauseAndResume]
[-RemoteConnect]
[-Remove]
[-Save]
[-Shutdown]
[-Start]
[-Stop]
[-Store]
[-DeployShielded]
[-MigrateVM]
[-UpdateVMFunctionalLevel]
[-ManageAzureProfiles]
[-RunAsynchronously]
[-PROTipID <Guid>]
[-JobVariable <String>]
[-OnBehalfOfUser <String>]
[-OnBehalfOfUserRole <UserRole>]
[<CommonParameters>]
Remove-SCUserRolePermission
[-VMMServer <ServerConnection>]
[-Cloud <Cloud>]
-JobGroup <Guid>
[-AllowLocalAdmin]
[-Author]
[-AuthorVMNetwork]
[-CanShare]
[-CanReceive]
[-Checkpoint]
[-CheckpointRestoreOnly]
[-DeployFromTemplateOnly]
[-Deploy]
[-PauseAndResume]
[-RemoteConnect]
[-Remove]
[-Save]
[-Shutdown]
[-Start]
[-Stop]
[-Store]
[-DeployShielded]
[-MigrateVM]
[-UpdateVMFunctionalLevel]
[-ManageAzureProfiles]
[-RunAsynchronously]
[-PROTipID <Guid>]
[-JobVariable <String>]
[-OnBehalfOfUser <String>]
[-OnBehalfOfUserRole <UserRole>]
[<CommonParameters>]
Remove-SCUserRolePermission
[-VMMServer <ServerConnection>]
[-HostGroup <HostGroup>]
-JobGroup <Guid>
[-AllowLocalAdmin]
[-Author]
[-AuthorVMNetwork]
[-CanShare]
[-CanReceive]
[-Checkpoint]
[-CheckpointRestoreOnly]
[-DeployFromTemplateOnly]
[-Deploy]
[-PauseAndResume]
[-RemoteConnect]
[-Remove]
[-Save]
[-Shutdown]
[-Start]
[-Stop]
[-Store]
[-DeployShielded]
[-MigrateVM]
[-UpdateVMFunctionalLevel]
[-ManageAzureProfiles]
[-RunAsynchronously]
[-PROTipID <Guid>]
[-JobVariable <String>]
[-OnBehalfOfUser <String>]
[-OnBehalfOfUserRole <UserRole>]
[<CommonParameters>]
Remove-SCUserRolePermission
[-VMMServer <ServerConnection>]
-UserRolePermission <UserRolePermission>
[-AllowLocalAdmin]
[-Checkpoint]
[-CheckpointRestoreOnly]
[-DeployFromTemplateOnly]
[-Deploy]
[-PauseAndResume]
[-RemoteConnect]
[-Remove]
[-Save]
[-Shutdown]
[-Start]
[-Stop]
[-Store]
[-DeployShielded]
[-MigrateVM]
[-UpdateVMFunctionalLevel]
[-ManageAzureProfiles]
[-RunAsynchronously]
[-PROTipID <Guid>]
[-JobVariable <String>]
[-OnBehalfOfUser <String>]
[-OnBehalfOfUserRole <UserRole>]
[<CommonParameters>]
Description
Remove-SCUserRolePermission Cmdlet 會從使用者角色移除許可權。
注意
- 只有當UserRole參數為VMAdmin時,才能使用HostGroup參數。
參數
-AllowLocalAdmin
指出此 Cmdlet 會移除 [允許本機管理員許可權。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Author
指出此 Cmdlet 會移除 Author 許可權。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-AuthorVMNetwork
指出此 Cmdlet 會移除 Author VMNetwork 許可權。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CanReceive
指出這個 Cmdlet 會移除 Can Receive 許可權。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CanShare
表示此 Cmdlet 會移除 Can Share 許可權。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Checkpoint
表示這個 Cmdlet 會移除 Can Checkpoint 許可權。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CheckpointRestoreOnly
指出此 Cmdlet 會移除 [僅檢查點還原] 許可權。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Cloud
指定此 Cmdlet 修改使用者角色的私人雲端物件。
Type: | Cloud |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Deploy
指出此 Cmdlet 會移除部署虛擬機器許可權。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DeployFromTemplateOnly
指出此 Cmdlet 會移除 [僅從範本部署] 虛擬機器許可權。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DeployShielded
指出此 Cmdlet 會移除部署受防護的許可權。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-HostGroup
指定此 Cmdlet 取得使用者角色權限物件的主機群組物件。
Type: | HostGroup |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-JobGroup
指定一系列命令的識別碼,這些命令會在包含相同作業群組識別碼的執行的最後一個命令之前,以集合的形式執行。
Type: | Guid |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-JobVariable
指定追蹤和儲存作業進度的變數。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ManageAzureProfiles
指出此 Cmdlet 會移除 [管理 Azure 設定檔 ] 許可權。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-MigrateVM
指出此 Cmdlet 會移除 Migrate 虛擬機器 許可權。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-OnBehalfOfUser
指定使用者名稱。 此 Cmdlet 代表此參數指定的使用者運作。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-OnBehalfOfUserRole
指定使用者角色。 若要取得使用者角色,請使用 Get-SCUserRole Cmdlet。 此 Cmdlet 代表此參數所指定的使用者角色運作。
Type: | UserRole |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PauseAndResume
表示此 Cmdlet 會移除 Can Pause And Resume 許可權。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PROTipID
指定觸發此動作之 PRO 提示 (PRO 提示的識別碼) 。 此參數可讓您稽核 PRO 秘訣。
Type: | Guid |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-RemoteConnect
指出此 Cmdlet 會移除 Remote Connect 許可權。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Remove
表示此 Cmdlet 會移除 [可移除] 許可權。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-RunAsynchronously
表示作業會以非同步方式執行,讓控制項立即返回命令殼層。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Save
指出此 Cmdlet 會移除 Can Save VM 許可權。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Shutdown
指出此 Cmdlet 會移除 Can Shutdown 虛擬機器許可權。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Start
指出此 Cmdlet 會移除 [可以啟動虛擬機器] 許可權。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Stop
指出此 Cmdlet 會移除 Can Stop 虛擬機器許可權。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Store
指出此 Cmdlet 會移除 Can Store 虛擬機器許可權。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-UpdateVMFunctionalLevel
指出此 Cmdlet 會移除更新虛擬機器功能等級的許可權。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-UserRole
指定此 Cmdlet 移除許可權的使用者角色。
Type: | SelfServiceUserRole |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-UserRolePermission
指定此 Cmdlet 移除許可權的 UserRolePermission 。 若要取得使用者角色許可權,請使用 Get-SCUserRolePermission Cmdlet。
Type: | UserRolePermission |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-VMMServer
指定此 Cmdlet 移除許可權的 Virtual Machine Manager (VMM) 伺服器。
Type: | ServerConnection |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |