-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSet-PSModuleTest.ps1
More file actions
37 lines (33 loc) · 934 Bytes
/
Set-PSModuleTest.ps1
File metadata and controls
37 lines (33 loc) · 934 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
function Set-PSModuleTest {
<#
.SYNOPSIS
Performs tests on a module.
.DESCRIPTION
Performs tests on a module.
.EXAMPLE
Test-PSModule -Name 'World'
"Hello, World!"
.NOTES
Controls:
- i : Enter INSERT mode
- Esc : Enter NORMAL mode
- y : Yank (copy) line
- dd : Delete line
- p : Paste line
- :w : Save file
- :q : Quit
- :q! : Quit without saving
- :wq : Save and quit
#>
[Diagnostics.CodeAnalysis.SuppressMessageAttribute(
'PSUseShouldProcessForStateChangingFunctions', '', Scope = 'Function',
Justification = 'Reason for suppressing'
)]
[CmdletBinding()]
param (
# Name of the person to greet.
[Parameter(Mandatory)]
[string] $Name
)
Write-Output "Hello, $Name!"
}