< Back
Update-DeviceManagement_DeviceCompliancePolicies_DeviceStatuses
Post
NAME Update-DeviceManagement_DeviceCompliancePolicies_DeviceStatuses
SYNOPSIS
Updates a "microsoft.graph.deviceComplianceDeviceStatus".
SYNTAX
Update-DeviceManagement_DeviceCompliancePolicies_DeviceStatuses -deviceComplianceDeviceStatusId <string>
-deviceCompliancePolicyId <string> [-complianceGracePeriodExpirationDateTime <DateTimeOffset>] [-deviceDisplayName
<string>] [-deviceModel <string>] [-lastReportedDateTime <DateTimeOffset>] [-status <string>] [-userName <string>]
[-userPrincipalName <string>] [<CommonParameters>]
Update-DeviceManagement_DeviceCompliancePolicies_DeviceStatuses -deviceComplianceDeviceStatusId <string>
-deviceCompliancePolicyId <string> -ODataType <string> [-complianceGracePeriodExpirationDateTime <DateTimeOffset>]
[-deviceDisplayName <string>] [-deviceModel <string>] [-lastReportedDateTime <DateTimeOffset>] [-status <string>]
[-userName <string>] [-userPrincipalName <string>] [<CommonParameters>]
DESCRIPTION
Updates a "microsoft.graph.deviceComplianceDeviceStatus" object in the "deviceStatuses" collection.
List of DeviceComplianceDeviceStatus.
Graph Call: PATCH ~/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicyId}/deviceStatuses
PARAMETERS
-deviceComplianceDeviceStatusId <string>
The ID for a "microsoft.graph.deviceComplianceDeviceStatus" object in the "deviceStatuses" collection.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-deviceCompliancePolicyId <string>
A required ID for referencing a "microsoft.graph.deviceCompliancePolicy" object in the
"deviceCompliancePolicies" collection.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-deviceDisplayName <string>
The "deviceDisplayName" property, of type "Edm.String".
This property is on the "microsoft.graph.deviceComplianceDeviceStatus" type.
Device name of the DevicePolicyStatus.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-userName <string>
The "userName" property, of type "Edm.String".
This property is on the "microsoft.graph.deviceComplianceDeviceStatus" type.
The User Name that is being reported
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-deviceModel <string>
The "deviceModel" property, of type "Edm.String".
This property is on the "microsoft.graph.deviceComplianceDeviceStatus" type.
The device model that is being reported
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-complianceGracePeriodExpirationDateTime <DateTimeOffset>
The "complianceGracePeriodExpirationDateTime" property, of type "Edm.DateTimeOffset".
This property is on the "microsoft.graph.deviceComplianceDeviceStatus" type.
The DateTime when device compliance grace period expires
Required? false
Position? named
Default value 1/1/0001 12:00:00 AM +00:00
Accept pipeline input? false
Accept wildcard characters? false
-status <string>
The "status" property, of type "microsoft.graph.complianceStatus".
This property is on the "microsoft.graph.deviceComplianceDeviceStatus" type.
Compliance status of the policy report.
Valid values: 'unknown', 'notApplicable', 'compliant', 'remediated', 'nonCompliant', 'error', 'conflict',
'notAssigned'
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-lastReportedDateTime <DateTimeOffset>
The "lastReportedDateTime" property, of type "Edm.DateTimeOffset".
This property is on the "microsoft.graph.deviceComplianceDeviceStatus" type.
Last modified date time of the policy report.
Required? false
Position? named
Default value 1/1/0001 12:00:00 AM +00:00
Accept pipeline input? false
Accept wildcard characters? false
-userPrincipalName <string>
The "userPrincipalName" property, of type "Edm.String".
This property is on the "microsoft.graph.deviceComplianceDeviceStatus" type.
UserPrincipalName.
Required? false
Position? named
Default value
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.deviceComplianceDeviceStatus" object in the "deviceStatuses" collection.
System.String
A required ID for referencing a "microsoft.graph.deviceCompliancePolicy" object in the
"deviceCompliancePolicies" 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
SYNOPSIS
Updates a "microsoft.graph.deviceComplianceDeviceStatus".
SYNTAX
Update-DeviceManagement_DeviceCompliancePolicies_DeviceStatuses -deviceComplianceDeviceStatusId <string>
-deviceCompliancePolicyId <string> [-complianceGracePeriodExpirationDateTime <DateTimeOffset>] [-deviceDisplayName
<string>] [-deviceModel <string>] [-lastReportedDateTime <DateTimeOffset>] [-status <string>] [-userName <string>]
[-userPrincipalName <string>] [<CommonParameters>]
Update-DeviceManagement_DeviceCompliancePolicies_DeviceStatuses -deviceComplianceDeviceStatusId <string>
-deviceCompliancePolicyId <string> -ODataType <string> [-complianceGracePeriodExpirationDateTime <DateTimeOffset>]
[-deviceDisplayName <string>] [-deviceModel <string>] [-lastReportedDateTime <DateTimeOffset>] [-status <string>]
[-userName <string>] [-userPrincipalName <string>] [<CommonParameters>]
DESCRIPTION
Updates a "microsoft.graph.deviceComplianceDeviceStatus" object in the "deviceStatuses" collection.
List of DeviceComplianceDeviceStatus.
Graph Call: PATCH ~/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicyId}/deviceStatuses
PARAMETERS
-deviceComplianceDeviceStatusId <string>
The ID for a "microsoft.graph.deviceComplianceDeviceStatus" object in the "deviceStatuses" collection.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-deviceCompliancePolicyId <string>
A required ID for referencing a "microsoft.graph.deviceCompliancePolicy" object in the
"deviceCompliancePolicies" collection.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-deviceDisplayName <string>
The "deviceDisplayName" property, of type "Edm.String".
This property is on the "microsoft.graph.deviceComplianceDeviceStatus" type.
Device name of the DevicePolicyStatus.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-userName <string>
The "userName" property, of type "Edm.String".
This property is on the "microsoft.graph.deviceComplianceDeviceStatus" type.
The User Name that is being reported
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-deviceModel <string>
The "deviceModel" property, of type "Edm.String".
This property is on the "microsoft.graph.deviceComplianceDeviceStatus" type.
The device model that is being reported
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-complianceGracePeriodExpirationDateTime <DateTimeOffset>
The "complianceGracePeriodExpirationDateTime" property, of type "Edm.DateTimeOffset".
This property is on the "microsoft.graph.deviceComplianceDeviceStatus" type.
The DateTime when device compliance grace period expires
Required? false
Position? named
Default value 1/1/0001 12:00:00 AM +00:00
Accept pipeline input? false
Accept wildcard characters? false
-status <string>
The "status" property, of type "microsoft.graph.complianceStatus".
This property is on the "microsoft.graph.deviceComplianceDeviceStatus" type.
Compliance status of the policy report.
Valid values: 'unknown', 'notApplicable', 'compliant', 'remediated', 'nonCompliant', 'error', 'conflict',
'notAssigned'
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-lastReportedDateTime <DateTimeOffset>
The "lastReportedDateTime" property, of type "Edm.DateTimeOffset".
This property is on the "microsoft.graph.deviceComplianceDeviceStatus" type.
Last modified date time of the policy report.
Required? false
Position? named
Default value 1/1/0001 12:00:00 AM +00:00
Accept pipeline input? false
Accept wildcard characters? false
-userPrincipalName <string>
The "userPrincipalName" property, of type "Edm.String".
This property is on the "microsoft.graph.deviceComplianceDeviceStatus" type.
UserPrincipalName.
Required? false
Position? named
Default value
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.deviceComplianceDeviceStatus" object in the "deviceStatuses" collection.
System.String
A required ID for referencing a "microsoft.graph.deviceCompliancePolicy" object in the
"deviceCompliancePolicies" 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