< Back
New-DeviceAppManagement_MobileApps_ContentVersions_Files
Post
NAME New-DeviceAppManagement_MobileApps_ContentVersions_Files
SYNOPSIS
Creates a "microsoft.graph.mobileAppContentFile" object.
SYNTAX
New-DeviceAppManagement_MobileApps_ContentVersions_Files -mobileAppContentId <string> -mobileAppId <string>
-mobileAppODataType <string> [-azureStorageUri <string>] [-azureStorageUriExpirationDateTime <DateTimeOffset>]
[-createdDateTime <DateTimeOffset>] [-isCommitted <bool>] [-manifest <byte[]>] [-name <string>] [-size <long>]
[-sizeEncrypted <long>] [-uploadState <string>] [<CommonParameters>]
New-DeviceAppManagement_MobileApps_ContentVersions_Files -mobileAppContentId <string> -mobileAppId <string>
-mobileAppODataType <string> -ODataType <string> [-azureStorageUri <string>] [-azureStorageUriExpirationDateTime
<DateTimeOffset>] [-createdDateTime <DateTimeOffset>] [-isCommitted <bool>] [-manifest <byte[]>] [-name <string>]
[-size <long>] [-sizeEncrypted <long>] [-uploadState <string>] [<CommonParameters>]
DESCRIPTION
Adds a "microsoft.graph.mobileAppContentFile" object to the "files" collection.
The list of files for this app content version.
Graph call: POST
~/deviceAppManagement/mobileApps/{mobileAppId}/{mobileAppODataType}/contentVersions/{mobileAppContentId}/files
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
-mobileAppContentId <string>
A required ID for referencing a "microsoft.graph.mobileAppContent" object in the "contentVersions" collection.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-azureStorageUri <string>
The "azureStorageUri" property, of type "Edm.String".
This property is on the "microsoft.graph.mobileAppContentFile" type.
The Azure Storage URI.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-isCommitted <bool>
The "isCommitted" property, of type "Edm.Boolean".
This property is on the "microsoft.graph.mobileAppContentFile" type.
A value indicating whether the file is committed.
Required? false
Position? named
Default value False
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-createdDateTime <DateTimeOffset>
The "createdDateTime" property, of type "Edm.DateTimeOffset".
This property is on the "microsoft.graph.mobileAppContentFile" type.
The time the file was created.
Required? false
Position? named
Default value 1/1/0001 12:00:00 AM +00:00
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-name <string>
The "name" property, of type "Edm.String".
This property is on the "microsoft.graph.mobileAppContentFile" type.
the file name.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-size <long>
The "size" property, of type "Edm.Int64".
This property is on the "microsoft.graph.mobileAppContentFile" type.
The size of the file prior to encryption.
Required? false
Position? named
Default value 0
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-sizeEncrypted <long>
The "sizeEncrypted" property, of type "Edm.Int64".
This property is on the "microsoft.graph.mobileAppContentFile" type.
The size of the file after encryption.
Required? false
Position? named
Default value 0
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-azureStorageUriExpirationDateTime <DateTimeOffset>
The "azureStorageUriExpirationDateTime" property, of type "Edm.DateTimeOffset".
This property is on the "microsoft.graph.mobileAppContentFile" type.
The time the Azure storage Uri 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
-manifest <byte[]>
The "manifest" property, of type "Edm.Binary".
This property is on the "microsoft.graph.mobileAppContentFile" type.
The manifest information.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-uploadState <string>
The "uploadState" property, of type "microsoft.graph.mobileAppContentFileUploadState".
This property is on the "microsoft.graph.mobileAppContentFile" type.
The state of the current upload request.
Valid values: 'success', 'transientError', 'error', 'unknown', 'azureStorageUriRequestSuccess',
'azureStorageUriRequestPending', 'azureStorageUriRequestFailed', 'azureStorageUriRequestTimedOut',
'azureStorageUriRenewalSuccess', 'azureStorageUriRenewalPending', 'azureStorageUriRenewalFailed',
'azureStorageUriRenewalTimedOut', 'commitFileSuccess', 'commitFilePending', 'commitFileFailed',
'commitFileTimedOut'
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.String
A required ID for referencing a "microsoft.graph.mobileAppContent" object in the "contentVersions" collection.
System.String
The "azureStorageUri" property, of type "Edm.String".
This property is on the "microsoft.graph.mobileAppContentFile" type.
The Azure Storage URI.
System.Boolean
The "isCommitted" property, of type "Edm.Boolean".
This property is on the "microsoft.graph.mobileAppContentFile" type.
A value indicating whether the file is committed.
System.DateTimeOffset
The "createdDateTime" property, of type "Edm.DateTimeOffset".
This property is on the "microsoft.graph.mobileAppContentFile" type.
The time the file was created.
System.String
The "name" property, of type "Edm.String".
This property is on the "microsoft.graph.mobileAppContentFile" type.
the file name.
System.Int64
The "size" property, of type "Edm.Int64".
This property is on the "microsoft.graph.mobileAppContentFile" type.
The size of the file prior to encryption.
System.Int64
The "sizeEncrypted" property, of type "Edm.Int64".
This property is on the "microsoft.graph.mobileAppContentFile" type.
The size of the file after encryption.
System.DateTimeOffset
The "azureStorageUriExpirationDateTime" property, of type "Edm.DateTimeOffset".
This property is on the "microsoft.graph.mobileAppContentFile" type.
The time the Azure storage Uri expires.
System.Byte[]
The "manifest" property, of type "Edm.Binary".
This property is on the "microsoft.graph.mobileAppContentFile" type.
The manifest information.
System.String
The "uploadState" property, of type "microsoft.graph.mobileAppContentFileUploadState".
This property is on the "microsoft.graph.mobileAppContentFile" type.
The state of the current upload request.
Valid values: 'success', 'transientError', 'error', 'unknown', 'azureStorageUriRequestSuccess',
'azureStorageUriRequestPending', 'azureStorageUriRequestFailed', 'azureStorageUriRequestTimedOut',
'azureStorageUriRenewalSuccess', 'azureStorageUriRenewalPending', 'azureStorageUriRenewalFailed',
'azureStorageUriRenewalTimedOut', 'commitFileSuccess', 'commitFilePending', 'commitFileFailed',
'commitFileTimedOut'
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
SYNOPSIS
Creates a "microsoft.graph.mobileAppContentFile" object.
SYNTAX
New-DeviceAppManagement_MobileApps_ContentVersions_Files -mobileAppContentId <string> -mobileAppId <string>
-mobileAppODataType <string> [-azureStorageUri <string>] [-azureStorageUriExpirationDateTime <DateTimeOffset>]
[-createdDateTime <DateTimeOffset>] [-isCommitted <bool>] [-manifest <byte[]>] [-name <string>] [-size <long>]
[-sizeEncrypted <long>] [-uploadState <string>] [<CommonParameters>]
New-DeviceAppManagement_MobileApps_ContentVersions_Files -mobileAppContentId <string> -mobileAppId <string>
-mobileAppODataType <string> -ODataType <string> [-azureStorageUri <string>] [-azureStorageUriExpirationDateTime
<DateTimeOffset>] [-createdDateTime <DateTimeOffset>] [-isCommitted <bool>] [-manifest <byte[]>] [-name <string>]
[-size <long>] [-sizeEncrypted <long>] [-uploadState <string>] [<CommonParameters>]
DESCRIPTION
Adds a "microsoft.graph.mobileAppContentFile" object to the "files" collection.
The list of files for this app content version.
Graph call: POST
~/deviceAppManagement/mobileApps/{mobileAppId}/{mobileAppODataType}/contentVersions/{mobileAppContentId}/files
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
-mobileAppContentId <string>
A required ID for referencing a "microsoft.graph.mobileAppContent" object in the "contentVersions" collection.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-azureStorageUri <string>
The "azureStorageUri" property, of type "Edm.String".
This property is on the "microsoft.graph.mobileAppContentFile" type.
The Azure Storage URI.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-isCommitted <bool>
The "isCommitted" property, of type "Edm.Boolean".
This property is on the "microsoft.graph.mobileAppContentFile" type.
A value indicating whether the file is committed.
Required? false
Position? named
Default value False
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-createdDateTime <DateTimeOffset>
The "createdDateTime" property, of type "Edm.DateTimeOffset".
This property is on the "microsoft.graph.mobileAppContentFile" type.
The time the file was created.
Required? false
Position? named
Default value 1/1/0001 12:00:00 AM +00:00
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-name <string>
The "name" property, of type "Edm.String".
This property is on the "microsoft.graph.mobileAppContentFile" type.
the file name.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-size <long>
The "size" property, of type "Edm.Int64".
This property is on the "microsoft.graph.mobileAppContentFile" type.
The size of the file prior to encryption.
Required? false
Position? named
Default value 0
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-sizeEncrypted <long>
The "sizeEncrypted" property, of type "Edm.Int64".
This property is on the "microsoft.graph.mobileAppContentFile" type.
The size of the file after encryption.
Required? false
Position? named
Default value 0
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-azureStorageUriExpirationDateTime <DateTimeOffset>
The "azureStorageUriExpirationDateTime" property, of type "Edm.DateTimeOffset".
This property is on the "microsoft.graph.mobileAppContentFile" type.
The time the Azure storage Uri 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
-manifest <byte[]>
The "manifest" property, of type "Edm.Binary".
This property is on the "microsoft.graph.mobileAppContentFile" type.
The manifest information.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-uploadState <string>
The "uploadState" property, of type "microsoft.graph.mobileAppContentFileUploadState".
This property is on the "microsoft.graph.mobileAppContentFile" type.
The state of the current upload request.
Valid values: 'success', 'transientError', 'error', 'unknown', 'azureStorageUriRequestSuccess',
'azureStorageUriRequestPending', 'azureStorageUriRequestFailed', 'azureStorageUriRequestTimedOut',
'azureStorageUriRenewalSuccess', 'azureStorageUriRenewalPending', 'azureStorageUriRenewalFailed',
'azureStorageUriRenewalTimedOut', 'commitFileSuccess', 'commitFilePending', 'commitFileFailed',
'commitFileTimedOut'
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.String
A required ID for referencing a "microsoft.graph.mobileAppContent" object in the "contentVersions" collection.
System.String
The "azureStorageUri" property, of type "Edm.String".
This property is on the "microsoft.graph.mobileAppContentFile" type.
The Azure Storage URI.
System.Boolean
The "isCommitted" property, of type "Edm.Boolean".
This property is on the "microsoft.graph.mobileAppContentFile" type.
A value indicating whether the file is committed.
System.DateTimeOffset
The "createdDateTime" property, of type "Edm.DateTimeOffset".
This property is on the "microsoft.graph.mobileAppContentFile" type.
The time the file was created.
System.String
The "name" property, of type "Edm.String".
This property is on the "microsoft.graph.mobileAppContentFile" type.
the file name.
System.Int64
The "size" property, of type "Edm.Int64".
This property is on the "microsoft.graph.mobileAppContentFile" type.
The size of the file prior to encryption.
System.Int64
The "sizeEncrypted" property, of type "Edm.Int64".
This property is on the "microsoft.graph.mobileAppContentFile" type.
The size of the file after encryption.
System.DateTimeOffset
The "azureStorageUriExpirationDateTime" property, of type "Edm.DateTimeOffset".
This property is on the "microsoft.graph.mobileAppContentFile" type.
The time the Azure storage Uri expires.
System.Byte[]
The "manifest" property, of type "Edm.Binary".
This property is on the "microsoft.graph.mobileAppContentFile" type.
The manifest information.
System.String
The "uploadState" property, of type "microsoft.graph.mobileAppContentFileUploadState".
This property is on the "microsoft.graph.mobileAppContentFile" type.
The state of the current upload request.
Valid values: 'success', 'transientError', 'error', 'unknown', 'azureStorageUriRequestSuccess',
'azureStorageUriRequestPending', 'azureStorageUriRequestFailed', 'azureStorageUriRequestTimedOut',
'azureStorageUriRenewalSuccess', 'azureStorageUriRenewalPending', 'azureStorageUriRenewalFailed',
'azureStorageUriRenewalTimedOut', 'commitFileSuccess', 'commitFilePending', 'commitFileFailed',
'commitFileTimedOut'
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