Skip to content

Commit fa37a97

Browse files
committed
Updated new-dir.ps1
1 parent 598adae commit fa37a97

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

scripts/new-dir.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
.PARAMETER path
77
Specifies the path and filename of the new directory
88
.EXAMPLE
9-
PS> ./new-dir.ps1 Joe
10-
✔️ New directory 'Joe' created.
9+
PS> ./new-dir.ps1 MyCollection
10+
✔️ New 📂C:\Temp\MyCollection created.
1111
.LINK
1212
https://github.com/fleschutz/PowerShell
1313
.NOTES
@@ -24,7 +24,7 @@ try {
2424
$null = (New-Item -itemType directory -path $path)
2525

2626
$path = Resolve-Path $path
27-
"✔️ New directory 📂$path created."
27+
"✔️ New 📂$path created."
2828
exit 0 # success
2929
} catch {
3030
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"

0 commit comments

Comments
 (0)