-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
On linux and Mac I've an error showing up when the command is triggered in /.
Setup:
PS /> Get-Host | Select-Object Version
Version
-------
7.1.4PS /> (Get-Location)
Path
----
/Command and Error:
PS /> (Get-FolderSize -FolderName 'etc')
Split-Path: /root/.local/share/powershell/Modules/PSFolderSize/1.7.1/Functions/Private/Get-FolderList.ps1:72
Line |
72 | $splitPath = Split-Path -Path $BasePath
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
| Cannot process argument because the value of argument "path"
| is not valid. Change the value of the "path" argument and run
| the operation again.Workaround:
PS /> (Get-FolderSize -FolderName 'etc' -Path '.')
FolderName SizeMB SizeGB FullPath
---------- ------ ------ --------
etc 3.37 0 /etcMetadata
Metadata
Assignees
Labels
No labels