Skip to content

Remove HPOVLdapGroup

Chris Lynch edited this page Nov 4, 2016 · 42 revisions

### HPE OneView 3.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 --------------------------

PS C:\> Remove-HPOVLdapGroup -Group "My Directory Group1"

Remove "My Directroy Group1" from the appliance.

 -------------------------- EXAMPLE 2 --------------------------

PS C:\> Get-HPOVLdapGroup | Remove-HPOVLdapGroup

Get all groups and remove them from all connected appliances.

Related Links


### HPE OneView 2.00 Library

Remove-HPOVLdapGroup

Remove Directory Group.

SYNTAX

Remove-HPOVLdapGroup [-Name] <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

-Name <Object>

Aliases [-g, -Group]

Configured Directory Group Name.

Aliases g, Group
Required? true
Position? 0
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.Array Collection of Group resource objects.

Return Values

System.Management.Automation.PSCustomObject

A PSCustomObject is returned indicating successful removal of the resource.

Examples

 -------------------------- EXAMPLE 1 --------------------------

PS C:\> Remove-HPOVLdapGroup -Group "My Directory Group1"

Remove "My Directroy Group1" from the appliance.

 -------------------------- EXAMPLE 2 --------------------------

PS C:\> Get-HPOVLdapGroup | Remove-HPOVLdapGroup

Get all groups and remove them from all connected appliances.

Related Links


### HPE OneView 1.20 Library

Remove-HPOVLdapGroup

Remove Directory Group.

SYNTAX

Remove-HPOVLdapGroup [-Group] <Group>[ [-WhatIf] <WhatIf>][ [-Confirm] <Confirm>] [<CommonParameters>]

Detailed Description

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

Parameters

-Group <Group>

Aliases [-g] Configured Directory Group Name.

Aliases None.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters?    false

-WhatIf <WhatIf>

Aliases None.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    false

-Confirm <Confirm>

Aliases None.
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.Array Collection of Group resource objects.

Return Values

HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]

Removal Async task.

Examples

 -------------------------- EXAMPLE 1 --------------------------

PS C:\> Remove-HPOVLdapGroup -Group "My Directory Group1"

Remove "My Directroy Group1" from the appliance.

 -------------------------- EXAMPLE 2 --------------------------

PS C:\> Get-HPOVLdapGroup | Remove-HPOVLdapGroup

Get all groups and remove them from the appliance.

Related Links


Wiki Table of Contents

Clone this wiki locally