Skip to content

Commit a9a3d0e

Browse files
Update README.md
1 parent 8417f95 commit a9a3d0e

File tree

1 file changed

+4
-4
lines changed
  • Lists and Libraries Management/Allow list to be deleted

1 file changed

+4
-4
lines changed

Lists and Libraries Management/Allow list to be deleted/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ How to use the script?
1616

1717
2. Enter the connection data to your tenant and the paths to appropriate SDK libraries:
1818

19-
PowerShell
19+
```PowerShell
2020
# Paths to SDK. Please verify location on your computer.
2121
Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.dll"
2222
Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.Runtime.dll"
@@ -26,9 +26,9 @@ $Username="ana@etr56.onmicrosoft.com"
2626
$AdminPassword=Read-Host -Prompt "Password" -AsSecureString
2727
$Url="https://etr56.sharepoint.com/sites/testflow"
2828
$ListTitle="Customers"
29-
29+
```
3030
3. Define whether you want to allow the list to be deleted ($true):
3131

32-
PowerShell
32+
```PowerShell
3333
$lista.AllowDeletion = $false
34-
34+
```

0 commit comments

Comments
 (0)