< Back

Update-DeviceAppManagement_ManagedEBooks_DeviceStates

Sat Jan 18, 2020 2:13 pm

NAME Update-DeviceAppManagement_ManagedEBooks_DeviceStates



SYNOPSIS

Updates a "microsoft.graph.deviceInstallState".





SYNTAX

Update-DeviceAppManagement_ManagedEBooks_DeviceStates -deviceInstallStateId <string> -managedEBookId <string>

[-deviceId <string>] [-deviceName <string>] [-errorCode <string>] [-installState <string>] [-lastSyncDateTime

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



Update-DeviceAppManagement_ManagedEBooks_DeviceStates -deviceInstallStateId <string> -managedEBookId <string>

-ODataType <string> [-deviceId <string>] [-deviceName <string>] [-errorCode <string>] [-installState <string>]

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

[<CommonParameters>]





DESCRIPTION

Updates a "microsoft.graph.deviceInstallState" object in the "deviceStates" collection.



The list of installation states for this eBook.



Graph Call: PATCH ~/deviceAppManagement/managedEBooks/{managedEBookId}/deviceStates





PARAMETERS

-deviceInstallStateId <string>

The ID for a "microsoft.graph.deviceInstallState" object in the "deviceStates" collection.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-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



-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



-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

The ID for a "microsoft.graph.deviceInstallState" object in the "deviceStates" collection.



System.String

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



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