< Back
Get-HPERedfishUriFromOdataId
Post
NAME Get-HPERedfishUriFromOdataId
SYNOPSIS
Gets entire URI path from provided Odataid and root URI in Session variable.
SYNTAX
Get-HPERedfishUriFromOdataId [-Odataid] <String> [[-Session] <PSObject>] [<CommonParameters>]
DESCRIPTION
Gets entire URI path from provided Odataid and root URI in Session variable.
PARAMETERS
-Odataid <String>
Odataid of data of which completer URI is to be obtained.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Session <PSObject>
Session PSObject returned by executing Connect-HPERedfish cmdlet. It must have RootURI to create the complete
URI along with the Odataid parameter.
Required? false
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
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
System.String
You can pipe the Odataid parameter to Get-HPERedfishUriFromOdataid.
OUTPUTS
System.String
Get-HPERedfishUriFromOdataid returns a string that has the complete URI derived from the Odataid and the RootUri
from the session object.
NOTES
See typical usage examples in the HPERedfishExamples.ps1 file installed with this module.
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-HPERedfishUriFromOdataid -Odataid /redfish/v1/systems/1/ -Session $s
https://192.184.217.212/redfish/v1/systems/1
This example shows the resultant URI obtained from the Odataid provided and the RootURI from the session object.
RELATED LINKS
http://www.hpe.com/servers/powershell
SYNOPSIS
Gets entire URI path from provided Odataid and root URI in Session variable.
SYNTAX
Get-HPERedfishUriFromOdataId [-Odataid] <String> [[-Session] <PSObject>] [<CommonParameters>]
DESCRIPTION
Gets entire URI path from provided Odataid and root URI in Session variable.
PARAMETERS
-Odataid <String>
Odataid of data of which completer URI is to be obtained.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Session <PSObject>
Session PSObject returned by executing Connect-HPERedfish cmdlet. It must have RootURI to create the complete
URI along with the Odataid parameter.
Required? false
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
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
System.String
You can pipe the Odataid parameter to Get-HPERedfishUriFromOdataid.
OUTPUTS
System.String
Get-HPERedfishUriFromOdataid returns a string that has the complete URI derived from the Odataid and the RootUri
from the session object.
NOTES
See typical usage examples in the HPERedfishExamples.ps1 file installed with this module.
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-HPERedfishUriFromOdataid -Odataid /redfish/v1/systems/1/ -Session $s
https://192.184.217.212/redfish/v1/systems/1
This example shows the resultant URI obtained from the Odataid provided and the RootURI from the session object.
RELATED LINKS
http://www.hpe.com/servers/powershell