< Back
New-DeviceManagement_DeviceCompliancePolicies_UserStatuses
Post
NAME New-DeviceManagement_DeviceCompliancePolicies_UserStatuses
SYNOPSIS
Creates a "microsoft.graph.deviceComplianceUserStatus" object.
SYNTAX
New-DeviceManagement_DeviceCompliancePolicies_UserStatuses -deviceCompliancePolicyId <string> [-devicesCount
<int>] [-lastReportedDateTime <DateTimeOffset>] [-status <string>] [-userDisplayName <string>] [-userPrincipalName
<string>] [<CommonParameters>]
New-DeviceManagement_DeviceCompliancePolicies_UserStatuses -deviceCompliancePolicyId <string> -ODataType <string>
[-devicesCount <int>] [-lastReportedDateTime <DateTimeOffset>] [-status <string>] [-userDisplayName <string>]
[-userPrincipalName <string>] [<CommonParameters>]
DESCRIPTION
Adds a "microsoft.graph.deviceComplianceUserStatus" object to the "userStatuses" collection.
List of DeviceComplianceUserStatus.
Graph call: POST ~/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicyId}/userStatuses
PARAMETERS
-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
-userDisplayName <string>
The "userDisplayName" property, of type "Edm.String".
This property is on the "microsoft.graph.deviceComplianceUserStatus" type.
User name of the DevicePolicyStatus.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-devicesCount <int>
The "devicesCount" property, of type "Edm.Int32".
This property is on the "microsoft.graph.deviceComplianceUserStatus" type.
Devices count for that user.
Required? false
Position? named
Default value 0
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-status <string>
The "status" property, of type "microsoft.graph.complianceStatus".
This property is on the "microsoft.graph.deviceComplianceUserStatus" 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? true (ByPropertyName)
Accept wildcard characters? false
-lastReportedDateTime <DateTimeOffset>
The "lastReportedDateTime" property, of type "Edm.DateTimeOffset".
This property is on the "microsoft.graph.deviceComplianceUserStatus" 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? true (ByPropertyName)
Accept wildcard characters? false
-userPrincipalName <string>
The "userPrincipalName" property, of type "Edm.String".
This property is on the "microsoft.graph.deviceComplianceUserStatus" type.
UserPrincipalName.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
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
A required ID for referencing a "microsoft.graph.deviceCompliancePolicy" object in the
"deviceCompliancePolicies" collection.
System.String
The "userDisplayName" property, of type "Edm.String".
This property is on the "microsoft.graph.deviceComplianceUserStatus" type.
User name of the DevicePolicyStatus.
System.Int32
The "devicesCount" property, of type "Edm.Int32".
This property is on the "microsoft.graph.deviceComplianceUserStatus" type.
Devices count for that user.
System.String
The "status" property, of type "microsoft.graph.complianceStatus".
This property is on the "microsoft.graph.deviceComplianceUserStatus" type.
Compliance status of the policy report.
Valid values: 'unknown', 'notApplicable', 'compliant', 'remediated', 'nonCompliant', 'error', 'conflict',
'notAssigned'
System.DateTimeOffset
The "lastReportedDateTime" property, of type "Edm.DateTimeOffset".
This property is on the "microsoft.graph.deviceComplianceUserStatus" type.
Last modified date time of the policy report.
System.String
The "userPrincipalName" property, of type "Edm.String".
This property is on the "microsoft.graph.deviceComplianceUserStatus" type.
UserPrincipalName.
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
Creates a "microsoft.graph.deviceComplianceUserStatus" object.
SYNTAX
New-DeviceManagement_DeviceCompliancePolicies_UserStatuses -deviceCompliancePolicyId <string> [-devicesCount
<int>] [-lastReportedDateTime <DateTimeOffset>] [-status <string>] [-userDisplayName <string>] [-userPrincipalName
<string>] [<CommonParameters>]
New-DeviceManagement_DeviceCompliancePolicies_UserStatuses -deviceCompliancePolicyId <string> -ODataType <string>
[-devicesCount <int>] [-lastReportedDateTime <DateTimeOffset>] [-status <string>] [-userDisplayName <string>]
[-userPrincipalName <string>] [<CommonParameters>]
DESCRIPTION
Adds a "microsoft.graph.deviceComplianceUserStatus" object to the "userStatuses" collection.
List of DeviceComplianceUserStatus.
Graph call: POST ~/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicyId}/userStatuses
PARAMETERS
-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
-userDisplayName <string>
The "userDisplayName" property, of type "Edm.String".
This property is on the "microsoft.graph.deviceComplianceUserStatus" type.
User name of the DevicePolicyStatus.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-devicesCount <int>
The "devicesCount" property, of type "Edm.Int32".
This property is on the "microsoft.graph.deviceComplianceUserStatus" type.
Devices count for that user.
Required? false
Position? named
Default value 0
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-status <string>
The "status" property, of type "microsoft.graph.complianceStatus".
This property is on the "microsoft.graph.deviceComplianceUserStatus" 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? true (ByPropertyName)
Accept wildcard characters? false
-lastReportedDateTime <DateTimeOffset>
The "lastReportedDateTime" property, of type "Edm.DateTimeOffset".
This property is on the "microsoft.graph.deviceComplianceUserStatus" 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? true (ByPropertyName)
Accept wildcard characters? false
-userPrincipalName <string>
The "userPrincipalName" property, of type "Edm.String".
This property is on the "microsoft.graph.deviceComplianceUserStatus" type.
UserPrincipalName.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
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
A required ID for referencing a "microsoft.graph.deviceCompliancePolicy" object in the
"deviceCompliancePolicies" collection.
System.String
The "userDisplayName" property, of type "Edm.String".
This property is on the "microsoft.graph.deviceComplianceUserStatus" type.
User name of the DevicePolicyStatus.
System.Int32
The "devicesCount" property, of type "Edm.Int32".
This property is on the "microsoft.graph.deviceComplianceUserStatus" type.
Devices count for that user.
System.String
The "status" property, of type "microsoft.graph.complianceStatus".
This property is on the "microsoft.graph.deviceComplianceUserStatus" type.
Compliance status of the policy report.
Valid values: 'unknown', 'notApplicable', 'compliant', 'remediated', 'nonCompliant', 'error', 'conflict',
'notAssigned'
System.DateTimeOffset
The "lastReportedDateTime" property, of type "Edm.DateTimeOffset".
This property is on the "microsoft.graph.deviceComplianceUserStatus" type.
Last modified date time of the policy report.
System.String
The "userPrincipalName" property, of type "Edm.String".
This property is on the "microsoft.graph.deviceComplianceUserStatus" type.
UserPrincipalName.
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