-
Notifications
You must be signed in to change notification settings - Fork 52
Set HPOVSanManager
Update SAN Manager configuration
Set-HPOVSanManager [-InputObject] <Object> [-Username] <String> [-Password] <Object>[ [-Hostname] <String>][ [-Port] <Int32>][ [-EnableSsl] <SwitchParameter>][ [-DisableSsl] <SwitchParameter>][ [-Async] <SwitchParameter>] [-ApplianceConnection] <Object> [<CommonParameters>]
Set-HPOVSanManager [-InputObject] <Object> [-Username] <String> [-Password] <Object>[ [-Hostname] <String>][ [-Port] <Int32>][ [-SnmpUserName] <String>][ [-SnmpAuthLevel] <String>][ [-SnmpAuthProtocol] <String>][ [-SnmpAuthPassword] <Object>][ [-SnmpPrivProtocol] <String>][ [-SnmpPrivPassword] <Object>][ [-Async] <SwitchParameter>] [-ApplianceConnection] <Object> [<CommonParameters>]
Updates an existing SAN Manager configuration. Can update the hostname/IP Address and credentials. At least one optional parameter must be provided.
-ApplianceConnection <Object>
Aliases [-Appliance]
Specify one HPOneView.Appliance.Connection object or Name property value. If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.
Default Value: ${Global:ConnectSessions} | ? Default
Aliases | None |
Required? | true |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | False |
-Async <SwitchParameter>
Use this parameter to immediately return the async task. By default, the Cmdlet will wait for the task to complete.
Aliases | None |
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-DisableSsl <SwitchParameter>
Enable Secure WBEM communications to Brocade SAN Network Advisor.
Aliases | None |
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-EnableSsl <SwitchParameter>
Enable Secure WBEM communications to Brocade SAN Network Advisor.
Aliases | None |
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Hostname <String>
Updated Hostname or IP Address of the SAN Manager.
Aliases | None |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-InputObject <Object>
Aliases [-name] Resource Object (from Get-HPOVSanManager) or Name of the SAN Manager to update. If specifying a resource Name, the ApplianceConnection parameter is required.
Aliases | name, Resource |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
-Password <Object>
Updated Password used to authenticate and manage the SAN Manager. Can either be a String or SecureString value.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Port <Int32>
Updated TCP Port of the SAN Manager.
Aliases | None |
Required? | false |
Position? | named |
Default value | 0 |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-SnmpAuthLevel <String>
The SNMPv3 Authentication Level. Allowed values are:
* None - No Security is required, only the SNMPv3 UserName is provided.
* AuthOnly - SNMPv3 Authentication Encryption Security Level only. Must also provide -SnmpAuthProtocol and -SnmpAuthPassword parameters.
* AuthAndPriv - SNMPv3 Authentication Encryption Security and Privacy Levels. Must also provide -SnmpAuthProtocol, -SnmpAuthPassword, -SnmpPrivProtocol and -SnmpPrivPassword parameters.
Aliases | None |
Required? | false |
Position? | named |
Default value | None |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-SnmpAuthPassword <Object>
SNMPv3 UserName Password. Can either be a String or SecureString value.
Aliases | None |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-SnmpAuthProtocol <String>
SNMPv3 Password Encryption Protocol. Allowed values are:
* SHA
* MD5
Aliases | None |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-SnmpPrivPassword <Object>
SNMPv3 Privacy Encryption Password. Can either be a String or SecureString value.
Aliases | None |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-SnmpPrivProtocol <String>
SNMPv3 Privacy Protocol. Allowed values are:
* AES
* DES
Aliases | None |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-SnmpUserName <String>
The SNMPv3 Community User Name.
Aliases | None |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Username <String>
Updated Username used to authenticate and manage the SAN Manager.
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.Storage.SanManager [System.Management.Automation.PSCustomObject]
SAN Manager resource from Get-HPOVSanManager
HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]
Update async task
-------------------------- EXAMPLE 1 --------------------------$task = Get-HPOVSanManager bna.domain.com -ApplianceConnection hpov.domain.com | Set-HPOVSanManager -hostname bna.newdomain.com | Wait-HPOVTaskComplete
Get the SAN Manager using Get-HPOVSanManager, and pipling the resource in order to update the hostname value.
-------------------------- EXAMPLE 2 --------------------------$task = Set-HPOVSanManager -name BNA.contoso.com -hostname bna.newdomain.com -ApplianceConnection hpov.domain.com | Wait-HPOVTaskComplete
Update the existing Brocade Network Advisor SAN Manager"s hostname with the new value.
-------------------------- EXAMPLE 3 --------------------------$task = Set-HPOVSanManager -name BNA.contoso.com -username newadmin -password updatedpassword -ApplianceConnection hpov.domain.com | Wait-HPOVTaskComplete
Update the existing Brocade Network Advisor SAN Manager"s username and password.
Update SAN Manager configuration
Set-HPOVSanManager [-InputObject] <Object> [-Username] <String> [-Password] <Object>[ [-Hostname] <String>][ [-Port] <Int32>][ [-EnableSsl] <SwitchParameter>][ [-DisableSsl] <SwitchParameter>][ [-Async] <SwitchParameter>] [-ApplianceConnection] <Object> [<CommonParameters>]
Set-HPOVSanManager [-InputObject] <Object> [-Username] <String> [-Password] <Object>[ [-Hostname] <String>][ [-Port] <Int32>][ [-SnmpUserName] <String>][ [-SnmpAuthLevel] <String>][ [-SnmpAuthProtocol] <String>][ [-SnmpAuthPassword] <Object>][ [-SnmpPrivProtocol] <String>][ [-SnmpPrivPassword] <Object>][ [-Async] <SwitchParameter>] [-ApplianceConnection] <Object> [<CommonParameters>]
Updates an existing SAN Manager configuration. Can update the hostname/IP Address and credentials. At least one optional parameter must be provided.
-ApplianceConnection <Object>
Aliases [-Appliance]
Specify one HPOneView.Appliance.Connection object or Name property value. If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.
Default Value: ${Global:ConnectSessions} | ? Default
Aliases | None |
Required? | true |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | False |
-Async <SwitchParameter>
Use this parameter to immediately return the async task. By default, the Cmdlet will wait for the task to complete.
Aliases | None |
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-DisableSsl <SwitchParameter>
Enable Secure WBEM communications to Brocade SAN Network Advisor.
Aliases | None |
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-EnableSsl <SwitchParameter>
Enable Secure WBEM communications to Brocade SAN Network Advisor.
Aliases | None |
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Hostname <String>
Updated Hostname or IP Address of the SAN Manager.
Aliases | None |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-InputObject <Object>
Aliases [-name] Resource Object (from Get-HPOVSanManager) or Name of the SAN Manager to update. If specifying a resource Name, the ApplianceConnection parameter is required.
Aliases | name, Resource |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
-Password <Object>
Updated Password used to authenticate and manage the SAN Manager. Can either be a String or SecureString value.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Port <Int32>
Updated TCP Port of the SAN Manager.
Aliases | None |
Required? | false |
Position? | named |
Default value | 0 |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-SnmpAuthLevel <String>
The SNMPv3 Authentication Level. Allowed values are:
* None - No Security is required, only the SNMPv3 UserName is provided.
* AuthOnly - SNMPv3 Authentication Encryption Security Level only. Must also provide -SnmpAuthProtocol and -SnmpAuthPassword parameters.
* AuthAndPriv - SNMPv3 Authentication Encryption Security and Privacy Levels. Must also provide -SnmpAuthProtocol, -SnmpAuthPassword, -SnmpPrivProtocol and -SnmpPrivPassword parameters.
Aliases | None |
Required? | false |
Position? | named |
Default value | None |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-SnmpAuthPassword <Object>
SNMPv3 UserName Password. Can either be a String or SecureString value.
Aliases | None |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-SnmpAuthProtocol <String>
SNMPv3 Password Encryption Protocol. Allowed values are:
* SHA
* MD5
Aliases | None |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-SnmpPrivPassword <Object>
SNMPv3 Privacy Encryption Password. Can either be a String or SecureString value.
Aliases | None |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-SnmpPrivProtocol <String>
SNMPv3 Privacy Protocol. Allowed values are:
* AES
* DES
Aliases | None |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-SnmpUserName <String>
The SNMPv3 Community User Name.
Aliases | None |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Username <String>
Updated Username used to authenticate and manage the SAN Manager.
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.Storage.SanManager [System.Management.Automation.PSCustomObject]
SAN Manager resource from Get-HPOVSanManager
HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]
Update async task
-------------------------- EXAMPLE 1 --------------------------$task = Get-HPOVSanManager bna.domain.com -ApplianceConnection hpov.domain.com | Set-HPOVSanManager -hostname bna.newdomain.com | Wait-HPOVTaskComplete
Get the SAN Manager using Get-HPOVSanManager, and pipling the resource in order to update the hostname value.
-------------------------- EXAMPLE 2 --------------------------$task = Set-HPOVSanManager -name BNA.contoso.com -hostname bna.newdomain.com -ApplianceConnection hpov.domain.com | Wait-HPOVTaskComplete
Update the existing Brocade Network Advisor SAN Manager's hostname with the new value.
-------------------------- EXAMPLE 3 --------------------------$task = Set-HPOVSanManager -name BNA.contoso.com -username newadmin -password updatedpassword -ApplianceConnection hpov.domain.com | Wait-HPOVTaskComplete
Update the existing Brocade Network Advisor SAN Manager's username and password.