< Back

Get-OVGDStorageVolume

Mon Jan 13, 2020 8:57 pm

NAME Get-OVGDStorageVolume



SYNOPSIS

Retrieves the Storage Volumes connected to the Global Dashboard instance





SYNTAX

Get-OVGDStorageVolume [-Server <Object>] [-Count <Object>] [<CommonParameters>]



Get-OVGDStorageVolume [-Server <Object>] [-StorageVolumeName <Object>] [-PrimaryKey <Object>] [-ProvisioningType

<Object>] [-TemplateConsistency <Object>] [-State <Object>] [-Status <Object>] [-UserQuery <Object>] [-Count

<Object>] [<CommonParameters>]



Get-OVGDStorageVolume [-Server <Object>] [-Id <Object>] [<CommonParameters>]





DESCRIPTION

This function will retrieve the Storage Volumes on the specified Global Dashboard instance





PARAMETERS

-Server <Object>

The Global Dashboard to retrieve Storage Volumes from



Required? false

Position? named

Default value $Global:OVGDPSServer

Accept pipeline input? false

Accept wildcard characters? false



-Id <Object>

The Id of the Storage Volume to retrieve



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-StorageVolumeName <Object>

Filter on the Name of the Storage Volume to retrieve. Note that we search for an exact match



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-PrimaryKey <Object>

Filter on the PrimaryKey of the Storage Volume to retrieve. Note that we search for an exact match



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ProvisioningType <Object>

Filter on the Provisioning Type of the Storage Volume to retrieve. Note that we search for an exact match



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-TemplateConsistency <Object>

Filter on the Template Consistency of the Storage Volume to retrieve. Note that we search for an exact match



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-State <Object>

Filter on the State of the Storage Volume to retrieve. Note that we search for an exact match



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Status <Object>

Filter on the Status of the Storage Volume to retrieve. Note that we search for an exact match



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-UserQuery <Object>

Query string used for full text search



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Count <Object>

The count of Storage Volumes to retrieve, defaults to 25



Required? false

Position? named

Default value 25

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



NOTES





Info

Author : Rudi Martinsen / Intility AS

Date : 24/04-2019

Version : 0.4.0

Revised : 25/04-2019

Changelog:

0.4.0 -- Reworked output

0.3.0 -- Changed Entity parameter to Id, adding Name alias

0.2.0 -- Added support for querying, changed warning text when result is bigger than count



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



PS C:\\>Get-OVGDStorageVolume



Lists the Storage Volumes on the connected Global Dashboard instance









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-OVGDStorageVolume -Id xxxxxxxx-xxxx-xxxx-xxxx-54e195f27f36



Lists the Storage Volume on the connected Global Dashboard instance with the specified Id









-------------------------- EXAMPLE 3 --------------------------



PS C:\\>Get-OVGDStorageVolume -TemplateConsistency Inconsistent



Lists the Storage Volume on the connected Global Dashboard instance with an Inconsistent Template Consistency











RELATED LINKS

https://github.com/rumart/GlobalDashboardPS

https://developer.hpe.com/blog/accessin ... hboard-api

https://rudimartinsen.com/2019/04/23/hp ... ll-module/