Skip to content

Commit

Permalink
rel: admintoolbox.office365 4.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTaylorLee committed Sep 13, 2024
1 parent 988026a commit afe312c
Show file tree
Hide file tree
Showing 2 changed files with 4 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 @@ -220,4 +220,5 @@
* **4.0.32** CI Maintenance Release
* **4.0.33** CI Maintenance Release
* **4.1.0** Update pnp module functions to login using the new app registration method.
* **4.1.1** CI Maintenance Release
* **4.1.1** CI Maintenance Release
* **4.1.2** Add size unit descriptors to pscustomobject File Size results
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function Remove-VersionHistoryOlderThan {
[PSCustomObject]@{
Deleted = Write-Output "true"
VersionLabel = $version.VersionLabel
FileSize = "{0}" -f ($version.Size / 1MB)
FileSizeMB = "{0}" -f ($version.Size / 1MB)
FileName = $item.FieldValues.FileLeafRef
FullPath = $item.FieldValues.FileRef
ListName = $listName
Expand All @@ -91,7 +91,7 @@ function Remove-VersionHistoryOlderThan {
[PSCustomObject]@{
Deleted = Write-Output "false"
VersionLabel = $version.VersionLabel
FileSize = $null
FileSizeMB = $null
FileName = $item.FieldValues.FileLeafRef
FullPath = $item.FieldValues.FileRef
ListName = $listName
Expand Down

0 comments on commit afe312c

Please sign in to comment.