Shay Levy recently wrote an article in PowerShell Magazine that leveraged PowerShell to determine the differences in PowerShell 2 vs PowerShell 3. I took his script, made a few small modifications, and used it in the same way to determine the differences between PowerCLI 4.1 U1 and PowerCLI 5.0. I also added the extra step [...]
Quick tip: PowerShell here-strings don’t like whitespace
Today I was writing a bit of raw XML to be used as a SOAP message. Being a person who enjoys writing easy to read code, I declared my variable using here-string notation, pasted in the appropriate XML between the @” and “@, making sure to indent everything along the way including the last “@. [...]
Some tips for writing your first PowerShell cmdlets & modules
A while back, I wrote a bit of a rant about the difficulties in finding helpful resources on writing PowerShell 2.0 cmdlets in C#. In case you hadn’t read it, my point was that there’s literally tons of great resources on authoring PowerShell scripts, but very little comparatively on how to author your own binary [...]
PowerShell module for VIO-4001/4004
As I’ve mentioned before, I work as a sales engineer for Virtensys, a company that provides a very cool PCIe-based I/O virtualization appliance. Lately I’ve been working on an unofficial project to develop PowerShell cmdlets that will allow the provisioning of virtual I/O to servers connected to our VIO appliances. Here’s a *very* informal demo [...]
C#, WSDL, PowerShell cmdlets — Oh my!
Lately I’ve been working on trying to author PowerShell cmdlets with Visual Studio 2010 to talk to a web service. At first glance, I thought it would be easy. I had the WSDL and XSD files, and the webservice side of things is already working. There’s a web GUI that communicates via SOAP to the [...]
NetApp Data ONTAP PowerShell Toolkit 1.3 released!
Rejoice, NetApp PowerShell users, for Toolkit 1.3 has dropped. There’s a bunch of new features and improvements in this release. Some new features that caught my eye are SSH Invocation and PowerShell provider. SSH Invocation (Invoke-NaSSH) allows you to send Data ONTAP CLI commands to your filer(s) via SSH. The PowerShell provider makes PowerShell drives [...]
NetApp PowerShell Credential Bug (Fixed!)
Update: This has been resolved in the 1.3 release of the Toolkit. I ran into a bug while trying to write a script that would cycle through all of my NetApp filers and change the root password. The issue was that I was unable to pass a PSCredential object to Connect-NaController because passing credentials meant [...]

Recent Comments