en-US/about_xSPWebAppSiteUseAndDeletion.help.txt

NAME
    xSPWebAppSiteUseAndDeletion
 
PARAMETERS
    Url (Key, string)
    SendUnusedSiteCollectionNotifications (write, boolean)
    UnusedSiteNotificationPeriod (write, uint32)
    AutomaticallyDeleteUnusedSiteCollections (write, boolean)
    UnusedSiteNotificationsBeforeDeletion (write, uint32)
    InstallAccount (Write, string)
 
DESCRIPTION
 
This resource is responsible for controlling the Site Use and Deletion settings on a specific web application.
You can enable or disable the Site Use and Deletion feature, specify the amount of days after which the alerts are being send, if sites have to be deleted automatically and if so after how many days this has to be done.
 
EXAMPLE
 
    xSPWebAppSiteUseAndDeletion ConfigureSiteUseAndDeletion
    {
        Url = "http://example.contoso.local"
        SendUnusedSiteCollectionNotifications = $true
        UnusedSiteNotificationPeriod = 90
        AutomaticallyDeleteUnusedSiteCollections = $true
        UnusedSiteNotificationsBeforeDeletion = 24
        PsDscRunAsCredential = $InstallAccount
    }