CmdID / PowerShell / Cmdlets / Update
Update-MgDeviceByDeviceId
Update the properties of a registered device. Microsoft Graph PowerShell reference
From the Microsoft Graph PowerShell reference 51 parameters Its page in the reference
Parameters
Show its 51 parameters
-AccountEnabledtrue if the account is enabled; otherwise, false.-AdditionalPropertiesAdditional Parameters-AlternativeSecurityIdsFor internal use only.-ApproximateLastSignInDateTimeThe timestamp type represents date and time information using ISO 8601 format and is always in UTC time.-BodyParameterdevice To construct, see NOTES section for BODYPARAMETER properties and create a hash table.-BreakWait for .NET debugger to attach-ComplianceExpirationDateTimeThe timestamp when the device is no longer deemed compliant.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-DeletedDateTimeDate and time when this object was deleted.-DeviceCategoryUser-defined property set by Intune to automatically add devices to groups and simplify managing devices.-DeviceIdAlternate key of device-DeviceId1Unique identifier set by Azure Device Registration Service at the time of registration.-DeviceMetadataFor internal use only.-DeviceOwnershipOwnership of the device.-DeviceVersionFor internal use only.-DisplayNameThe display name for the device.-EnrollmentProfileNameEnrollment profile applied to the device.-EnrollmentTypeEnrollment type of the device.-ExtensionsThe collection of open extensions defined for the device.-HeadersOptional headers that will be added to the request.-HttpPipelineAppendSendAsync Pipeline Steps to be appended to the front of the pipeline-HttpPipelinePrependSendAsync Pipeline Steps to be prepended to the front of the pipeline-IdThe unique identifier for an entity.-InputObjectIdentity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.-IsComplianttrue if the device complies with Mobile Device Management (MDM) policies; otherwise, false.-IsManagedtrue if the device is managed by a Mobile Device Management (MDM) app; otherwise, false.-IsManagementRestrictedIndicates whether the device is a member of a restricted management administrative unit.-IsRootedtrue if the device is rooted or jail-broken.-ManagementTypeThe management channel of the device.-ManufacturerManufacturer of the device.-MdmAppIdApplication identifier used to register device into MDM.-MemberOfGroups and administrative units that this device is a member of.-ModelModel of the device.-OnPremisesLastSyncDateTimeThe last time at which the object was synced with the on-premises directory.-OnPremisesSecurityIdentifierThe on-premises security identifier (SID) for the user who was synchronized from on-premises to the cloud.-OnPremisesSyncEnabledtrue if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced; null if this object has never been synce…-OperatingSystemThe type of operating system on the device.-OperatingSystemVersionThe version of the operating system on the device.-PhysicalIdsFor internal use only.-ProfileTypeThe profile type of the device.-ProxyThe URI for the proxy server to use-ProxyCredentialCredentials for a proxy server to use for the remote call-ProxyUseDefaultCredentialsUse the default credentials for the proxy-RegisteredOwnersThe user that cloud joined the device or registered their personal device.-RegisteredUsersCollection of registered users of the device.-RegistrationDateTimeDate and time of when the device was registered.-ResponseHeadersVariable, -RHVOptional Response Headers Variable.-SystemLabelsList of labels applied to the device by the system.-TransitiveMemberOfGroups and administrative units that the device is a member of.-TrustTypeType of trust for the joined device.-WhatIf, -wiRuns the command in a mode that only reports what would happen without performing the actions.