Skip to content

Filtering SPO Sites #819

Answered by veronicageek
pratheep-r asked this question in Q&A
Jun 16, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

@pratheep-r, try this:

Get-PnPTenantSite | Where-Object {($_.Url -like "*ABC*") -or ($_.Url -like "*DEF*") -or ($_.Url -like "*XYZ*")}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@pratheep-r
Comment options

Answer selected by pratheep-r
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants