File tree 1 file changed +17
-0
lines changed
1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -16,12 +16,29 @@ _To contribute, check out our [guide here](#contributing)._
16
16
17
17
| Table of Contents |
18
18
| :-----------------:|
19
+ | [ CalculatedProperty] ( #calculatedproperty ) : _ Create a calculated property for use in a select-object call by @corbob_ |
19
20
| [ PSCustomObject] ( #pscustomobject ) : _ A simple PSCustomObject by @brettmillerb_ |
20
21
| [ DateTimeWriteVerbose] ( #datetimewriteverbose ) : _ Write-Verbose with the time and date pre-pended to your message by @ThmsRynr_ |
21
22
| [ Parameter-Credential] ( #parameter-credential ) : _ Add a standard credential parameter to your function by @omniomi_ |
22
23
23
24
## Snippets
24
25
26
+ ### CalculatedProperty
27
+
28
+ Create calculated property for use in Select Statements
29
+
30
+ #### Snippet
31
+
32
+ ``` json
33
+ "Add Calculated Property" : {
34
+ "prefix" : " cf" ,
35
+ "body" : [
36
+ " @{'Name' = '$1' ; 'Expression' = {$2}}" ,
37
+ ],
38
+ "description" : " Create calculated property for use in Select Statements"
39
+ }
40
+ ```
41
+
25
42
### PSCustomObject
26
43
27
44
A simple PSCustomObject by @brettmillerb . It has 4 properties that you can tab through to quickly fill in.
You can’t perform that action at this time.
0 commit comments