mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-09 21:07:40 +02:00
Updated cd-repos.ps1, cd-scripts.ps1, and new-junction.ps1
This commit is contained in:
@ -29,7 +29,7 @@ try {
|
||||
$path = Resolve-Path $path
|
||||
Set-Location "$path"
|
||||
$subfolders = Get-ChildItem $path -attributes Directory
|
||||
"📂$path entered, containing $($subfolders.Count) subfolders."
|
||||
"📂$path entered (has $($subfolders.Count) subfolders)."
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error: $($Error[0])"
|
||||
|
Reference in New Issue
Block a user