PowerShell Logo Small

Revoke-VMConnectAccess



This is the built-in help made by Microsoft for the command 'Revoke-VMConnectAccess', in PowerShell version 3 - as retrieved from Windows version 'Microsoft Windows Server 2012 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Revokes access for one or more users to connect to a one or more virtual machines.

SYNTAX


Revoke-VMConnectAccess [-VMName] <String[]> [-UserName] <String[]> [-ComputerName <String[]>] [-Passthru] [<CommonParameters>]
Revoke-VMConnectAccess [-VMId] <Guid[]> [-UserName] <String[]> [-ComputerName <String[]>] [-Passthru] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Revoke-VMConnectAccess cmdlet revokes access for one or more users to connect to one or more virtual machines. This cmdlet is intended for
use in providing other applications with the appropriate permissions required to initiate a session with Virtual Machine Connection. Examples
of such applications are Virtual Machine Manager.



<

RELATED LINKS






REMARKS

<

Examples


Example 1

PS C:\>Revoke-VMConnectAccess –VMName VM1 –UserName Contoso\John



This command revokes the access of user Contoso\John to connect to virtual machine VM1.