Il seguente script PowerShell, permette di elencare tutte le directory contenute in ...12\TEMPLATE\FEATURES di SharePoint 2007 (WSS3 - MOSS) visualizzando l'ID della feature, lo scope e il nome della directory

PowerShell

Get-ChildItem * | foreach { 
  $n = $_.Name; 
  [xml]$x = get-content "$n\Feature.xml";
  write-output "$($x.Feature.Id) - $($x.Feature.Scope) - $($_.Name)" 
}
Tags:
PowerShell199 SharePoint497 SharePoint 2007218
Potrebbe interessarti anche: