-
Notifications
You must be signed in to change notification settings - Fork 52
Remove HPOVNetworkSet
Remove a network set.
Remove-HPOVNetworkSet [-NetworkSet] <Object> [-ApplianceConnection] <Object>[ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]
Delete a network set and its corresponding default connection type.
-ApplianceConnection <Object>
Aliases [-Appliance]
Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s). If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.
Default Value: ${Global:ConnectedSessions} | ? Default
Aliases | Appliance |
Required? | true |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | False |
-Confirm <SwitchParameter>
Aliases | cf |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-NetworkSet <Object>
Aliases [-name, -uri] The network set object(s), name(s) or uri(s) to be deleted. If providing a URI, you must specify an Applinace Connection.
Aliases | uri, name |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
-WhatIf <SwitchParameter>
Aliases | wi |
Required? | false |
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.Networking.NetworkSet [System.Management.Automation.PSCustomObject]
Network Set resource object
HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]
Removal task
-------------------------- EXAMPLE 1 --------------------------$task = Remove-HPOVNetworkSet -networkSet "MyNetSet" Wait-HPOVTaskComplete $task
Remove the network set specifed by name. Wait for remove to complete.
-------------------------- EXAMPLE 2 --------------------------$netSet = Get-HPOVNetworkSet -name "MyNetSet" | Remove-HPOVNetwork
Remove the specified network set.
-------------------------- EXAMPLE 3 --------------------------Get-HPOVNetworkSet | Remove-HPOVNetworkSet
Search for all network sets and remove them from appliance.
Remove a network set.
Remove-HPOVNetworkSet [-NetworkSet] <Object> [-ApplianceConnection] <Object>[ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]
Delete a network set and its corresponding default connection type.
-ApplianceConnection <Object>
Aliases [-Appliance]
Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s). If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.
Default Value: ${Global:ConnectedSessions} | ? Default
Aliases | Appliance |
Required? | true |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | False |
-Confirm <SwitchParameter>
Aliases | cf |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-NetworkSet <Object>
Aliases [-name, -uri] The network set object(s), name(s) or uri(s) to be deleted. If providing a URI, you must specify an Applinace Connection.
Aliases | uri, name |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
-WhatIf <SwitchParameter>
Aliases | wi |
Required? | false |
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.Networking.NetworkSet [System.Management.Automation.PSCustomObject]
Network Set resource object
HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]
Removal task
-------------------------- EXAMPLE 1 --------------------------$task = Remove-HPOVNetworkSet -networkSet "MyNetSet" Wait-HPOVTaskComplete $task
Remove the network set specifed by name. Wait for remove to complete.
-------------------------- EXAMPLE 2 --------------------------$netSet = Get-HPOVNetworkSet -name "MyNetSet" | Remove-HPOVNetwork
Remove the specified network set.
-------------------------- EXAMPLE 3 --------------------------Get-HPOVNetworkSet | Remove-HPOVNetworkSet
Search for all network sets and remove them from appliance.