Timeline for Looking for a PowerShell Script to "Display this document library on the Quick Launch?"
Current License: CC BY-SA 4.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 9, 2023 at 23:13 | vote | accept | Scott | ||
| Feb 9, 2023 at 6:50 | comment | added | Ganesh Sanap - MVP | You're welcome. Glad it helped you! | |
| Feb 8, 2023 at 23:39 | comment | added | Scott | Thank you Ganesh - you have been most helpful | |
| Feb 3, 2023 at 6:47 | comment | added | Ganesh Sanap - MVP | You can get all document libraries using: $DocumentLibraries = Get-PnPList | Where-Object {$_.BaseTemplate -eq 101 -and $_.Hidden -eq $false} #Or $_.BaseType -eq "DocumentLibrary" and then loop on the results to add it in quick launch. | |
| Feb 3, 2023 at 5:03 | comment | added | Scott | Hi Ganesh. Yes, this will work, but it does require manually adding every single document Library name into the script. Given I batch 11 SPO sites at a time and each one will have 10 to 20 document libraries, I was hoping to find a script that looks in the 'Site Contents' to get the library names. Otherwise, I may as well keep doing it the manual way - Library by Library. Thanks anyway. | |
| Feb 3, 2023 at 2:48 | history | answered | Ganesh Sanap - MVP | CC BY-SA 4.0 |