Skip to content

Remove HPOVLdapGroup

Chris Lynch edited this page Dec 10, 2020 · 42 revisions

HPE OneView 4.10 Library

Remove-HPOVLdapGroup

Remove Directory Group.

SYNTAX

Remove-HPOVLdapGroup [-InputObject] <Object> [-ApplianceConnection] <Object>[ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]

Detailed Description

Remove Directory Group(s) from the appliance. Can provide Group Name or Object for removal.

Parameters

-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)

Input Types

System.Management.Automation.PSCustomObject

Single Group resource object

System.Collections.ArrayList

Collection of Group resource objects

Return Values

System.Management.Automation.PSCustomObject

A PSCustomObject is returned indicating successful removal of the resource

Examples

 -------------------------- 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.

Related Links


HPE OneView 4.00 Library

Remove-HPOVLdapGroup

Remove Directory Group.

SYNTAX

Remove-HPOVLdapGroup [-InputObject] <Object> [-ApplianceConnection] <Object>[ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]

Detailed Description

Remove Directory Group(s) from the appliance. Can provide Group Name or Object for removal.

Parameters

-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)

Input Types

System.Management.Automation.PSCustomObject

Single Group resource object

System.Collections.ArrayList

Collection of Group resource objects

Return Values

System.Management.Automation.PSCustomObject

A PSCustomObject is returned indicating successful removal of the resource

Examples

 -------------------------- 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.

Related Links


Wiki Table of Contents

Clone this wiki locally