Replies: 2 comments 4 replies
-
@haneef95 - Try |
Beta Was this translation helpful? Give feedback.
2 replies
-
Where-Object is taking the object from the pipeline of the Get-PnPTenantSite, so yes, it will fetch all sites first.
You should be able to do it like this:
Get-PnPTenantSite -Template "REDIRECTSITE#0"
For the same result, but faster if you have many site collections
Fra: Haneef ***@***.***>
Sendt: Friday, 29 October 2021 11.27
Til: pnp/powershell ***@***.***>
Cc: Subscribed ***@***.***>
Emne: Re: [pnp/powershell] What is the PnP equivalent of Get-SPOSite -Template REDIRECTSITE#0? (Discussion #1300)
Thanks, will give that a shot. But, that's client side filtering right? So, it's downloading the whole list, before only displaying a portion of it?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#1300 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAMTDTUY47K2U53KMYZU4T3UJJZILANCNFSM5GYF7D4Q>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I would like to know the PnP equivalent of this command:
Get-SPOSite -Template REDIRECTSITE#0
Follow up from: https://github.com/MicrosoftDocs/OfficeDocs-SharePoint/issues/3018
Thanks,
Beta Was this translation helpful? Give feedback.
All reactions