File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Lists and Libraries Management/Allow list to be deleted Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ How to use the script?
1616
17172 . 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.
2121Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.dll"
2222Add-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+ ```
30303 . Define whether you want to allow the list to be deleted ($true):
3131
32- PowerShell
32+ ``` PowerShell
3333$lista.AllowDeletion = $false
34-
34+ ```
You can’t perform that action at this time.
0 commit comments