Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $TTNExcludeLists = "Solution Gallery",
- "Workflow Tasks",
- "Master Page Gallery"
- Get-SPSite -Limit All | Get-SPWeb -Limit All |
- Select -ExpandProperty Lists |
- Where { -Not ($TTNExcludeLists -Contains $_.Title) } |
- Select -ExpandProperty Fields |
- Where { $_.TypeDisplayName -eq "Lookup" -and
- $_.Hidden -eq $false -and
- $_.FromBaseType -eq $false } |
- Select {$_.ParentList.ParentWebUrl},
- {$_.ParentList},
- Title | Sort-Object Title | Format-table -AutoSize -wrap
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement