< Back
Get-OVGDServerProfile
Post
NAME Get-OVGDServerProfile
SYNOPSIS
Retrieves the Server profiles connected to the Global Dashboard instance
SYNTAX
Get-OVGDServerProfile [-Server <Object>] [-Count <Object>] [<CommonParameters>]
Get-OVGDServerProfile [-Server <Object>] [-ServerProfileName <Object>] [-Appliance <Object>] [-SerialNumber
<Object>] [-ServerName <Object>] [-TemplateCompliance <Object>] [-Status <Object>] [-State <Object>] [-UserQuery
<Object>] [-Count <Object>] [<CommonParameters>]
Get-OVGDServerProfile [-Server <Object>] [-Id <Object>] [<CommonParameters>]
DESCRIPTION
This function will retrieve the Server profiles on the specified Global Dashboard instance
PARAMETERS
-Server <Object>
The Global Dashboard to retrieve Server Profiles from
Required? false
Position? named
Default value $Global:OVGDPSServer
Accept pipeline input? false
Accept wildcard characters? false
-Id <Object>
The Id of the Server Profile to retrieve
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ServerProfileName <Object>
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Appliance <Object>
Filter on the Appliance of the Server Profile 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 the SerialNumber of the Server Profile to retrieve. Note that we search for an exact match
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ServerName <Object>
Filter on the ServerName of the Server Profile to retrieve. Note that we search for an exact match
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-TemplateCompliance <Object>
Filter on the Template Compliance of the Server Profile 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 Server Profile 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 the Server Profile 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 Server Profile 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.0
Revised : 25/04-2019
Changelog:
0.5.0 -- Reworked output
0.4.0 -- Changed Entity parameter to Id, adding Name alias
0.3.0 -- Added support for querying and changed warning when result is bigger than count
0.2.2 -- Fixed bug in help text and added link
0.2.1 -- Added help text
0.2.0 -- Added count param
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-OVGDServerProfile
Retrieves all Server Profiles connected to the Global Dashboard instance
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-OVGDServerProfile -Id xxxxxxxx-xxxx-xxxx-xxxx-54e195f27f36
Retrieves the specific Server Profile with the specified ID
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Get-OVGDServerProfile -ServerName my-server-name-001
Searches for a Server Profile associated with the specified servername
-------------------------- EXAMPLE 4 --------------------------
PS C:\\>Get-OVGDServerProfile -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/
SYNOPSIS
Retrieves the Server profiles connected to the Global Dashboard instance
SYNTAX
Get-OVGDServerProfile [-Server <Object>] [-Count <Object>] [<CommonParameters>]
Get-OVGDServerProfile [-Server <Object>] [-ServerProfileName <Object>] [-Appliance <Object>] [-SerialNumber
<Object>] [-ServerName <Object>] [-TemplateCompliance <Object>] [-Status <Object>] [-State <Object>] [-UserQuery
<Object>] [-Count <Object>] [<CommonParameters>]
Get-OVGDServerProfile [-Server <Object>] [-Id <Object>] [<CommonParameters>]
DESCRIPTION
This function will retrieve the Server profiles on the specified Global Dashboard instance
PARAMETERS
-Server <Object>
The Global Dashboard to retrieve Server Profiles from
Required? false
Position? named
Default value $Global:OVGDPSServer
Accept pipeline input? false
Accept wildcard characters? false
-Id <Object>
The Id of the Server Profile to retrieve
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ServerProfileName <Object>
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Appliance <Object>
Filter on the Appliance of the Server Profile 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 the SerialNumber of the Server Profile to retrieve. Note that we search for an exact match
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ServerName <Object>
Filter on the ServerName of the Server Profile to retrieve. Note that we search for an exact match
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-TemplateCompliance <Object>
Filter on the Template Compliance of the Server Profile 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 Server Profile 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 the Server Profile 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 Server Profile 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.0
Revised : 25/04-2019
Changelog:
0.5.0 -- Reworked output
0.4.0 -- Changed Entity parameter to Id, adding Name alias
0.3.0 -- Added support for querying and changed warning when result is bigger than count
0.2.2 -- Fixed bug in help text and added link
0.2.1 -- Added help text
0.2.0 -- Added count param
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-OVGDServerProfile
Retrieves all Server Profiles connected to the Global Dashboard instance
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-OVGDServerProfile -Id xxxxxxxx-xxxx-xxxx-xxxx-54e195f27f36
Retrieves the specific Server Profile with the specified ID
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Get-OVGDServerProfile -ServerName my-server-name-001
Searches for a Server Profile associated with the specified servername
-------------------------- EXAMPLE 4 --------------------------
PS C:\\>Get-OVGDServerProfile -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/