I do have a Server with plenty of volumes where some are mounted in different directories and others have drive letters. I´m looking for a way to run something like this in Powershell
foreach ($element in (Get-Volume).Path) {
Get-childitem -path $element -File}
but i haven´t found a way that -path is accepting the volume UID