< Back
Invoke-Groups_GroupLifecyclePolicies_RemoveGroup
Post
NAME Invoke-Groups_GroupLifecyclePolicies_RemoveGroup
SYNOPSIS
SYNTAX
Invoke-Groups_GroupLifecyclePolicies_RemoveGroup -groupId <string> -groupLifecyclePolicyId <string>
[<CommonParameters>]
DESCRIPTION
The action "microsoft.graph.removeGroup", which exists on the type "microsoft.graph.groupLifecyclePolicy".
This action returns a "Edm.Boolean" object.
Graph Call: POST ~/groups/{groupId}/groupLifecyclePolicies/removeGroup
PARAMETERS
-groupId <string>
A required ID for referencing a "microsoft.graph.group" object in the "groups" collection.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-groupLifecyclePolicyId <string>
The ID for a "microsoft.graph.groupLifecyclePolicy" object in the "groupLifecyclePolicies" 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
A required ID for referencing a "microsoft.graph.group" object in the "groups" collection.
System.String
The ID for a "microsoft.graph.groupLifecyclePolicy" object in the "groupLifecyclePolicies" collection.
OUTPUTS
RELATED LINKS
GitHub Repository https://github.com/Microsoft/Intune-PowerShell-SDK
SYNOPSIS
SYNTAX
Invoke-Groups_GroupLifecyclePolicies_RemoveGroup -groupId <string> -groupLifecyclePolicyId <string>
[<CommonParameters>]
DESCRIPTION
The action "microsoft.graph.removeGroup", which exists on the type "microsoft.graph.groupLifecyclePolicy".
This action returns a "Edm.Boolean" object.
Graph Call: POST ~/groups/{groupId}/groupLifecyclePolicies/removeGroup
PARAMETERS
-groupId <string>
A required ID for referencing a "microsoft.graph.group" object in the "groups" collection.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-groupLifecyclePolicyId <string>
The ID for a "microsoft.graph.groupLifecyclePolicy" object in the "groupLifecyclePolicies" 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
A required ID for referencing a "microsoft.graph.group" object in the "groups" collection.
System.String
The ID for a "microsoft.graph.groupLifecyclePolicy" object in the "groupLifecyclePolicies" collection.
OUTPUTS
RELATED LINKS
GitHub Repository https://github.com/Microsoft/Intune-PowerShell-SDK