You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
444 B
PowerShell
16 lines
444 B
PowerShell
4 years ago
|
Function LoadSysForms {
|
||
|
# Load assembly
|
||
|
[System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms")
|
||
|
}
|
||
|
|
||
|
Function ShowMessage {
|
||
|
param (
|
||
|
$Title = 'Insert title here',
|
||
|
[array]$Message =
|
||
|
'Crash
|
||
|
Bandicoot'
|
||
|
)
|
||
|
|
||
|
LoadSysForms
|
||
|
[System.Windows.Forms.MessageBox]::Show($Message, $Title, [System.Windows.Forms.MessageBoxButtons]::OK,[System.Windows.Forms.MessageBoxIcon]::Information)
|
||
|
}
|