I want to store the folder names with full path in a variable, when i use get-childitem -recurse
Something like this then?
$folderPaths = @(Get-ChildItem -Directory -Recurse | Select-Object -ExpandProperty FullName)
I want to store the folder names with full path in a variable, when i use get-childitem -recurse
Something like this then?
$folderPaths = @(Get-ChildItem -Directory -Recurse | Select-Object -ExpandProperty FullName)