diff --git a/Lists and Libraries Management/Set the direction of the reading order/For All Lists/description.md b/Lists and Libraries Management/Set the direction of the reading order/For All Lists/description.md index d16a43d3..a31c7b61 100644 --- a/Lists and Libraries Management/Set the direction of the reading order/For All Lists/description.md +++ b/Lists and Libraries Management/Set the direction of the reading order/For All Lists/description.md @@ -42,7 +42,7 @@ $Direction="rtl" Results: - + diff --git a/Lists and Libraries Management/Versioning/Create a report on all file versions in the library/description.md b/Lists and Libraries Management/Versioning/Create a report on all file versions in the library/description.md index fa7182f8..a54ece0f 100644 --- a/Lists and Libraries Management/Versioning/Create a report on all file versions in the library/description.md +++ b/Lists and Libraries Management/Versioning/Create a report on all file versions in the library/description.md @@ -14,7 +14,7 @@ You have to enter the library data before running the script: -PowerShell +```PowerShell #Paths to SDK Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.dll" Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.Runtime.dll" @@ -28,7 +28,7 @@ $csvPath="C:\Users\ivo\Desktop\testpath4.csv" $csvPath2="C:\Users\ivo\Desktop\FileThatShowNoVersionsAvailable4.csv" Get-sPOFolderFiles -Username $username -Url $Url -password $AdminPassword -ListTitle $ListTitle -CSVPath $csvPath -CSVPath2 $csvPath2 - +``` $Url specifies the url of the site with the library @@ -41,17 +41,14 @@ The report generates 2 files. One - the main file - with all versions available. -Sample Report: - - +### Sample Report + - - -Related scripts: +### Related scripts Create a report on file versions @@ -62,4 +59,5 @@ Create a report on file versions - +

+Enjoy and please share feedback! diff --git a/Lists and Libraries Management/Versioning/Create a report on file versions in library or folder/description.md b/Lists and Libraries Management/Versioning/Create a report on file versions in library or folder/description.md index 22c191c1..b1e66db0 100644 --- a/Lists and Libraries Management/Versioning/Create a report on file versions in library or folder/description.md +++ b/Lists and Libraries Management/Versioning/Create a report on file versions in library or folder/description.md @@ -2,9 +2,6 @@ Powershell script that generates a report on available file versions in one Shar - - - It requires installed SharePoint Online SDK @@ -12,7 +9,7 @@ You have to enter the library data before running the script: -PowerShell +```PowerShell #Paths to SDK Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.dll" Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.Runtime.dll" @@ -24,7 +21,7 @@ $Url="https://trialtrial125.sharepoint.com/sites/teamsitewithlibraries" $FolderUrl="/sites/TeamsiteWithLibraries/Not-Empty-Document-Library" $csvPath="C:\Users\ivo\Desktop\testpath.csv" $csvPath2="C:\Users\ivo\Desktop\FileThatShowNoVersionsAvailable.csv" - +``` $FolderUrl in the example is a root folder. If you need to retrieve files from any other folder, you need to add /FolderName, e.g. "/sites/TeamsiteWithLibraries/Not-Empty-Document-Library/MySampleFolder" @@ -37,12 +34,13 @@ The report generates 2 files. One - the main file - with all versions available. -Sample report: +## Sample report - - + - + +

+Enjoy and please share feedback! diff --git a/Lists and Libraries Management/Versioning/Delete all previous file versions in a library/description.md b/Lists and Libraries Management/Versioning/Delete all previous file versions in a library/description.md index 1ca25f85..05beb519 100644 --- a/Lists and Libraries Management/Versioning/Delete all previous file versions in a library/description.md +++ b/Lists and Libraries Management/Versioning/Delete all previous file versions in a library/description.md @@ -20,7 +20,7 @@ You have to enter the library data before running the script: -PowerShell +```PowerShell #Paths to SDK Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.dll" Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.Runtime.dll" @@ -31,6 +31,7 @@ $username="trial@trialtrial125.onmicrosoft.com" $Url="https://trialtrial125.sharepoint.com/sites/teamsitewithlibraries" $ListTitle="Not-Empty-Document-Library" $csvPath="C:\Users\ivo\Desktop\testpath114.csv" +``` $Url specifies the url of the site with the library @@ -41,21 +42,14 @@ The script will generate a report that states whether any versions were found an -Sample report: - - +### Sample report + - - - - - - -Related scripts: +### Related scripts Create a report on file versions @@ -66,6 +60,6 @@ Create a report on all file versions in the library - +

