Splunk Search Results: JSON to HTML Table Conversion in PowerShell Splunk search results can be exported from the UI as CSV, JSON, and XML, but not as HTML. This article presents a PowerShell script that converts exported search results from JSON into an HTML table for use with documentation, blogs, etc. Read more
PowerShell Script: Test Chrome, Firefox & IE Browser Performance There is more than one way to test the performance of web browsers like Chrome, Firefox, or IE, but regardless of how you do it, you need a consistent workload that makes the browsers comparable. Unless you are testing with synthetic benchmarks (which come with a plethora of problems of their own) you need a […] Read more
Script: Gracefully Shut Down all VMs on a Given Set of Hosts (VMware/XenDesktop) Cleanly shutting down all virtual machines on a given set of hosts is not as trivial as it might seem – especially if you want to be able to restore the original state once the planned maintenance you are doing this for is completed. Read more
Locking Down Internet Explorer 8 with Group Policy Managing Internet Explorer via group policy is a daunting task. Hundreds of policies are available to control the browser’s user interface, security settings and much more. This article lists strategies and scripts I have found helpful. Read more
Script Deletes Orphaned Printer Ports The script published in this article was kindly contributed by Bo Riis, a sysadmin working at Danish hosting company dandomain. Here is what he writes about it: Read more
Syntax Highlighting PowerShell Code in HTML – With a PowerShell Script When you are publishing PowerShell code on the web, you soon discover that it looks much nicer with syntax highlighting – as did I. There are several ways to add syntax highlighting to your blog or web site, most of which rely on external (WordPress) plugins or JavaScript on the page. I do not like […] Read more
How to List All Installed Applications From the Command Line This article describes how to list all installed MSI packages. A more comprehensive listing of all applications displayed in Programs and Features can be obtained through our monitoring and analytics product uberAgent. How to easily create a list of all programs and (MSI) packages installed on a system for later processing? That sounds like a […] Read more
PowerShell Script Lists App-V Package Dependencies (Dynamic Suite Composition, DSC) Update 2010-04-20: Thanks to Stefan Henseler the script now works correctly with multiple dependencies in a single file. Be sure to download the current version below. App-V’s Dynamic Suite Composition is a powerful feature in that it allows multiple “bubbles” to share the same virtual environment. In other words, package A can be made dependent […] Read more
Useful PowerShell Scriptlets for Files and Folders What is the best way to learn PowerShell? Never use cmd.exe again! With PowerShell 2.0 on my Windows 7 machine I decided it finally is time to polish my rusty knowledge of the language dating back to the days when PowerShell was still called Monad. In my attempt to re-familiarize myself with PoSh I consciously […] Read more
How to Find and List Unsigned Executable Files Executable files can (and should be!) digitally signed. Without a digital signature you can never be sure the files on your hard disk have not been tampered with. There is really no exception to this rule, except maybe smaller open source projects that lack the budget to buy the digital certificate required for signing. Digitally […] Read more
Programmatically Determining Terminal Server Mode on Windows Server 2008 A question on the terminal services newsgroup brought this topic to my attention: how can be determined programmatically if a Windows Server 2008 system is a terminal server and whether it runs in application server or remote administration mode? Read more