Skip to content

Commit de047ee

Browse files
committed
New tip
1 parent 20f7942 commit de047ee

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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.

src/tiPS/PowerShellTips.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -662,5 +662,17 @@
662662
"Category": 3,
663663
"ExpiryDate": "9999-12-31T23:59:59.9999999",
664664
"Author": "Daniel Schroeder (deadlydog)"
665+
},
666+
{
667+
"CreatedDate": "2024-06-12T00:00:00",
668+
"Title": "Join the Pacific PowerShell User Group!",
669+
"TipText": "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!",
670+
"Example": "Start-Process \"https://www.meetup.com/pacific-powershell-user-group/\"",
671+
"Urls": [
672+
"https://www.meetup.com/pacific-powershell-user-group/"
673+
],
674+
"Category": 0,
675+
"ExpiryDate": "9999-12-31T23:59:59.9999999",
676+
"Author": "Daniel Schroeder (deadlydog)"
665677
}
666678
]

0 commit comments

Comments
 (0)