techjunkie.tv

powershell tips, ccna tips, tech videos, learn tech

Archive for the ‘Windows’ Category

How do you create a message Box with powershell? —

Hello Everyone here is a another Windows Powershell tip that I use everyday, I use this to notify me of a backup I run so that I know it completed. Here is the code [system.Reflection.Assembly]::LoadWithPartialName(“System.Windows.Forms”);[Windows.Forms.MessageBox]::Show(“The UAS was backedup at $(get-date)”, “UAS Nightly Backup”, [Windows.Forms.MessageBoxButtons]::OK, [Windows.Forms.MessageBoxIcon]::Information) What do you think?