-
Notifications
You must be signed in to change notification settings - Fork 52
Set HPOVApplianceCurrentSecurityMode
Change the appliance current security mode.
Set-HPOVApplianceCurrentSecurityMode [-SecurityMode] <HPOVApplianceAvailableSecurityMode>[ [-ApplianceConnection] <Array>] [-WhatIf] <> [-Confirm] <> [<CommonParameters>]
Use this Cmdlet to change the current security mode (Legacy, FIPS or CNSA) of the appliance. Before modifying the appliance security mode, a compatibility report should be run using the Show-HPOVApplianceSecurityModeCompatibilityReport. When changing active security mode will require an immediate appliance reboot.
-ApplianceConnection <Array>
Aliases [-Appliance]
Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).
Default Value: ${Global:ConnectedSessions} | ? Default
Aliases | Appliance |
Required? | False |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | False |
-Confirm <>
Aliases | cf |
Required? | |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-SecurityMode <HPOVApplianceAvailableSecurityMode>
Specify the Security Mode to change the appliance to by using Get-HPOVApplianceAvailableSecurityMode.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
-WhatIf <>
Aliases | wi |
Required? | |
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)
HPOneView.Appliance.SecurityMode
The specified applinace security mode from Get-HPOVApplianceAvailableSecurityMode.
HPOneView.Appliance.SecurityMode
After appliance reboots, the appliance current security mode is returned.
-------------------------- EXAMPLE 1 --------------------------Get-HPOVApplianceAvailableSecurityMode -ModeName CNSA | Set-HPOVApplianceCurrentSecurityMode
Put the appliance into CNSA mode. After confirmation prompt, appliance will immediately reboot.