Filtering SPO Sites #819
Answered
by
veronicageek
pratheep-r
asked this question in
Q&A
-
I need to filter multiple SharePoint sites prefixes, can this be done in Get-PnPTenantSite |
Beta Was this translation helpful? Give feedback.
Answered by
veronicageek
Jun 21, 2021
Replies: 1 comment 1 reply
-
@pratheep-r, try this: Get-PnPTenantSite | Where-Object {($_.Url -like "*ABC*") -or ($_.Url -like "*DEF*") -or ($_.Url -like "*XYZ*")} |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
pratheep-r
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@pratheep-r, try this: