You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Remove the "CalculatedProperty" community snippet, which is a duplicate of the "CalculatedProperty" snippet
* Remove the "IfShouldProcess" community snippet, which is a duplicate of the "IfShouldProcess" snippet
* Remove the "PSCustomObject" community snippet, which is a duplicate of the "PSCustomObject" snippet
Takes a datatable object and iterates through it to get the max length of the string columns - useful for data loads into a SQL Server table with fixed column widths by @SQLDBAWithABeard
@@ -346,27 +309,6 @@ Quickly create a Pester Test for existence of a parameter by @SQLDBAWithABeard
346
309
}
347
310
```
348
311
349
-
### PSCustomObject
350
-
351
-
A simple PSCustomObject by @brettmillerb. It has 4 properties that you can tab through to quickly fill in.
352
-
353
-
#### Snippet
354
-
355
-
```json
356
-
"PSCustomObject": {
357
-
"prefix": "PSCustomObject",
358
-
"body": [
359
-
"[PSCustomObject]@{\r",
360
-
"\t${item1} = ${Property1}\r",
361
-
"\t${item2} = ${Property2}\r",
362
-
"\t${item3} = ${Property3}\r",
363
-
"\t${item4} = ${Property4}\r",
364
-
"}"
365
-
],
366
-
"description": "Creates a PSCustomObject"
367
-
}
368
-
```
369
-
370
312
### Send-MailMessage
371
313
372
314
Add the Send-MailMessage cmdlet with the most common parameters in a hashtable for splatting, by @fullenw1.
0 commit comments