Remove-SCUserRolePermission
Usuwa uprawnienie z roli użytkownika.
Składnia
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>]
Opis
Polecenie cmdlet Remove-SCUserRolePermission usuwa uprawnienie z roli użytkownika.
Uwaga
- Parametr HostGroup może być używany tylko wtedy, gdy parametr UserRole to VMAdmin.
Parametry
-AllowLocalAdmin
Wskazuje, że to polecenie cmdlet usuwa uprawnienie Zezwalaj na Administracja lokalne.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Author
Wskazuje, że to polecenie cmdlet usuwa uprawnienie Autor.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-AuthorVMNetwork
Wskazuje, że to polecenie cmdlet usuwa uprawnienie Tworzenie maszyny wirtualnejNetwork.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CanReceive
Wskazuje, że to polecenie cmdlet usuwa uprawnienie Może odbierać.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CanShare
Wskazuje, że to polecenie cmdlet usuwa uprawnienie Może udostępniać.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Checkpoint
Wskazuje, że to polecenie cmdlet usuwa uprawnienie Can Checkpoint.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CheckpointRestoreOnly
Wskazuje, że to polecenie cmdlet usuwa uprawnienie Tylko do przywracania punktu kontrolnego.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Cloud
Określa obiekt chmury prywatnej, dla którego to polecenie cmdlet modyfikuje rolę użytkownika.
Type: | Cloud |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Deploy
Wskazuje, że to polecenie cmdlet usuwa uprawnienie Wdróż maszynę wirtualną.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DeployFromTemplateOnly
Wskazuje, że to polecenie cmdlet usuwa uprawnienie Wdróż tylko z szablonu maszyny wirtualnej.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DeployShielded
Wskazuje, że to polecenie cmdlet usuwa uprawnienie Wdrażanie osłony.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-HostGroup
Określa obiekt grupy hostów, dla którego to polecenie cmdlet pobiera obiekty uprawnień roli użytkownika.
Type: | HostGroup |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-JobGroup
Określa identyfikator serii poleceń uruchamianych jako zestaw tuż przed ostatnim poleceniem zawierającym ten sam identyfikator grupy zadań.
Type: | Guid |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-JobVariable
Określa zmienną, w której postęp zadania jest śledzony i przechowywany.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ManageAzureProfiles
Wskazuje, że to polecenie cmdlet usuwa uprawnienie Zarządzanie profilami platformy Azure .
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-MigrateVM
Wskazuje, że to polecenie cmdlet usuwa uprawnienie Migrowanie maszyny wirtualnej .
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-OnBehalfOfUser
Określa nazwę użytkownika. To polecenie cmdlet działa w imieniu użytkownika, który określa ten parametr.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-OnBehalfOfUserRole
Określa rolę użytkownika. Aby uzyskać rolę użytkownika, użyj polecenia cmdlet Get-SCUserRole . To polecenie cmdlet działa w imieniu roli użytkownika, którą określa ten parametr.
Type: | UserRole |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PauseAndResume
Wskazuje, że to polecenie cmdlet usuwa uprawnienie Może wstrzymywać i wznawiać.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PROTipID
Określa identyfikator porady wydajności i optymalizacji zasobów (porada PRO), która wyzwoliła tę akcję. Ten parametr umożliwia inspekcję porad PRO.
Type: | Guid |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-RemoteConnect
Wskazuje, że to polecenie cmdlet usuwa uprawnienie Podłączanie zdalne.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Remove
Wskazuje, że to polecenie cmdlet usuwa uprawnienie Może usunąć.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-RunAsynchronously
Wskazuje, że zadanie jest uruchamiane asynchronicznie, aby kontrolka natychmiast wracała do powłoki poleceń.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Save
Wskazuje, że to polecenie cmdlet usuwa uprawnienie Może zapisywać maszynę wirtualną.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Shutdown
Wskazuje, że to polecenie cmdlet usuwa uprawnienie Może zamknąć maszynę wirtualną.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Start
Wskazuje, że to polecenie cmdlet usuwa uprawnienie Może uruchomić maszynę wirtualną.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Stop
Wskazuje, że to polecenie cmdlet usuwa uprawnienie Może zatrzymać maszynę wirtualną.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Store
Wskazuje, że to polecenie cmdlet usuwa uprawnienie Może Store maszyny wirtualnej.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-UpdateVMFunctionalLevel
Wskazuje, że to polecenie cmdlet usuwa uprawnienia do aktualizowania poziomu funkcjonalności maszyny wirtualnej.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-UserRole
Określa rolę użytkownika, z której to polecenie cmdlet usuwa uprawnienia.
Type: | SelfServiceUserRole |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-UserRolePermission
Określa userRolePermission , z którego to polecenie cmdlet usuwa uprawnienia. Aby uzyskać uprawnienie roli użytkownika, użyj polecenia cmdlet Get-SCUserRolePermission .
Type: | UserRolePermission |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-VMMServer
Określa serwer programu Virtual Machine Manager (VMM), na którym to polecenie cmdlet usuwa uprawnienia.
Type: | ServerConnection |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |