-
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>
Return async task that is created immediately, and do not wait for it 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 --------------------------PS C:\> $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 --------------------------PS C:\> $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 --------------------------PS C:\> $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 [-Resource] <Object> [-Hostname] <String> [-Port] <Int32> [-Username] <String> [-Password] <String> [-ApplianceConnection] <Object>[ [-EnableSsl] <SwitchParameter>][ [-DisableSsl] <SwitchParameter>] [<CommonParameters>]
Set-HPOVSanManager [-Resource] <Object> [-Hostname] <String> [-Port] <Int32> [-Username] <String> [-Password] <String> [-ApplianceConnection] <Object> [-SnmpUserName] <String> [-SnmpAuthLevel] <String> [-SnmpAuthProtocol] <String> [-SnmpAuthPassword] <String> [-SnmpPrivProtocol] <String> [-SnmpPrivPassword] <String> [<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 | Appliance |
Required? | true |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | true (ByPropertyName) |
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? | true |
Position? | 1 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Password <String>
Updated Password used to authenticate and manage the SAN Manager.
Aliases | None |
Required? | true |
Position? | 4 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Port <Int32>
Updated TCP Port of the SAN Manager.
Aliases | None |
Required? | true |
Position? | 2 |
Default value | 0 |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Resource <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 |
Required? | true |
Position? | 0 |
Default value | |
Accept pipeline input? | true (ByValue) |
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? | true |
Position? | named |
Default value | None |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-SnmpAuthPassword <String>
SNMPv3 UserName Password.
Aliases | None |
Required? | true |
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? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-SnmpPrivPassword <String>
SNMPv3 Privacy Encryption Password.
Aliases | None |
Required? | true |
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? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-SnmpUserName <String>
The SNMPv3 Community User Name.
Aliases | None |
Required? | true |
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? | 3 |
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 --------------------------PS C:\> $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 --------------------------PS C:\> $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 --------------------------PS C:\> $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 [-Name] <Name>[ [-Hostname] <Hostname>][ [-Port] <Port>][ [-Username] <Username>][ [-Password] <Password>] [<CommonParameters>]
Updates an existing SAN Manager configuration. Can update the hostname/IP Address and credentials. At least one optional parameter must be provided.
-Name <Name>
Name of the SAN Manager to update.
Aliases | None. |
Required? | true |
Position? | 1 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-Hostname <Hostname>
Updated Hostname or IP Address of the SAN Manager.
Aliases | None. |
Required? | false |
Position? | 2 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-Port <Port>
Updated TCP Port of the SAN Manager.
Aliases | None. |
Required? | false |
Position? | 3 |
Default value | 0 |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-Username <Username>
Updated Username used to authenticate and manage the SAN Manager.
Aliases | None. |
Required? | false |
Position? | 4 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-Password <Password>
Updated Password used to authenticate and manage the SAN Manager.
Aliases | None. |
Required? | false |
Position? | 5 |
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.TaskResource [System.Management.Automation.PSCustomObject]
Update async task.
-------------------------- EXAMPLE 1 --------------------------PS C:\> $task = Set-HPOVSanManager -name BNA.contoso.com -hostname bna.newdomain.com PS C:\> Wait-HPOVTaskComplete $task
Update the existing Brocade Network Advisor SAN Manager's hostname with the new value.
-------------------------- EXAMPLE 2 --------------------------PS C:\> $task = Set-HPOVSanManager -name BNA.contoso.com -username newadmin -password updatedpassword PS C:\> Wait-HPOVTaskComplete $task
Update the existing Brocade Network Advisor SAN Manager's username and password.