< Back

Update-Groups

Sat Jan 18, 2020 2:23 pm

NAME Update-Groups



SYNOPSIS

Updates a "microsoft.graph.group".





SYNTAX

Update-Groups -groupId <string> [-allowExternalSenders <bool>] [-assignedLicenses <object[]>]

[-autoSubscribeNewMembers <bool>] [-classification <string>] [-createdDateTime <DateTimeOffset>]

[-createdOnBehalfOf <object>] [-deletedDateTime <DateTimeOffset>] [-description <string>] [-displayName <string>]

[-groupLifecyclePolicies <object[]>] [-groupTypes <string[]>] [-hasMembersWithLicenseErrors <bool>] [-isArchived

<bool>] [-isSubscribedByMail <bool>] [-licenseProcessingState <object>] [-mail <string>] [-mailEnabled <bool>]

[-mailNickname <string>] [-memberOf <object[]>] [-members <object[]>] [-membersWithLicenseErrors <object[]>]

[-onPremisesLastSyncDateTime <DateTimeOffset>] [-onPremisesProvisioningErrors <object[]>]

[-onPremisesSecurityIdentifier <string>] [-onPremisesSyncEnabled <bool>] [-owners <object[]>] [-photo <object>]

[-photos <object[]>] [-preferredDataLocation <string>] [-proxyAddresses <string[]>] [-renewedDateTime

<DateTimeOffset>] [-securityEnabled <bool>] [-settings <object[]>] [-transitiveMemberOf <object[]>]

[-transitiveMembers <object[]>] [-unseenCount <int>] [-visibility <string>] [<CommonParameters>]



Update-Groups -groupId <string> -ODataType <string> [-allowExternalSenders <bool>] [-assignedLicenses <object[]>]

[-autoSubscribeNewMembers <bool>] [-classification <string>] [-createdDateTime <DateTimeOffset>]

[-createdOnBehalfOf <object>] [-deletedDateTime <DateTimeOffset>] [-description <string>] [-displayName <string>]

[-groupLifecyclePolicies <object[]>] [-groupTypes <string[]>] [-hasMembersWithLicenseErrors <bool>] [-isArchived

<bool>] [-isSubscribedByMail <bool>] [-licenseProcessingState <object>] [-mail <string>] [-mailEnabled <bool>]

[-mailNickname <string>] [-memberOf <object[]>] [-members <object[]>] [-membersWithLicenseErrors <object[]>]

[-onPremisesLastSyncDateTime <DateTimeOffset>] [-onPremisesProvisioningErrors <object[]>]

[-onPremisesSecurityIdentifier <string>] [-onPremisesSyncEnabled <bool>] [-owners <object[]>] [-photo <object>]

[-photos <object[]>] [-preferredDataLocation <string>] [-proxyAddresses <string[]>] [-renewedDateTime

<DateTimeOffset>] [-securityEnabled <bool>] [-settings <object[]>] [-transitiveMemberOf <object[]>]

[-transitiveMembers <object[]>] [-unseenCount <int>] [-visibility <string>] [<CommonParameters>]





DESCRIPTION

Updates a "microsoft.graph.group" object in the "groups" collection.



Graph Call: PATCH ~/groups





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



-assignedLicenses <object[]>

The "assignedLicenses" property, of type "microsoft.graph.assignedLicense".



This property is on the "microsoft.graph.group" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-classification <string>

The "classification" property, of type "Edm.String".



This property is on the "microsoft.graph.group" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-createdDateTime <DateTimeOffset>

The "createdDateTime" property, of type "Edm.DateTimeOffset".



This property is on the "microsoft.graph.group" type.



Required? false

Position? named

Default value 1/1/0001 12:00:00 AM +00:00

Accept pipeline input? false

Accept wildcard characters? false



-description <string>

The "description" property, of type "Edm.String".



This property is on the "microsoft.graph.group" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-displayName <string>

The "displayName" property, of type "Edm.String".



This property is on the "microsoft.graph.group" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-hasMembersWithLicenseErrors <bool>

The "hasMembersWithLicenseErrors" property, of type "Edm.Boolean".



This property is on the "microsoft.graph.group" type.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-groupTypes <string[]>

The "groupTypes" property, of type "Edm.String".



This property is on the "microsoft.graph.group" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-licenseProcessingState <object>

The "licenseProcessingState" property, of type "microsoft.graph.licenseProcessingState".



This property is on the "microsoft.graph.group" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-mail <string>

The "mail" property, of type "Edm.String".



