File tree Expand file tree Collapse file tree 3 files changed +29
-2
lines changed
Expand file tree Collapse file tree 3 files changed +29
-2
lines changed Original file line number Diff line number Diff line change 1+ function Get-CmdletTemplate {
2+ <#
3+ . SYNOPSIS
4+ [PURPOSE OF CMDLET]
5+
6+ . DESCRIPTION
7+ [SHORT DESCRIPTION]
8+
9+ . PARAMETER Arg1
10+ [PURPOSE OF Arg1]
11+
12+ . PARAMETER Arg2
13+ [PURPOSE OF Arg2]
14+
15+ . EXAMPLE
16+ Get-CmdletTemplate 1 2
17+ [ACTION DESCRIPTION]
18+
19+ #>
20+ [CmdletBinding ()]
21+ param (
22+ [Parameter (Mandatory = $false , Position = 0 )]
23+ [string ]$Arg1 ,
24+ [Parameter (Mandatory = $false , Position = 1 )]
25+ [System.IO.FileInfo []]$Arg2
26+ )
27+ # [CODE]
28+ }
Original file line number Diff line number Diff line change 55 GUID = ' 654a73f5-effe-42fc-8e75-ee439726bd26'
66 Author = ' Alan Plocieniak'
77 CompanyName = ' Alan Plocieniak'
8- Copyright = ' (c) 2019 Alan Plocieniak. All rights reserved.'
8+ Copyright = ' (c) 2020 Alan Plocieniak. All rights reserved.'
99 Description = ' Misc PowerShell Tools'
1010 PowerShellVersion = ' 5.0'
1111 FunctionsToExport = ' *'
Original file line number Diff line number Diff line change 11$Public = Get-ChildItem - Path $PSScriptRoot - Recurse - Filter " *.ps1" | ? { $_.Name [0 ].Equals($_.Name.ToUpper ()[0 ]) }
22
3- # Dot source the files
43Foreach ($import in $Public ) {
54 try {
65 . $import.fullname
You can’t perform that action at this time.
0 commit comments