Skip to content

Commit 89e8f85

Browse files
committed
Merge pull request #38 from pcgeek86/patch-2
Update PowerShell.json
2 parents 5318d07 + 29af883 commit 89e8f85

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

snippets/PowerShell.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
11
{
2+
"Splatting": {
3+
"prefix": "splat",
4+
"body": [
5+
"$Params = @{",
6+
"\tModule = '*'",
7+
"\tVerb = 'Get'",
8+
"}",
9+
"Get-Command"
10+
],
11+
"description": "An example of how to use the PowerShell Splatting technique."
12+
},
213
"Class": {
314
"prefix": "class",
415
"body": [
@@ -595,4 +606,4 @@
595606
],
596607
"description": "Runs commands in sequential order"
597608
}
598-
}
609+
}

0 commit comments

Comments
 (0)