During the BOF last week @ #ITDevCon i briefly talked about creating a couple of managed apps using PowerShell in ConfigMgr. Below are a few examples, open PowerShell ISE aas administrator and magic happens
#Import Module
Import-Module $env:SMS_ADMIN_UI_PATH.Replace("\bin\i386","\bin\configurationmanager.psd1")
$SiteCode = Get-PSDrive -PSProvider CMSITE
Set-Location "$($SiteCode.Name):\"
#Create the Word Application
New-CMApplication -Name "Word"
#To create a iOS deployment type for the application
Add-CMDeploymentType -ApplicationName "Word" -AutoIdentifyFromInstallationFile -IosDeepLinkInstaller -DeploymentTypeName "Word iOS" -InstallationFileLocation "https://itunes.apple.com/us/app/microsoft-word/id586447913?mt=8" -ForceForUnknownPublisher $True
#Create the OneNote Application
New-CMApplication -Name "OneNote"
#To create a iOS deployment type for the application
Add-CMDeploymentType -ApplicationName "OneNote" -AutoIdentifyFromInstallationFile -IosDeepLinkInstaller -DeploymentTypeName "OneNote iPhone" -InstallationFileLocation "https://itunes.apple.com/us/app/microsoft-onenote-for-iphone/id410395246?mt=8" -ForceForUnknownPublisher $True
Add-CMDeploymentType -ApplicationName "OneNote" -AutoIdentifyFromInstallationFile -IosDeepLinkInstaller -DeploymentTypeName "OneNote iPad" -InstallationFileLocation "https://itunes.apple.com/us/app/microsoft-onenote-for-ipad/id478105721?mt=8" -ForceForUnknownPublisher $True
#Create the OneDrive Application
New-CMApplication -Name "OneDrive"
Add-CMDeploymentType -ApplicationName "OneDrive" -AutoIdentifyFromInstallationFile -AndroidDeepLinkInstaller -DeploymentTypeName "OneDrive Google" -InstallationFileLocation "https://play.google.com/store/apps/details?id=com.microsoft.skydrive" -ForceForUnknownPublisher $True
Add-CMDeploymentType -ApplicationName "OneDrive" -AutoIdentifyFromInstallationFile -IosDeepLinkInstaller -DeploymentTypeName "OneDrive iOS" -InstallationFileLocation "https://itunes.apple.com/us/app/onedrive/id477537958?mt=8" -ForceForUnknownPublisher $True
#Create the Office Application
New-CMApplication -Name "Office Google"
# To create a Goggle Play deployment type for the application
Add-CMDeploymentType -ApplicationName "Office Google" -AutoIdentifyFromInstallationFile -AndroidDeepLinkInstaller -DeploymentTypeName "Office" -InstallationFileLocation "https://play.google.com/store/apps/details?id=com.microsoft.office.officehub" -ForceForUnknownPublisher $True
#Create the Browser Application
New-CMApplication -Name "Intune Browser"
Add-CMDeploymentType -ApplicationName "Intune Browser" -AutoIdentifyFromInstallationFile -IosDeepLinkInstaller -DeploymentTypeName "Intune Browser iOS" -InstallationFileLocation "https://itunes.apple.com/us/app/microsoft-intune-managed-browser/id943264951?mt=8" -ForceForUnknownPublisher $True
Add-CMDeploymentType -ApplicationName "Intune Browser" -AutoIdentifyFromInstallationFile -AndroidDeepLinkInstaller -DeploymentTypeName "Intune Browser Google" -InstallationFileLocation "https://play.google.com/store/apps/details?id=com.microsoft.intune.mam.managedbrowser&hl=en" -ForceForUnknownPublisher $True