CmdID

CmdID / PowerShell / Cmdlets / Revoke

Revoke-VMConnectAccess

Revokes access for one or more users to connect to a one or more virtual machines. Windows Server PowerShell reference

From the Windows Server PowerShell reference 9 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

9 in the Windows Server PowerShell reference
-CimSessionRuns the cmdlet in a remote session or on a remote computer.
-ComputerNameSpecifies one or more Hyper-V hosts on which this cmdlet operates.
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-CredentialSpecifies one or more user accounts that have permission to perform this action.
-PassthruSpecifies that a VMConnectAce is to be passed through to the pipeline for each revocation of access.
-UserName, -UserId, -SidSpecifies the user or users to whom access to connect to a virtual machine or machines is to be revoked.
-VMIdSpecifies the unique identifier of a virtual machine or machines to which connect access is to be revoked.
-VMNameSpecifies the name or names of the virtual machine or machines to which access is being revoked.
-WhatIf, -wiShows what would happen if the cmdlet runs.