Skip to content

Commit c6f2798

Browse files
authored
Update description.md
1 parent 4920a65 commit c6f2798

File tree

1 file changed

+5
-14
lines changed
  • Site Management/Recycle Bin/Restore All Files from a Given Site

1 file changed

+5
-14
lines changed
Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,16 @@
11
Powershell script that loops through all files and items deleted from a single site and present in the recycle bin of that site. All files are restored.
22

3-
4-
5-
Works with group sites!
6-
7-
8-
9-
10-
11-
12-
13-
3+
**Works with group sites!**
144

15-
The script requires SharePoint Online SDK. After installing the SDK verify if the path to 2 libraries: Client.dll and Client.Runtime.dll are in the same location as below:
5+
The script requires [SharePoint Online SDK](https://www.microsoft.com/en-us/download/details.aspx?id=42038). After installing the SDK verify if the path to 2 libraries: Client.dll and Client.Runtime.dll are in the same location as below:
166

17-
(usually if not, they will be under 16\ISAPI\)
7+
(usually if not, they will be under **16**\ISAPI\)
188

199

2010

2111

2212

23-
PowerShell
13+
```PowerShell
2414
# Paths to SDK. Please verify location on your computer.
2515
Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.dll"
2616
Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.Runtime.dll"
@@ -29,5 +19,6 @@ Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extens
2919
$Username="2190@sampletenant.onmicrosoft.com"
3020
$AdminPassword=Read-Host -Prompt "Password" -AsSecureString
3121
$AdminUrl="https://sampletenant.sharepoint.com/sites/dgd"
22+
```
3223
Insert the credentials before running the script.
3324

0 commit comments

Comments
 (0)