Loading...

Get-CVVMlist

The Get-CVVMlist cmdlet returns the virtual machines (VMs) in your CommCell environment.

If you do not provide any parameters, Get-CVVMlist returns all of the VMs in your CommCell environment.

Before you can use this cmdlet, you must log in to your CommCell environment using the Connect-CVServer cmdlet. For more information, see Connecting to a CommCell Environment with PowerShell.

Syntax

Get-CVVMlist
   [-Protected]
   [-UnProtected]
   [[-VMName] <Object>]
   [[-ClientName] <Object>]
   [<CommonParameters>]

Optional Parameters

-Protected

Shows only protected entities.

  • Type: SwitchParameter
  • Aliases: None
  • Default value: False
  • Accepts pipeline input: False
  • Accepts wildcard characters: False
  • Position: 1

-UnProtected

Shows only unprotected entities.

  • Type: SwitchParameter
  • Aliases: None
  • Default value: False
  • Accepts pipeline input: False
  • Accepts wildcard characters: False
  • Position: 2

-VMName

The name of the virtual machine (VM).

  • Value: Object
  • Aliases: None
  • Default value: None
  • Accepts pipeline input: False
  • Accepts wildcard characters: False
  • Position: 3

-ClientName

The name of the client as it appears in the CommCell Console.

  • Type: Object
  • Aliases: None
  • Default value: None
  • Accepts pipeline input: True (ByValue)
  • Accepts wildcard characters: False
  • Position: 4

<CommonParameters>

A collection of parameters that you can use with any cmdlet.

The following Microsoft PowerShell common parameters are supported:

  • Verbose
  • Debug
  • ErrorAction
  • ErrorVariable
  • WarningAction
  • WarningVariable
  • OutBuffer
  • PipelineVariable
  • OutVariable

The following Microsoft PowerShell mitigation parameters are supported:

  • WhatIf
  • Confirm

For more information, see About CommonParameters in the Microsoft PowerShell documentation.

Inputs

None

This cmdlet does not support any inputs.

Outputs

None

This cmdlet does not return any outputs.

Examples

Example 1: List All of the VMs in the CommCell Environment

The following example returns a list of all of the virtual machines (VMs) in your CommCell environment.

Get-CVVMlist

Example 2: List All of the UnProtected VMs in the CommCell Environment

The following example returns a list of all of the unprotected virtual machines (VMs) in your CommCell environment.

Get-CVVMlist -UnProtected

Last modified: 3/12/2019 6:45:22 PM