Skip to content

Commit

Permalink
fix: set-sharepointversionlimits
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTaylorLee committed Apr 20, 2024
1 parent 3967fd6 commit 0ce8948
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion modules/AdminToolbox.Office365/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,4 +187,5 @@
* **3.1.92** CI Maintenance Release
* **4.0.0** Added four Sharepoint functions to help with managing storage quotas. The purpose is to get a better control on existing file versions and free up space.
* **4.0.1** CI Maintenance Release
* **4.0.2** Update get-versionhistoryreport parameters to be consistent with other sharepoint functions.
* **4.0.2** Update get-versionhistoryreport parameters to be consistent with other sharepoint functions.
* **4.0.3** Fix Set-SharepointVersionLimits variable
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ function Set-SharepointVersionLimits {


foreach ($site in $sites) {
$siteUrl = $site.Url
Connect-PnPOnline $siteUrl -Interactive -erroraction SilentlyContinue
Connect-PnPOnline $site -Interactive

### Get the Library
$Library = Get-PnPList -Identity $ListName
Expand Down

0 comments on commit 0ce8948

Please sign in to comment.