ykuijs / SPPeriodicChecks

SharePoint Periodic Checks
GNU General Public License v3.0
4 stars 2 forks source link

Check 22- web application filter #21

Open JvanderMeer-GitHub opened 3 years ago

JvanderMeer-GitHub commented 3 years ago

$webapplicationFillfactorExclusion = @("sharepoint.contoso.com","mysite.contoso.com") $webapplications = Get-SPWebApplication -ErrorAction SilentlyContinue | Where-Object { $_.URL -notmatch ($webapplicationFillfactorExclusion -join "|") }

ykuijs commented 3 years ago

Great addition. Will add this to the script.