獲取網站集上的所有已安裝功能
Get-SPFeature -Site https://mysharepointsite/sites/test
Get-SPFeature 也可以在 Web 範圍(-Web <WebUrl>),伺服器範圍(-Farm)和 Web 應用程式範圍(-WebApplication <WebAppUrl>)上執行。
獲取網站集上的所有孤立功能
Get-SPFeature 的另一種用法是找到沒有範圍的所有功能:
Get-SPFeature -Site https://mysharepointsite/sites/test |? { $_.Scope -eq $null )