< Back

New-DeviceComplianceUserStatusObject

Sat Jan 18, 2020 12:20 pm

NAME New-DeviceComplianceUserStatusObject



SYNOPSIS

Creates a new object which represents a "microsoft.graph.deviceComplianceUserStatus" (or one of its derived types).





SYNTAX

New-DeviceComplianceUserStatusObject [-devicesCount <int>] [-lastReportedDateTime <DateTimeOffset>] [-status

<string>] [-userDisplayName <string>] [-userPrincipalName <string>] [<CommonParameters>]





DESCRIPTION

Creates a new object which represents a "microsoft.graph.deviceComplianceUserStatus" (or one of its derived types).





PARAMETERS

-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? false

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? false

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? false

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? false

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? false

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



OUTPUTS





RELATED LINKS