Maintain control of your Microsoft 365 data
Post Reply
Gnynot
Lurker
Posts: 2
Liked: never
Joined: May 11, 2021 3:47 am
Full Name: Tony ng
Contact:

How to get-vespdocumentlibrary to a specific Doclib

Post by Gnynot »

Support id 04787051
I'm using this command to get the document library
Get-VESPDocumentLibrary -Organization $organization -Name Documents

As you can imagine Documents will have hundreds of sites when it shows up. How would I use some other descriptor to specific a specific site? If that is not possible how would I save all of the Document library in a different folder with this command?
Get-VESPDocumentLibrary -Organization $organization -Name Documents | Save-VESPItem -path C:\restore
Polina
Veeam Software
Posts: 3191
Liked: 774 times
Joined: Oct 21, 2011 11:22 am
Full Name: Polina Vasileva
Contact:

Re: How to get-vespdocumentlibrary to a specific Doclib

Post by Polina »

Hi Tony,

If I understand it right, you would like to narrow down the outcome of the Get-VESPDocumentLibrary cmdlet to a specific site, right?

In such a case, you need to specify the site as described here (see Example 4).
Post Reply

Who is online

Users browsing this forum: No registered users and 19 guests