+Enjoy and please share feedback! -Please share your feedback in the Q&A section! diff --git a/Lists and Libraries Management/Versioning/Enable minor and major versions for all lists in one site/description.md b/Lists and Libraries Management/Versioning/Enable minor and major versions for all lists in one site/description.md index 7e11b54c..9aeb00bd 100644 --- a/Lists and Libraries Management/Versioning/Enable minor and major versions for all lists in one site/description.md +++ b/Lists and Libraries Management/Versioning/Enable minor and major versions for all lists in one site/description.md @@ -10,7 +10,7 @@ It requires installed SharePoint Online SDK You have to enter the site data before running the script: -PowerShell +```PowerShell # Paths to SDK. Please verify location on your computer. Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.dll" Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.Runtime.dll" @@ -20,8 +20,8 @@ $Username="trial@trialtrial125.onmicrosoft.com" $AdminPassword=Read-Host -Prompt "Enter password" -AsSecureString $Url="https://trialtrial125.sharepoint.com/sites/teamsitewithlibraries" $Versioning=$true - -Minor versions are avilable for libraries mainly, so trying to enable it in a list will throw an error (behavoiur by design) +``` +Minor versions are avilable for libraries mainly, so trying to enable it in a list will throw an error (behaviour by design) @@ -34,7 +34,7 @@ Full description of the script is available in the article Versioning and Share -Related scripts +## Related scripts Enable versioning for all lists in one site @@ -50,3 +50,9 @@ SharePoint Module for lists, items and files Disable versioning for all lists in SharePoint Online tenant (C#) Enable versioning for all lists in SharePoint Online tenant (C#) + + + + +

+Enjoy and please share feedback! \ No newline at end of file diff --git a/Lists and Libraries Management/Versioning/Enable minor versions using Powershell and CSOM/description.md b/Lists and Libraries Management/Versioning/Enable minor versions using Powershell and CSOM/description.md index db8743bf..741f330f 100644 --- a/Lists and Libraries Management/Versioning/Enable minor versions using Powershell and CSOM/description.md +++ b/Lists and Libraries Management/Versioning/Enable minor versions using Powershell and CSOM/description.md @@ -10,7 +10,7 @@ You have to enter the library data before running the script: -PowerShell +```PowerShell # Paths to SDK. Please verify location on your computer. Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.dll" Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.Runtime.dll" @@ -21,7 +21,7 @@ $username="trial@trialtrial125.onmicrosoft.com" $Url="https://trialtrial125.sharepoint.com/sites/teamsitewithlibraries" $ListTitle="Not-Empty-Document-Library" $Versioning=$true - +``` Full description of the script is available in the article Versioning and SharePoint: the Powershell perspective @@ -30,7 +30,7 @@ Full description of the script is available in the article Versioning and Share -Related scripts +## Related scripts Enable minor versions for all SharePoint Online lists using Powershell @@ -44,3 +44,8 @@ SharePoint Module for lists, items and files Disable versioning for all lists in SharePoint Online tenant (C#) Enable versioning for all lists in SharePoint Online tenant (C#) + + + +

+Enjoy and please share feedback! \ No newline at end of file diff --git a/Lists and Libraries Management/Versioning/Enable versioning for all lists in one site/description.md b/Lists and Libraries Management/Versioning/Enable versioning for all lists in one site/description.md index 8f7ae675..6112dfbf 100644 --- a/Lists and Libraries Management/Versioning/Enable versioning for all lists in one site/description.md +++ b/Lists and Libraries Management/Versioning/Enable versioning for all lists in one site/description.md @@ -10,7 +10,7 @@ You have to enter the library/list data before running the script: -PowerShell +```PowerShell # Paths to SDK. Please verify location on your computer. Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.dll" Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.Runtime.dll" @@ -20,7 +20,7 @@ $Username="trial@trialtrial123.onmicrosoft.com" $AdminPassword=Read-Host -Prompt "Enter password" -AsSecureString $Url="https://trialtrial123.sharepoint.com/sites/teamsitewithlists" $Versioning=$true - +``` Full description of the script is available in the article Versioning and SharePoint: the Powershell perspective @@ -29,7 +29,7 @@ Full description of the script is available in the article Versioning and Share -Related scripts +## Related scripts Enable minor versions for all SharePoint Online lists using Powershell @@ -45,3 +45,5 @@ Disable versioning for all lists in SharePoint Online tenant (C#) Enable versioning for all lists in SharePoint Online tenant (C#) +

+Enjoy and please share feedback! \ No newline at end of file diff --git a/Lists and Libraries Management/Versioning/Enable versioning for one list/description.md b/Lists and Libraries Management/Versioning/Enable versioning for one list/description.md index 5108cc71..83f59aca 100644 --- a/Lists and Libraries Management/Versioning/Enable versioning for one list/description.md +++ b/Lists and Libraries Management/Versioning/Enable versioning for one list/description.md @@ -10,14 +10,14 @@ You have to enter the library/list data before running the script: -PowerShell +```PowerShell # Insert the credentials and the name of the site and list $AdminPassword=Read-Host -Prompt "Enter password" -AsSecureString $username="trial@trialtrial125.onmicrosoft.com" $Url="https://trialtrial125.sharepoint.com/sites/teamsitewithlibraries" $ListTitle="Not-Empty-Document-Library" $Versioning=$true - +``` @@ -28,7 +28,7 @@ Full description of the script is available in the article Versioning and Share -Related scripts +## Related scripts Enable minor versions for all SharePoint Online lists using Powershell @@ -42,3 +42,8 @@ SharePoint Module for lists, items and files Disable versioning for all lists in SharePoint Online tenant (C#) Enable versioning for all lists in SharePoint Online tenant (C#) + + + +

+Enjoy and please share feedback! \ No newline at end of file