PowerShell Cmdlets / REST API Enhancements
The following new PowerShell Cmdlets and REST APIs have been added:
POWERSHELL CMDLETS |
REST API |
DESCRIPTION |
Invoke-ASMigration |
http://localhost:8086/catalog/ASMigration/?TargetGroup=Test&DestinationConnectionName= |
When you run this Cmdlets or API, it converts an application to intunewin format, and then publish to Intune distribution system. |
Get-ASExtendedAttribute |
http://localhost:8086/catalog/ASExtendedAttribute/?PackageId=6&AttributeName=ApplicationType |
When you run this Cmdlets or API, it returns the extended attribute value for the package. |
Set-ASExtendedAttribute |
http://localhost:8086/catalog/ASExtendedAttribute/?PackageId=6&AttributeName= |
When you run this Cmdlets or API, it updates the value of an extended attribute for the package. |
Add-ASExtendedAttribute |
http://localhost:8086/catalog/ASAddExtendedAttribute/?PackageId= |
When you run this Cmdlets or API, it adds the new extended attribute to the package. |
Remove-ASExtendedattribute |
http://localhost:8086/catalog/ASExtendedAttribute/?PackageId=8&AttributeName=Sample |
When you run this Cmdlets or API, it removes the newly added extended attribute of the package. |
Get-ASAssignments |
http://localhost:8086/Catalog/ASAssignments/? ApplicationID=<ApplicationID> |
When you run this Cmdlets or API, it returns all assignments available for the specified application. |
Set-ASAssignments |
http://localhost:8086/Catalog/ASAssignments/?ApplicationID= <ApplicationIDincatalog>&InstallIntent=<Required/Availbleforenrolleddevices>&GroupMode=
http://localhost:8086/Catalog/ASAssignments/?ApplicationID= <ApplicationIDincatalog>&AssignmentID=<ExisitngAssignment>&GroupMode= |
When you run this Cmdlets or API, it add new assignment or update the existing assignments for the specified application. |
Remove-ASAssignments |
http://localhost:8086/Catalog/ASAssignments/?AssignmentID=<AssignmentID> |
When you run this Cmdlets or API, it delete specified Intune assignment for an Application. |
Get-ASIntuneGroups |
http://localhost:8086/Catalog/ASIntuneGroups/?ConnectionName=<IntuneConnectionName> |
When you run this API, it returns all groups present in Intune, including IntuneGroupId and Group Name. |
The following existing PowerShell cmdlet has an extended support:
POWERSHELL CMDLETS |
REST API |
DESCRIPTION |
||||||
Invoke-ASPublish |
http://localhost:8086/catalog/publish/<application Id>?ConnectionName= |
The following new input parameter has been added:
In PowerShell Cmdlet, if PublishAssignment is set to 1, then it will publish assignments to Intune. In REST API, if PublishAssignment is set to True, then it will publish assignments to Intune. |
||||||
Get-ASOptionProperty Set-ASOptionProperty |
http://localhost:8086/Catalog/ASOptionsProperty/?optionType= |
The following new input parameter has been added:
|
||||||
Invoke-ASConvertPackage |
http://localhost:8086/catalog/deploymenttypes/conversions |
When you run this Cmdlets or API, it will convert App-V packages to MSIX format. |
||||||
New-ASDistributionConnectionEx |
http://localhost:8086/catalog/distributionconnections |
The following new input parameter has been added:
|