Set HPOVLoginMessage - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Set-HPOVLoginMessage

Set appliancce Login Message.

SYNTAX

Set-HPOVLoginMessage [-Message] <String> [-Acknowledgment] <Boolean> [-ApplianceConnection] <Object> [<CommonParameters>]

Detailed Description

Configure the Login Message for the connected appliance(s). You can also set the Acknowledgement to be required.

Parameters

-Acknowledgment <Boolean>

Set to True if the login message should be acknowledged before authentication completes. If set to True, the COnnect-HPOVMgmt Cmdlet will prompt the user to acknowledge the message, if -LoginAcknowledge is not provided in the Cmdlet parameters.

Aliases None
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters?    False

-ApplianceConnection <Object>

Aliases [-Appliance]

Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).

Default Value: ${Global:ConnectedSessions} | ? Default

Aliases Appliance
Required? true
Position? named
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? false
Accept wildcard characters?    False

-Message <String>

The login message to set.

Aliases None
Required? true
Position? named
Default value
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 (http://go.microsoft.com/fwlink/?LinkID=113216)

Input Types

None. You cannot pipe objects to this Cmdlet.

Return Values

HPOneView.Appliance.LoginMessage

If successful, returns a resource

Examples

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

Set-HPOVLoginMessage -Message "************************************ >> ***** WARNING ******** >> ************************************ >> Updated Message: This management appliance is a company owned asset and provided for the exclusive use of authorized personnel. Unauthorized use or >> abuse of this system may lead to corrective action including termination, civil and/or criminal penalties." >> -Acknowledgement $true

Set the Login Message from all connected appliances.

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

$Message = "************************************ >> ***** WARNING ******** >> ************************************ >> Updated Message: This management appliance is a company owned asset and provided for the exclusive use of authorized personnel. Unauthorized use or >> abuse of this system may lead to corrective action including termination, civil and/or criminal penalties." >> Set-HPOVLoginMessage -Message $Message -Acknowledgment $true

Set the Login Message from the specified appliance connection.

Related Links


Top

HPE OneView 4.00 Library

Set-HPOVLoginMessage

Set appliancce Login Message.

SYNTAX

Set-HPOVLoginMessage [-Message] <String> [-Acknowledgment] <Boolean> [-ApplianceConnection] <Object> [<CommonParameters>]

Detailed Description

Configure the Login Message for the connected appliance(s). You can also set the Acknowledgement to be required.

Parameters

-Acknowledgment <Boolean>

Set to True if the login message should be acknowledged before authentication completes. If set to True, the COnnect-HPOVMgmt Cmdlet will prompt the user to acknowledge the message, if -LoginAcknowledge is not provided in the Cmdlet parameters.

Aliases None
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters?    False

-ApplianceConnection <Object>

Aliases [-Appliance]

Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).

Default Value: ${Global:ConnectedSessions} | ? Default

Aliases Appliance
Required? true
Position? named
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? false
Accept wildcard characters?    False

-Message <String>

The login message to set.

Aliases None
Required? true
Position? named
Default value
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 (http://go.microsoft.com/fwlink/?LinkID=113216)

Input Types

None. You cannot pipe objects to this Cmdlet.

Return Values

HPOneView.Appliance.LoginMessage

If successful, returns a resource

Examples

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

Set-HPOVLoginMessage -Message '************************************ >> ***** WARNING ******** >> ************************************ >> Updated Message: This management appliance is a company owned asset and provided for the exclusive use of authorized personnel. Unauthorized use or >> abuse of this system may lead to corrective action including termination, civil and/or criminal penalties.' >> -Acknowledgement $true

Set the Login Message from all connected appliances.

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

$Message = '************************************ >> ***** WARNING ******** >> ************************************ >> Updated Message: This management appliance is a company owned asset and provided for the exclusive use of authorized personnel. Unauthorized use or >> abuse of this system may lead to corrective action including termination, civil and/or criminal penalties.' >> Set-HPOVLoginMessage -Message $Message -Acknowledgment $true

Set the Login Message from the specified appliance connection.

Related Links


Top
⚠️ **GitHub.com Fallback** ⚠️