< Back

Get-OVGDServerHardware

Mon Jan 13, 2020 8:54 pm

NAME Get-OVGDServerHardware



SYNOPSIS

Retrieves the Server hardware connected to the Global Dashboard instance





SYNTAX

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



Get-OVGDServerHardware [-Server <Object>] [-ServerName <Object>] [-SerialNumber <Object>] [-Appliance <Object>]

[-Status <Object>] [-State <Object>] [-ILO <Object>] [-UserQuery <Object>] [-Count <Object>] [<CommonParameters>]



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





DESCRIPTION

This function will retrieve the Server hardware on the specified Global Dashboard instance





PARAMETERS

-Server <Object>

The Global Dashboard to retrieve Server Hardware from



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Id <Object>

The Id of the Hardware to retrieve



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ServerName <Object>

Filter on the ServerName of hardware to retrieve. Note that we search for an exact match



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-SerialNumber <Object>

Filter on SerialNumber of hardware to retrieve. Note that we search for an exact match



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Appliance <Object>

Filter on Appliance of hardware 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 Status of hardware 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 State of hardware to retrieve. Note that we search for an exact match



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ILO <Object>

Filter on ILO Version (iLO4 / iLO5) of hardware 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 hardware 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 : 25/03-2019

Version : 0.5.1

Revised : 25/04-2019

Changelog:

0.5.0 -- Reworked output, fixed missing query for state

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

0.3.2 -- Updated help text

0.3.1 -- Changed message when result is bigger than requested count

0.3.0 -- Adding support for query

0.2.2 -- Fixed minor bug in help text, added link

0.2.1 -- Added help text

0.2.0 -- Added count param



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



PS C:\\>Get-OVGDServerHardware



Retrieves all server hardware connected to the Global Dashboard instance









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



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



Retrieves the specific Server Hardware with the specified ID









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



PS C:\\>Get-OVGDServerHardware -ServerName my-server-name-001



Searches for a server with the specified servername









-------------------------- EXAMPLE 4 --------------------------



PS C:\\>Get-OVGDServerHardware -UserQuery "Proliant DL360"



Performs a full text search and matches all attributes for the specified string











RELATED LINKS

https://github.com/rumart/GlobalDashboardPS

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

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