Open JvanderMeer-GitHub opened 3 years ago
$webapplicationFillfactorExclusion = @("sharepoint.contoso.com","mysite.contoso.com") $webapplications = Get-SPWebApplication -ErrorAction SilentlyContinue | Where-Object { $_.URL -notmatch ($webapplicationFillfactorExclusion -join "|") }
Great addition. Will add this to the script.
$webapplicationFillfactorExclusion = @("sharepoint.contoso.com","mysite.contoso.com") $webapplications = Get-SPWebApplication -ErrorAction SilentlyContinue | Where-Object { $_.URL -notmatch ($webapplicationFillfactorExclusion -join "|") }