Creating the “App Management Service” for Sharepoint 2013 via Powershell is quite simple. All you need are some power shell lines:
At first define some variables
$saAppPoolName = "SharePoint Web Services System"
$appsInstanceName = "AppManagementServiceInstance"
$appsName = "App Management Service"
$appsDBName = "EMEA_SharePoint_Farm_AppManagement"
After that we need to fetch the appplication pool for the service application endpoint via
$saAppPool = Get-SPServiceApplicationPool $saAppPoolName
Once that done we can creating the application and proxy via
Get-SPServiceInstance | where{$_.GetType().Name -eq $appsInstanceName} | Start-SPServiceInstance
$appAppSvc = New-SPAppManagementServiceApplication -ApplicationPool $saAppPool -Name $appsName -DatabaseName $appsDBName
$proxyAppSvc = New-SPAppManagementServiceApplicationProxy -ServiceApplication $appAppSvc -Name "$appsName Proxy"
Â