< Back

New-DeviceAppManagement_ManagedEBooks_UserStateSummary_DeviceStates

Sat Jan 18, 2020 12:16 pm

NAME New-DeviceAppManagement_ManagedEBooks_UserStateSummary_DeviceStates



SYNOPSIS

Creates a "microsoft.graph.deviceInstallState" object.





SYNTAX

New-DeviceAppManagement_ManagedEBooks_UserStateSummary_DeviceStates -managedEBookId <string>

-userInstallStateSummaryId <string> [-deviceId <string>] [-deviceName <string>] [-errorCode <string>]

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

[-userName <string>] [<CommonParameters>]



New-DeviceAppManagement_ManagedEBooks_UserStateSummary_DeviceStates -managedEBookId <string> -ODataType <string>

-userInstallStateSummaryId <string> [-deviceId <string>] [-deviceName <string>] [-errorCode <string>]

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

[-userName <string>] [<CommonParameters>]





DESCRIPTION

Adds a "microsoft.graph.deviceInstallState" object to the "deviceStates" collection.



The install state of the eBook.



Graph call: POST

~/deviceAppManagement/managedEBooks/{managedEBookId}/userStateSummary/{userInstallStateSummaryId}/deviceStates





PARAMETERS

-managedEBookId <string>

A required ID for referencing a "microsoft.graph.managedEBook" object in the "managedEBooks" collection.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-userInstallStateSummaryId <string>

A required ID for referencing a "microsoft.graph.userInstallStateSummary" object in the "userStateSummary"

collection.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-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? true (ByPropertyName)

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? true (ByPropertyName)

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? true (ByPropertyName)

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? true (ByPropertyName)

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? true (ByPropertyName)

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? true (ByPropertyName)

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? true (ByPropertyName)

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? 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.managedEBook" object in the "managedEBooks" collection.



System.String

A required ID for referencing a "microsoft.graph.userInstallStateSummary" object in the "userStateSummary"

collection.



System.String

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



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



Device name.



System.String

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



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



Device Id.



System.DateTimeOffset

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



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



Last sync date and time.



System.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'



System.String

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



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



The error code for install failures.



System.String

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



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



OS Version.



System.String

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



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



OS Description.



System.String

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



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



Device User Name.



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