|
| 1 | +$tip = [tiPS.PowerShellTip]::new() |
| 2 | +$tip.CreatedDate = [DateTime]::Parse('2024-06-12') |
| 3 | +$tip.Title = 'Join the Pacific PowerShell User Group!' |
| 4 | +$tip.TipText = @' |
| 5 | +The Pacific PowerShell User Group meets virtually once a month to share ideas and discuss all things PowerShell. This is a casual meetup where everyone is welcome, from seasoned professionals to complete PowerShell newbies. Feel free to join. We would love to have you! |
| 6 | +'@ |
| 7 | +$tip.Example = ' |
| 8 | +Start-Process "https://www.meetup.com/pacific-powershell-user-group/" |
| 9 | +' |
| 10 | +$tip.Urls = @( |
| 11 | + 'https://www.meetup.com/pacific-powershell-user-group/' |
| 12 | +) |
| 13 | +$tip.Category = [tiPS.TipCategory]::Community # Community, Editor, Module, NativeCmdlet, Performance, Security, Syntax, Terminal, or Other. |
| 14 | +$tip.Author = 'Daniel Schroeder (deadlydog)' # Optional. Get credit for your tip. e.g. 'Daniel Schroeder (deadlydog)'. |
| 15 | +#$tip.ExpiryDate = [DateTime]::Parse('2024-10-30') # Optional. If the tip is not relevant after a certain date, set the expiration date. e.g. Announcing a conference or event. |
| 16 | + |
| 17 | +# Category meanings: |
| 18 | +# Community: Social events and community resources. e.g. PowerShell Summit, podcasts, etc. |
| 19 | +# Editor: Editor tips and extensions. e.g. VSCode, ISE, etc. |
| 20 | +# Module: Modules and module tips. e.g. PSScriptAnalyzer, Pester, etc. |
| 21 | +# NativeCmdlet: Native cmdlet tips. e.g. Get-Process, Get-ChildItem, Get-Content, etc. |
| 22 | +# Performance: Tips to improve runtime performance. e.g. foreach vs ForEach-Object, ForEach-Object -Parallel, etc. |
| 23 | +# Security: Security tips. e.g. ExecutionPolicy, Constrained Language Mode, passwords, etc. |
| 24 | +# Syntax: Syntax tips. e.g. splatting, pipeline, etc. |
| 25 | +# Terminal: Terminal shortcuts and tips. e.g. PSReadLine, Windows Terminal, ConEmu, etc. |
| 26 | +# Other: Tips that don't fit into any of the other categories. |
0 commit comments