diff --git a/MnCommonPsToolLib/MnCommonPsToolLib.psd1 b/MnCommonPsToolLib/MnCommonPsToolLib.psd1 index f8381b8..880c3ab 100644 --- a/MnCommonPsToolLib/MnCommonPsToolLib.psd1 +++ b/MnCommonPsToolLib/MnCommonPsToolLib.psd1 @@ -34,7 +34,7 @@ } #HelpInfoURI = ''; - ModuleVersion = '7.66'; + ModuleVersion = '7.67'; <# Releasenotes @@ -43,6 +43,7 @@ Major version will reflect breaking changes, minor identifies extensions and third number identifies urgent bugfixes. Breaking changes are usually removed deprecated functions or changed behaviours. + 2024-08-26 V7.67 Fix DriveFreeSpace. 2024-08-18 V7.66 Fix FsEntryGetAbsolutePath, FsEntryListAsFileSystemInfo, DriveFreeSpace. Deprecate SvnExe. Extend OsWindowsRegRunDisable. 2024-08-13 V7.65 Added ProcessStartByArray, ProcessStartByCmdLine. OsWindowsPackageListInstalled, OsWindowsPackageUninstall, OsWindowsRegRunDisable. Extend Doc. Improve ToolInstallNuPckMgrAndCommonPsGalMo, TaskIsDisabled, OsWindowsPackageUninstall. 2024-08-10 V7.64 Extend Doc. diff --git a/MnCommonPsToolLib/MnCommonPsToolLib.psm1 b/MnCommonPsToolLib/MnCommonPsToolLib.psm1 index d8158cf..ca65d18 100644 --- a/MnCommonPsToolLib/MnCommonPsToolLib.psm1 +++ b/MnCommonPsToolLib/MnCommonPsToolLib.psm1 @@ -1471,7 +1471,7 @@ function FsEntryGetSize ( [String] $fsEntry ){ # Must exis Where-Object{$null -ne $_} | Measure-Object -Property length -sum; if( $null -eq $size ){ return [Int64] 0; } return [Int64] $size.sum; } -function DriveFreeSpace ( [String] $driveLetter ){ return [Int64] (Get-PSDrive $drive | Select-Object -ExpandProperty Free); } # Example: "C" +function DriveFreeSpace ( [String] $driveLetter ){ return [Int64] (Get-PSDrive $driveLetter | Select-Object -ExpandProperty Free); } # Example: "C" function DirSep (){ return [Char] [IO.Path]::DirectorySeparatorChar; } function DirExists ( [String] $dir ){ FsEntryAssertHasTrailingDirSep $dir;