Ensure a purchased app is available in all site collections

I have purchased an app and need to make sure it s available in all site collections within a web application.  Firstly I import the app package using the Import-SPAppPackage cmdlet:

$spapp = Import-SPAppPackage -Path C:\MyApp.spapp -Site http://portal.lab.local -Source Marketplace

Then install it using the Install-SPApp cmdlet:

Install-SPApp -Web http://portal.lab.local -Identity $spapp

 

Note: application packages can be exported from the content database using the Export-SPAppPackage cmdlet

[BlogBookmark] [Blogsvine] [del.icio.us] [Digg] [Facebook] [Furl] [Google] [LinkedIn] [MySpace] [Reddit] [Slashdot] [StumbleUpon] [Twitter] [Windows Live] [Yahoo!] [Email]