-
Notifications
You must be signed in to change notification settings - Fork 52
Set HPOVLoginMessage
Set appliancce Login Message.
Set-HPOVLoginMessage [-Message] <String> [-Acknowledgment] <Boolean> [-ApplianceConnection] <Object> [<CommonParameters>]
Configure the Login Message for the connected appliance(s). You can also set the Acknowledgement to be required.
-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)
None. You cannot pipe objects to this Cmdlet.
HPOneView.Appliance.LoginMessage
If successful, returns a resource
-------------------------- 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.
Set appliancce Login Message.
Set-HPOVLoginMessage [-Message] <String> [-Acknowledgment] <Boolean> [-ApplianceConnection] <Object> [<CommonParameters>]
Configure the Login Message for the connected appliance(s). You can also set the Acknowledgement to be required.
-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)
None. You cannot pipe objects to this Cmdlet.
HPOneView.Appliance.LoginMessage
If successful, returns a resource
-------------------------- 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.