Get-OVIloSso
Syntax
Get-OVIloSso
[-InputObject] <Object>
[-RemoteConsoleOnly]
[-IloRestSession]
[-ApplianceConnection <Array>]
[<CommonParameters>]
Get-OVIloSso
[-InputObject] <Object>
[-IloRestSession]
[-SkipCertificateCheck]
[-ApplianceConnection <Array>]
[<CommonParameters>]
Description
Obtain an iLO SSO Token URL to authenticate to an iLO. If the server hardware is unsupported, the resulting URL will not use SSO and the iLO web interface will prompt for credentials.
Info
this is not supported on G7 or earlier servers.
The generated SSO object or URL can be used with other HPE libraries that support iLO session tokens.
Info
Minimum required privileges: Read-only. Know that your user account role within OneView will be mapped to a specific iLO role. Please review the HPE OneView online help for more information, searching for
"Mapping of SSO roles".
Examples
Example 1
Generate iLO SSO Objects for all managed server resources.
Example 2
Generate iLO SSO Object for the specified managed server resource.
Example 3
Generate iLO SSO Object for the specified managed server resource.
Example 4
Generate iLO SSO Object that can then be used with the HPERESTCmdlets.
Parameters
-InputObject <Object>
The Server Hardware or Server Profile resource object from Get-OVServer or Get-OVServerProfile.
| Aliases | Server |
|---|---|
| Required? | True |
| Position? | Named |
| Default value | |
| Accept pipeline input? | true (ByValue) |
| Accept wildcard characters? | False |
-RemoteConsoleOnly <SwitchParameter>
Generate an SSO URL Token for accessing the Remote Console.
| Aliases | None |
|---|---|
| Required? | False |
| Position? | Named |
| Default value | False |
| Accept pipeline input? | false |
| Accept wildcard characters? | False |
-IloRestSession <SwitchParameter>
Generate an HPRESTCmdlets compliant IloSession object.
| Aliases | None |
|---|---|
| Required? | False |
| Position? | Named |
| Default value | False |
| Accept pipeline input? | false |
| Accept wildcard characters? | False |
-SkipCertificateCheck <SwitchParameter>
[Obsolete] Parameter no longer used.
Skips certificate validation checks that include all validations such as expiration, revocation, trusted root authority, etc.
[WARNING]: Using this parameter is not secure and is not recommended. This switch is only intended to be used against known hosts using a self-signed certificate for testing purposes. Use at your own risk.
| Aliases | None |
|---|---|
| Required? | False |
| Position? | Named |
| Default value | False |
| Accept pipeline input? | false |
| Accept wildcard characters? | False |
-ApplianceConnection <Array>
Specify one or more [HPEOneView.Appliance.Connection] object(s) or Name property value(s).
| Aliases | Appliance |
|---|---|
| Required? | False |
| Position? | Named |
| Default value | (${Global:ConnectedSessions} | ? Default) |
| 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 (http://go.microsoft.com/fwlink/?LinkID=113216)
Input Types
Server Hardware resource object.
Server Profile resource object.
Return Values
SSO Url Object
Multiple SSO URL objects.