< Back

Remove-Groups

Sat Jan 18, 2020 2:06 pm

NAME Remove-Groups



SYNOPSIS

Removes a "microsoft.graph.group" object.





SYNTAX

Remove-Groups -groupId <string> [<CommonParameters>]





DESCRIPTION

Removes a "microsoft.graph.group" object from the "groups" collection.



Graph Call: DELETE ~/groups/groupId





PARAMETERS

-groupId <string>

The ID for a "microsoft.graph.group" object in the "groups" collection.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

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

System.String

The ID for a "microsoft.graph.group" object in the "groups" collection.





OUTPUTS





RELATED LINKS

GitHub Repository https://github.com/Microsoft/Intune-PowerShell-SDK