en-us/about_SPAppCatalog.help.txt
.NAME
SPAppCatalog .DESCRIPTION This resource will ensure that a specific site collection is marked as the app catalog for the web application that the site is in. The catalog site needs to have been created using the correct template (APPCATALOG#0). .PARAMETER SiteUrl Key - string The URL of the site collection that will be the app catalog for the web app that it is in .PARAMETER InstallAccount Write - String POWERSHELL 4 ONLY: The account to run this resource as, use PsDscRunAsCredential if using PowerShell 5 .EXAMPLE This example shows how to apply specific anti-virus configuration to the farm Configuration Example { param( [Parameter(Mandatory = $true)] [PSCredential] $SetupAccount ) Import-DscResource -ModuleName SharePointDsc node localhost { SPAppCatalog MainAppCatalog { SiteUrl = "https://content.sharepoint.contoso.com/sites/AppCatalog" PsDscRunAsCredential = $SetupAccount } } } |