< Back

New-DeviceAppManagement_MobileApps_ContentVersions

Sat Jan 18, 2020 12:18 pm

NAME New-DeviceAppManagement_MobileApps_ContentVersions



SYNOPSIS

Creates a "microsoft.graph.mobileAppContent" object.





SYNTAX

New-DeviceAppManagement_MobileApps_ContentVersions -mobileAppId <string> -mobileAppODataType <string> [-files

<object[]>] [<CommonParameters>]



New-DeviceAppManagement_MobileApps_ContentVersions -mobileAppId <string> -mobileAppODataType <string> -ODataType

<string> [-files <object[]>] [<CommonParameters>]





DESCRIPTION

Adds a "microsoft.graph.mobileAppContent" object to the "contentVersions" collection.



The list of content versions for this app.



Graph call: POST ~/deviceAppManagement/mobileApps/{mobileAppId}/{mobileAppODataType}/contentVersions





PARAMETERS

-mobileAppId <string>

A required ID for referencing a "microsoft.graph.mobileApp" object in the "mobileApps" collection.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-mobileAppODataType <string>

A required type cast for referencing properties that exist only on certain types of

"microsoft.graph.mobileApp" objects.



Valid values: 'microsoft.graph.mobileApp', 'microsoft.graph.iosStoreApp', 'microsoft.graph.iosVppApp',

'microsoft.graph.androidStoreApp', 'microsoft.graph.webApp', 'microsoft.graph.microsoftStoreForBusinessApp',

'microsoft.graph.mobileLobApp', 'microsoft.graph.iosLobApp', 'microsoft.graph.androidLobApp',

'microsoft.graph.windowsUniversalAppX', 'microsoft.graph.windowsMobileMSI', 'microsoft.graph.managedApp',

'microsoft.graph.managedMobileLobApp', 'microsoft.graph.managedIOSLobApp',

'microsoft.graph.managedAndroidLobApp', 'microsoft.graph.managedIOSStoreApp',

'microsoft.graph.managedAndroidStoreApp', 'microsoft.graph.macOSOfficeSuiteApp'



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-files <object[]>

The "files" property, of type "microsoft.graph.mobileAppContentFile".



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



The list of files for this app content version.



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.mobileApp" object in the "mobileApps" collection.



System.String

A required type cast for referencing properties that exist only on certain types of

"microsoft.graph.mobileApp" objects.



Valid values: 'microsoft.graph.mobileApp', 'microsoft.graph.iosStoreApp', 'microsoft.graph.iosVppApp',

'microsoft.graph.androidStoreApp', 'microsoft.graph.webApp', 'microsoft.graph.microsoftStoreForBusinessApp',

'microsoft.graph.mobileLobApp', 'microsoft.graph.iosLobApp', 'microsoft.graph.androidLobApp',

'microsoft.graph.windowsUniversalAppX', 'microsoft.graph.windowsMobileMSI', 'microsoft.graph.managedApp',

'microsoft.graph.managedMobileLobApp', 'microsoft.graph.managedIOSLobApp',

'microsoft.graph.managedAndroidLobApp', 'microsoft.graph.managedIOSStoreApp',

'microsoft.graph.managedAndroidStoreApp', 'microsoft.graph.macOSOfficeSuiteApp'



System.Object[]

The "files" property, of type "microsoft.graph.mobileAppContentFile".



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



The list of files for this app content version.



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