script-samples icon indicating copy to clipboard operation
script-samples copied to clipboard

đŸ’¡Query advanced CSOM properties with PnP PowerShell

Open jackpoz opened this issue 1 year ago • 0 comments

Query advanced CSOM properties with PnP PowerShell. PowerShell supports .NET types and can even compile C# code, so in cases where having as few as possible CSOM queries is needed (for example tenant inventory with 10'000+ site collections), one can rely to C# CSOM and call a single Invoke-PnPQuery instead of multiple Get-PnPProperty calls. This supports C# LINQ Include to traverse the tree of properties.

jackpoz avatar Apr 06 '24 14:04 jackpoz