This property is on the "microsoft.graph.group" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-mailEnabled <bool>

The "mailEnabled" property, of type "Edm.Boolean".



This property is on the "microsoft.graph.group" type.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-mailNickname <string>

The "mailNickname" property, of type "Edm.String".



This property is on the "microsoft.graph.group" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-onPremisesLastSyncDateTime <DateTimeOffset>

The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset".



This property is on the "microsoft.graph.group" type.



Required? false

Position? named

Default value 1/1/0001 12:00:00 AM +00:00

Accept pipeline input? false

Accept wildcard characters? false



-onPremisesProvisioningErrors <object[]>

The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError".



This property is on the "microsoft.graph.group" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-onPremisesSecurityIdentifier <string>

The "onPremisesSecurityIdentifier" property, of type "Edm.String".



This property is on the "microsoft.graph.group" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-onPremisesSyncEnabled <bool>

The "onPremisesSyncEnabled" property, of type "Edm.Boolean".



This property is on the "microsoft.graph.group" type.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-preferredDataLocation <string>

The "preferredDataLocation" property, of type "Edm.String".



This property is on the "microsoft.graph.group" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-proxyAddresses <string[]>

The "proxyAddresses" property, of type "Edm.String".



This property is on the "microsoft.graph.group" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-renewedDateTime <DateTimeOffset>

The "renewedDateTime" property, of type "Edm.DateTimeOffset".



This property is on the "microsoft.graph.group" type.



Required? false

Position? named

Default value 1/1/0001 12:00:00 AM +00:00

Accept pipeline input? false

Accept wildcard characters? false



-securityEnabled <bool>

The "securityEnabled" property, of type "Edm.Boolean".



This property is on the "microsoft.graph.group" type.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-visibility <string>

The "visibility" property, of type "Edm.String".



This property is on the "microsoft.graph.group" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-allowExternalSenders <bool>

The "allowExternalSenders" property, of type "Edm.Boolean".



This property is on the "microsoft.graph.group" type.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-autoSubscribeNewMembers <bool>

The "autoSubscribeNewMembers" property, of type "Edm.Boolean".



This property is on the "microsoft.graph.group" type.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-isSubscribedByMail <bool>

The "isSubscribedByMail" property, of type "Edm.Boolean".



This property is on the "microsoft.graph.group" type.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-unseenCount <int>

The "unseenCount" property, of type "Edm.Int32".



This property is on the "microsoft.graph.group" type.



Required? false

Position? named

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-isArchived <bool>

The "isArchived" property, of type "Edm.Boolean".



This property is on the "microsoft.graph.group" type.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-members <object[]>

The "members" property, of type "microsoft.graph.directoryObject".



This property is on the "microsoft.graph.group" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-memberOf <object[]>

The "memberOf" property, of type "microsoft.graph.directoryObject".



This property is on the "microsoft.graph.group" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-membersWithLicenseErrors <object[]>

The "membersWithLicenseErrors" property, of type "microsoft.graph.directoryObject".



This property is on the "microsoft.graph.group" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-transitiveMembers <object[]>

The "transitiveMembers" property, of type "microsoft.graph.directoryObject".



This property is on the "microsoft.graph.group" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-transitiveMemberOf <object[]>

The "transitiveMemberOf" property, of type "microsoft.graph.directoryObject".



This property is on the "microsoft.graph.group" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-createdOnBehalfOf <object>

The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject".



This property is on the "microsoft.graph.group" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-owners <object[]>

The "owners" property, of type "microsoft.graph.directoryObject".



This property is on the "microsoft.graph.group" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-settings <object[]>

The "settings" property, of type "microsoft.graph.groupSetting".



This property is on the "microsoft.graph.group" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-photo <object>

The "photo" property, of type "microsoft.graph.profilePhoto".



This property is on the "microsoft.graph.group" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-photos <object[]>

The "photos" property, of type "microsoft.graph.profilePhoto".



This property is on the "microsoft.graph.group" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-groupLifecyclePolicies <object[]>

The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy".



This property is on the "microsoft.graph.group" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-deletedDateTime <DateTimeOffset>

The "deletedDateTime" property, of type "Edm.DateTimeOffset".



This property is on the "microsoft.graph.group" type.



Required? false

Position? named

Default value 1/1/0001 12:00:00 AM +00:00

Accept pipeline input? false

Accept wildcard characters? false



-ODataType <string>

The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-@odata.type <string>

The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.



This is an alias of the ODataType parameter.



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.



System.String

The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.





OUTPUTS





RELATED LINKS

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