String Theory

Mastering the laws of physics with Windows PowerShell

Browsing Posts tagged PowerShell

One of the nice things that has changed with PowerShell Version 3 as of CTP 2 is the way that the registry is displayed. In PowerShell Version 3, the PowerShell team updated the format files for the registry provider. To see this difference first do a directory listing for HKCU: in version 2. You will [...]

Imagine the scenario: You are working on a script or command in your PowerShell session and you need to get help on a cmdlet. Sure, you have tab completion, but you can’t remember whether the parameter takes a string or an object, or you can’t remember how the value should be formatted. So you break [...]

The AppSense Environment Manager can provide you with valuable information related to the processes involved in login and logoff . Using Windows PowerShell you can easily retrieve this information to assist you in identifying problem spots.

Starting in Citrix XenServer 5.6 (or earlier) you are no longer able to collect Host and VM performance data via the “legacy” API calls. Fortunate for me, Citrix has allowed users to reenable the legacy API retrieval for metrics.

I recently gave a presentation on the Citrix XenApp cmdlets for the Atlanta Citrix User Group.  For the presentation I wanted to show a real world example of the cmdlets in use. I decided to take a script that I wrote in July of 2007 ,which is still in use today, and convert it to [...]

I am one of the guest judges for the Scripting Games 2010 occurring right now at http://2010sg.poshcode.org and http://blogs.technet.com/heyscriptingguy/. I am currently working on the Beginner Event 4 which asks the user to read the Environment Variables to get the number of processors in the machine. This evening I am finding myself in constant conflict [...]

As promised here is my PowerPoint presentation and demo code for the presentation I gave at the Atlanta Citrix User Group titled “Managing XenApp with Windows PowerShell” Presentation: Managing XenApp with Windows PowerShell Demo Code: Demo.ps1

A New Project

No comments

I am a follower, or rather, I attempt to follow the GTD Methodology. The method is based on the principle that you need to take all the tasks that are floating around in your mind and record them in an external system. That way, your mind is free from the job of remembering everything that [...]

The inaugural meeting of the Atlanta PowerShell User Group will be held on Tuesday March 16th from 6:00 to 8:00 PM. You can sign up now at http://powershellgroup.org/atlanta.ga. Our first meeting will be a script club. What is a script club you ask? You bring an idea for a script, and ask your fellow PowerShell [...]

[System.Version]

No comments

This afternoon there was a discussion about determining the version of PowerShell installed on the local system. Each of us had our own answer. Someone mentioned the [System.Version] .Net class. Its a relatively small class that might you might find useful. Lets take the Product Version of the PowerShell executable installed on my Windows 7 [...]