< Back

New-DeviceInstallStateObject

Sat Jan 18, 2020 12:21 pm

NAME New-DeviceInstallStateObject



SYNOPSIS

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





SYNTAX

New-DeviceInstallStateObject [-deviceId <string>] [-deviceName <string>] [-errorCode <string>] [-installState

<string>] [-lastSyncDateTime <DateTimeOffset>] [-osDescription <string>] [-osVersion <string>] [-userName

<string>] [<CommonParameters>]





DESCRIPTION

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



Contains properties for the installation state for a device.





PARAMETERS

-deviceName <string>

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



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



Device name.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-deviceId <string>

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



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



Device Id.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-lastSyncDateTime <DateTimeOffset>

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



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



Last sync date and time.



Required? false

Position? named

Default value 1/1/0001 12:00:00 AM +00:00

Accept pipeline input? false

Accept wildcard characters? false



-installState <string>

The "installState" property, of type "microsoft.graph.installState".



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



The install state of the eBook.



Valid values: 'notApplicable', 'installed', 'failed', 'notInstalled', 'uninstallFailed', 'unknown'



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-errorCode <string>

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



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



The error code for install failures.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-osVersion <string>

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



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



OS Version.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-osDescription <string>

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



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



OS Description.



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



Device User Name.



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