-
-
Save alainassaf/27fa6430208abfcb0512005e24c5e51d to your computer and use it in GitHub Desktop.
Code snippet 3 from run-delprof2.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$wgObjForm.Controls.Add($objListBox) | |
$wgObjForm.Topmost = $True | |
$result = $wgObjForm.ShowDialog() | |
if ($result -eq [System.Windows.Forms.DialogResult]::OK) { | |
$workergroup = $objListBox.SelectedItem | |
} else { | |
exit 1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment