Get-RubrikMount
SYNOPSIS
Connects to Rubrik and retrieves details on mounts for a VM
SYNTAX
DESCRIPTION
The Get-RubrikMount cmdlet will accept a VM id and return details on any mount operations that are active within Rubrik Due to the nature of names not being unique 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-RubrikVM to narrow down the one or more virtual machines you wish to query, and then pipe the results to Get-RubrikMount.
EXAMPLES
EXAMPLE 1
This will return details on all mounted virtual machines.
EXAMPLE 2
This will retrieve all mounted virtual machines with additional details
EXAMPLE 3
This will return details on mount id "11111111-2222-3333-4444-555555555555".
EXAMPLE 4
This will return details for any mounts found using the id value from a virtual machine named "Server1" as a base reference.
EXAMPLE 5
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
-DetailedObject
DetailedObject will retrieved the detailed VM Mount object, the default behavior of the API is to only retrieve a subset of the full VM Mount object unless we query directly by ID. Using this parameter does affect performance as more data will be retrieved and more API-queries will be performed.
-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 Chris Wahl for community usage Twitter: @ChrisWahl GitHub: chriswahl
RELATED LINKS
https://rubrik.gitbook.io/rubrik-sdk-for-powershell/command-documentation/reference/get-rubrikmount
Last updated