Intune Initial Scripts Backup

This commit is contained in:
2025-04-21 14:21:38 -04:00
commit 71764cd10f
241 changed files with 28218 additions and 0 deletions

12
dump/GUI-DialogBox.ps1 Normal file
View File

@@ -0,0 +1,12 @@

$d = [Windows.Forms.MessageBox]::show("PowerShell Rocks", "PowerShell Rocks",
[Windows.Forms.MessageBoxButtons]::YesNo, [Windows.Forms.MessageBoxIcon]::Question)
If ($d -eq [Windows.Forms.DialogResult]::Yes)
{
'Yes, PowerShell Rocks'
}
else
{
"On no, you don't like me"
}