I have been searching and searching for the best way to accomplish the "Read More", "Summaries", or "Show/Hide". Blogger has answered the call. Rather than needing all of the scripts and HTML edits to accomplish this functionality, Blogger has added this by using either the editor or by entering a simple comment into the HTML of your post
This blog is a collection of things I've learned, want to remember, or think will be useful.
Sunday, October 11, 2009
Monday, October 5, 2009
PowerShell: Conditional Snapins Using Profile.ps1
I redirect My Documents from our office file server to whatever Windows machine I log into. As part of this, my Windows PowerShell Profile.ps1 script is executed. Unfortunately, the snapins referenced in this script aren't necessarily available on the host I am currently logged into. To combat this, I use a conditional statement to check both the computer I'm logged into as well as if the snapin is already loaded.
Labels:
PowerShell,
VMWare
Subscribe to:
Posts (Atom)