Get-RubrikHyperVMount
SYNOPSIS
Connects to Rubrik and retrieves details on mounts for a HyperV VM
SYNTAX
DESCRIPTION
The Get-RubrikHyperVMount cmdlet will accept a VM id and return details on any mount operations that are active within Rubrik Note that this function requires the VM ID value, not the name of the virtual machine, since virtual machine names are not unique. It is suggested that you first use Get-RubrikHyperVVM to narrow down the one or more virtual machines you wish to query, and then pipe the results to Get-RubrikHyperVMount.
EXAMPLES
EXAMPLE 1
This will return details on all mounted virtual machines.
EXAMPLE 2
This will return details on mount id "11111111-2222-3333-4444-555555555555".
EXAMPLE 3
This will return details for any mounts found using the id value from a virtual machine named "Server1" as a base reference.
EXAMPLE 4
This will return details for any mounts found using the virtual machine id of 'VirtualMachine:::aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee-vm-12345' as a base reference.
PARAMETERS
-id
Rubrik's id of the mount
-VMID
Filters live mounts by VM ID
-Server
Rubrik server IP or FQDN
-api
API version
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
OUTPUTS
NOTES
Written by Mike Preston for community usage Twitter: @mwpreston GitHub: mwpreston
RELATED LINKS
Last updated