-
Notifications
You must be signed in to change notification settings - Fork 52
Set HPOVEnclosureGroup
Modify an existing enclosure group policy.
Set-HPOVEnclosureGroup [-InputObject] <Object> [-Name] <String> [-ConfigurationScript] <String> [-PowerRedundantMode] <String>[ [-ApplianceConnection] <Object>] [<CommonParameters>]
An enclosure group is a logical resource that defines a standard configuration for member logical enclosures. Use this Cmdlet to update the configuration policy for a specific enclosure group resource.
Required permissions: Server administrator or Infrastructure administrator
-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? | False |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | False |
-ConfigurationScript <String>
An Onboard Administrator CLI Script. Only applicable for HPE BladeSystem C-Class.
Aliases | None |
Required? | True |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-InputObject <Object>
An enclosure group resource from Get-HPOVEnclosureGroup.
Aliases | EnclosureGroup |
Required? | True |
Position? | named |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
-Name <String>
Specify a new resource name.
Aliases | None |
Required? | True |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-PowerRedundantMode <String>
The Power Redundancy Mode to set when an Enclosure is added to the appliance.
Allowed Values:
* RedundantPowerFeed - Provides N+N Power Redundancy Configuration
* RedundantPowerSupply - Provided N+1 Power Redundancy Configuration
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)
HPOneView.Servers.EnclosureGroup [System.Management.Automation.PSCustomObject]
Enclosure group resource from Get-HPOVEnclosureGroup.
HPOneView.Servers.EnclosureGroup [System.Management.Automation.PSCustomObject]
The updated enclosure group resource.
-------------------------- EXAMPLE 1 --------------------------$EnclosureGroup = Get-HPOVEnclosureGroup -Name ProdEG1 -ErrorAction Stop Set-HPOVEnclosureGroup -InputObject $EnclosureGroup -Name VirtProdEG1
Change the name of the provided enclosure group resource.
-------------------------- EXAMPLE 2 --------------------------$UpdatedConfigScript = 'REMOVE USER "admin" ADD USER "ops" "*********" SET USER CONTACT "ops" "MySecretPassword" SET USER FULLNAME "ops" "" SET USER ACCESS "ops" OPERATOR ASSIGN SERVER 1-16 "ops" ENABLE USER "ops" hponcfg all >> end_marker end_marker' Get-HPOVEnclosureGroup -Name EG1 -ErrorAction Stop | Set-HPOVEnclosureGroup -ConfigurationScript $UpdatedConfigScript
Update the configuration script of the provided enclosure group.
Modify an existing enclosure group policy.
Set-HPOVEnclosureGroup [-InputObject] <Object> [-Name] <String> [-ConfigurationScript] <String> [-PowerRedundantMode] <String>[ [-ApplianceConnection] <Object>] [<CommonParameters>]
An enclosure group is a logical resource that defines a standard configuration for member logical enclosures. Use this Cmdlet to update the configuration policy for a specific enclosure group resource.
Required permissions: Server administrator or Infrastructure administrator
-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? | False |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | False |
-ConfigurationScript <String>
An Onboard Administrator CLI Script. Only applicable for HPE BladeSystem C-Class.
Aliases | None |
Required? | True |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-InputObject <Object>
An enclosure group resource from Get-HPOVEnclosureGroup.
Aliases | EnclosureGroup |
Required? | True |
Position? | named |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
-Name <String>
Specify a new resource name.
Aliases | None |
Required? | True |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-PowerRedundantMode <String>
The Power Redundancy Mode to set when an Enclosure is added to the appliance.
Allowed Values:
* RedundantPowerFeed - Provides N+N Power Redundancy Configuration
* RedundantPowerSupply - Provided N+1 Power Redundancy Configuration
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)
HPOneView.Servers.EnclosureGroup [System.Management.Automation.PSCustomObject]
Enclosure group resource from Get-HPOVEnclosureGroup.
HPOneView.Servers.EnclosureGroup [System.Management.Automation.PSCustomObject]
The updated enclosure group resource.
-------------------------- EXAMPLE 1 --------------------------$EnclosureGroup = Get-HPOVEnclosureGroup -Name ProdEG1 -ErrorAction Stop Set-HPOVEnclosureGroup -InputObject $EnclosureGroup -Name VirtProdEG1
Change the name of the provided enclosure group resource.
-------------------------- EXAMPLE 2 --------------------------$UpdatedConfigScript = 'REMOVE USER "admin" ADD USER "ops" "*********" SET USER CONTACT "ops" "MySecretPassword" SET USER FULLNAME "ops" "" SET USER ACCESS "ops" OPERATOR ASSIGN SERVER 1-16 "ops" ENABLE USER "ops" hponcfg all >> end_marker end_marker' Get-HPOVEnclosureGroup -Name EG1 -ErrorAction Stop | Set-HPOVEnclosureGroup -ConfigurationScript $UpdatedConfigScript
Update the configuration script of the provided enclosure group.