We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 598adae commit fa37a97Copy full SHA for fa37a97
1 file changed
scripts/new-dir.ps1
@@ -6,8 +6,8 @@
6
.PARAMETER path
7
Specifies the path and filename of the new directory
8
.EXAMPLE
9
- PS> ./new-dir.ps1 Joe
10
- ✔️ New directory 'Joe' created.
+ PS> ./new-dir.ps1 MyCollection
+ ✔️ New 📂C:\Temp\MyCollection created.
11
.LINK
12
https://github.com/fleschutz/PowerShell
13
.NOTES
@@ -24,7 +24,7 @@ try {
24
$null = (New-Item -itemType directory -path $path)
25
26
$path = Resolve-Path $path
27
- "✔️ New directory 📂$path created."
+ "✔️ New 📂$path created."
28
exit 0 # success
29
} catch {
30
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
0 commit comments