< Back

New-DeviceManagement_DeviceConfigurations_DeviceStatuses

Sat Jan 18, 2020 12:24 pm

NAME New-DeviceManagement_DeviceConfigurations_DeviceStatuses



SYNOPSIS

Creates a "microsoft.graph.deviceConfigurationDeviceStatus" object.





SYNTAX

New-DeviceManagement_DeviceConfigurations_DeviceStatuses -deviceConfigurationId <string>

[-complianceGracePeriodExpirationDateTime <DateTimeOffset>] [-deviceDisplayName <string>] [-deviceModel <string>]

[-lastReportedDateTime <DateTimeOffset>] [-status <string>] [-userName <string>] [-userPrincipalName <string>]

[<CommonParameters>]



New-DeviceManagement_DeviceConfigurations_DeviceStatuses -deviceConfigurationId <string> -ODataType <string>

[-complianceGracePeriodExpirationDateTime <DateTimeOffset>] [-deviceDisplayName <string>] [-deviceModel <string>]

[-lastReportedDateTime <DateTimeOffset>] [-status <string>] [-userName <string>] [-userPrincipalName <string>]

[<CommonParameters>]





DESCRIPTION

Adds a "microsoft.graph.deviceConfigurationDeviceStatus" object to the "deviceStatuses" collection.



Device configuration installation status by device.



Graph call: POST ~/deviceManagement/deviceConfigurations/{deviceConfigurationId}/deviceStatuses





PARAMETERS

-deviceConfigurationId <string>

A required ID for referencing a "microsoft.graph.deviceConfiguration" object in the "deviceConfigurations"

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.deviceConfigurationDeviceStatus" type.



Device name of the DevicePolicyStatus.



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-userName <string>

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



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



The User Name that is being reported



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-deviceModel <string>

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



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



The device model that is being reported



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-complianceGracePeriodExpirationDateTime <DateTimeOffset>

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



This property is on the "microsoft.graph.deviceConfigurationDeviceStatus" 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? true (ByPropertyName)

Accept wildcard characters? false



-status <string>

The "status" property, of type "microsoft.graph.complianceStatus".



This property is on the "microsoft.graph.deviceConfigurationDeviceStatus" 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.deviceConfigurationDeviceStatus" 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.deviceConfigurationDeviceStatus" 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.deviceConfiguration" object in the "deviceConfigurations"

collection.



System.String

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



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



Device name of the DevicePolicyStatus.



System.String

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



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



The User Name that is being reported



System.String

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



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



The device model that is being reported



System.DateTimeOffset

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



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



The DateTime when device compliance grace period expires



System.String

The "status" property, of type "microsoft.graph.complianceStatus".



This property is on the "microsoft.graph.deviceConfigurationDeviceStatus" 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.deviceConfigurationDeviceStatus" 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.deviceConfigurationDeviceStatus" 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