Skip to content

Remove-OVLdapGroup

Syntax

Remove-OVLdapGroup
    [-InputObject] <Object>
    [-ApplianceConnection] <Object>
    [<CommonParameters>]

Description

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

Examples

Example 1

Remove-OVLdapGroup -Group "My Directory Group1"

Remove "My Directroy Group1" from the appliance.

Example 2

Get-OVLdapGroup | Remove-OVLdapGroup

Get all groups and remove them from all connected appliances.

Parameters

-InputObject <Object>

Configured Directory Group Name.

Aliases g, Group, Name
Required? True
Position? Named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? False

-ApplianceConnection <Object>

Specify one or more [HPEOneView.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.

Aliases Appliance
Required? True
Position? Named
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? False

-WhatIf <SwitchParameter>

Aliases wi
Required? False
Position? Named
Default value
Accept pipeline input? false
Accept wildcard characters? False

-Confirm <SwitchParameter>

Aliases cf
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

Single Group resource object

Collection of Group resource objects

Return Values

A PSCustomObject is returned indicating successful removal of the resource