Get-PnpSubWeb for 2.000 subsites freeze Powershell 7.3 #3283
Replies: 1 comment
-
for a smaller site it succeeds. maybe due to around 42.000 subsites it takes a really long time. |
Beta Was this translation helpful? Give feedback.
0 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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey guys,
I am trying to get all subsites of my site collection.
At the moment it has the max. limit of subsites reached.
my Site has this structure:
sharepoint.com/site/subsite1/subsite2/subsite3
Now I want to get all of them and want to delete a few by filtering them out.
Unfortunately the
Get-PnpSubWeb
with-Identity subsite1
parameter runs until infinity and freezes my powershell session.Without the
Identity
it returns the number of child1 subsites (see structure)this is my short code:
Could this be a bug in the cmdlet?
Beta Was this translation helpful? Give feedback.
All reactions