Remove HPOVLdapGroup - HewlettPackard/POSH-HPEOneView GitHub Wiki
Remove Directory Group.
Remove-HPOVLdapGroup [-InputObject] <Object> [-ApplianceConnection] <Object>[ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]Remove Directory Group(s) from the appliance. Can provide Group Name or Object for removal.
-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 |
-InputObject <Object>
Aliases [-g, -Group, -Name]
Configured Directory Group Name.
| Aliases | g, Group, 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)
System.Management.Automation.PSCustomObject
Single Group resource object
System.Collections.ArrayList
Collection of Group resource objects
System.Management.Automation.PSCustomObject
A PSCustomObject is returned indicating successful removal of the resource
-------------------------- EXAMPLE 1 --------------------------Remove-HPOVLdapGroup -Group "My Directory Group1"
Remove "My Directroy Group1" from the appliance.
-------------------------- EXAMPLE 2 --------------------------Get-HPOVLdapGroup | Remove-HPOVLdapGroup
Get all groups and remove them from all connected appliances.
Remove Directory Group.
Remove-HPOVLdapGroup [-InputObject] <Object> [-ApplianceConnection] <Object>[ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]Remove Directory Group(s) from the appliance. Can provide Group Name or Object for removal.
-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 |
-InputObject <Object>
Aliases [-g, -Group, -Name]
Configured Directory Group Name.
| Aliases | g, Group, 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)
System.Management.Automation.PSCustomObject
Single Group resource object
System.Collections.ArrayList
Collection of Group resource objects
System.Management.Automation.PSCustomObject
A PSCustomObject is returned indicating successful removal of the resource
-------------------------- EXAMPLE 1 --------------------------Remove-HPOVLdapGroup -Group "My Directory Group1"
Remove "My Directroy Group1" from the appliance.
-------------------------- EXAMPLE 2 --------------------------Get-HPOVLdapGroup | Remove-HPOVLdapGroup
Get all groups and remove them from all connected appliances.