< Back

Find-NsxWhereVMUsed

Sat Jan 18, 2020 9:01 pm

NAME Find-NsxWhereVMUsed



SYNOPSIS

Determines what what NSX Security Groups or Firewall Rules a given VM is

defined in.





SYNTAX

Find-NsxWhereVMUsed [-VM] <VirtualMachineInterop> [[-Connection] <PSObject>] [<CommonParameters>]





DESCRIPTION

Determining what NSX Security Groups or Firewall Rules a given VM is

defined in is difficult from the UI.



This cmdlet provides this simple functionality.





PARAMETERS

-VM <VirtualMachineInterop>



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-Connection <PSObject>

PowerNSX Connection object



Required? false

Position? 2

Default value $defaultNSXConnection

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-VM web01 | Where-NsxVMUsed















RELATED LINKS