$activeFeatures = Get-SPFeature -Site "http://sitecollectionUrl"
$allSiteFeatures | ForEach-Object {
$active = $false
foreach($feature in $activeFeatures)
{
if($feature.Id.ToString() -eq $_.Id.ToString())
{
$active = $true
}
}
if(!$active)
{
$_ | DisplayName,ID
}
}
No hay comentarios:
Publicar un comentario