Tip: You can display some message boxes, here are some examples :
System.Windows.MessageBoxImage
1 |
[System.Windows.MessageBox]::Show('Message','Title',[System.Windows.MessageBoxButton]::OK,[System.Windows.MessageBoxImage]::None) |
1 |
[System.Windows.MessageBox]::Show('Message','Title',[System.Windows.MessageBoxButton]::OK,[System.Windows.MessageBoxImage]::Hand) |
1 |
[System.Windows.MessageBox]::Show('Message','Title',[System.Windows.MessageBoxButton]::OK,[System.Windows.MessageBoxImage]::Error) |
1 |
[System.Windows.MessageBox]::Show('Message','Title',[System.Windows.MessageBoxButton]::OK,[System.Windows.MessageBoxImage]::Stop) |
1 |
[System.Windows.MessageBox]::Show('Message','Title',[System.Windows.MessageBoxButton]::OK,[System.Windows.MessageBoxImage]::Question) |
1 |
[System.Windows.MessageBox]::Show('Message','Title',[System.Windows.MessageBoxButton]::OK,[System.Windows.MessageBoxImage]::Exclamation) |
1 |
[System.Windows.MessageBox]::Show('Message','Title',[System.Windows.MessageBoxButton]::OK,[System.Windows.MessageBoxImage]::Warning) |
1 |
[System.Windows.MessageBox]::Show('Message','Title',[System.Windows.MessageBoxButton]::OK,[System.Windows.MessageBoxImage]::Asterisk) |
1 |
[System.Windows.MessageBox]::Show('Message','Title',[System.Windows.MessageBoxButton]::OK,[System.Windows.MessageBoxImage]::Information) |
System.Windows.MessageBoxImage
1 |
[System.Windows.MessageBox]::Show('Message','Title',[System.Windows.MessageBoxButton]::OK,[System.Windows.MessageBoxImage]::Information) |
1 |
[System.Windows.MessageBox]::Show('Message','Title',[System.Windows.MessageBoxButton]::OKCancel,[System.Windows.MessageBoxImage]::Question) |
1 |
[System.Windows.MessageBox]::Show('Message','Title',[System.Windows.MessageBoxButton]::YesNoCancel,[System.Windows.MessageBoxImage]::Question) |
1 |
[System.Windows.MessageBox]::Show('Message','Title',[System.Windows.MessageBoxButton]::YesNo,[System.Windows.MessageBoxImage]::Question) |