< Back

Remove-ADShadowGroup

Sat Jan 18, 2020 9:54 am

NAME Remove-ADShadowGroup



SYNOPSIS

Remove an existing AD ShadowGroup





SYNTAX

Remove-ADShadowGroup [[-ShadowGroupToremove] <String>] [<CommonParameters>]





DESCRIPTION

Remove a existing AD ShadowGroup hosted in the default container (cn=Shadow Principal

Configuration,cn=Services...) (object to be searched only in the current AD)





PARAMETERS

-ShadowGroupToremove <String>



Required? false

Position? 2

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 (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

Console write-line output

"ShadowPrincipal group XXXX removed correctly ! - OK"





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



C:\\PS>Remove-ADShadowGroup -GroupNameValue "Shadow-Domain Admins"















RELATED LINKS