Author's posts
Jul 02 2012
EventVwr Command-Line Parameters in Windows 8
Update: I’m told that this command-line option works in Windows 7, as well. So it’s not a change for Windows 8/2012. I just didn’t have a Windows 7 machine handy to test it. The command-line parameters for the Event Viewer have changed in Windows 8 (and Windows Server 2012, I assume). To launch Event Viewer …
Jun 27 2012
Afraid of PowerShell? Watch this video now.
I have been working more and more with PowerShell lately and I love it. If you want to watch a great introductory 75 minute video to get up to speed quickly, look no further than here: Windows PowerShell Crash Course https://channel9.msdn.com/Events/TechEd/NorthAmerica/2012/WSV321 It is presented by Don Jones and Jeffrey Snover. They share a number of great tricks and …
Jun 19 2012
Windows 8 / Server 2012 Tip of the Day: Logging Off (and Switching User)
I don’t know why, but I keep forgetting how to log off of Windows 8 / Server 2012 systems. To do so, go to the Start “screen”, click on your user account picture/name in the upper-right hand corner of the screen, and select “Sign out”. Or you can ?select “Switch User” from here. Rob This post was …
Jun 07 2012
Deleting Windows Services that won’t uninstall
I created a Windows Service installer using WiX and included a custom action that called PowerShell to run a script. Unfortunately, I called the script with the wrong parameters and then the service would not uninstall. So, I tried a lot of different tricks and finally found a recommendation on the web to run the sc.exe command with the …
Mar 08 2012
Want to add color to PowerShell code in your docs?
I was writing a Word document and wanted syntax highlighting for my PowerShell scripts. It turns out that ISE (Integrated Scripting Environment) has an extension for copying text with color (and for copying text with color as HTML). Just do the following: Install the PowerShellPack.msi file from here. Open ISE and your .ps1 PowerShell file. …