You are at the archive for the powershell category &rarr


Type Extensions

Posted May 7th @ 12:03 pm by aaron

You’d think from all of my posts on PowerShell that I was a system admin, or worked in a job that required a lot of scripting/automation. Well, the second one is partly true, I’m a .NET developer, primarily working on WinForms based applications, soon to include WPF (and hopefully Silverlight!). I think any […]

PowerTab 0.9 for PowerShell and Invoke-Intellisense

Posted April 18th @ 12:45 pm by aaron

Two days ago /\/\o\/\/ released PowerTab 0.9 (overview page). He’s got some very nice improvements, one of which was support for my GUI-based intellisense. I’d had a few bugs to fix, and I wanted to re-implement the entire thing as a proper cmdlet instead of a script-with-supporting-assembly (geez), so I went ahead and […]

Powershell Replace-String Function

Posted March 28th @ 7:48 am by aaron

PowerShell doesn’t include the ability to do a mass search-and-replace. As I was just looking for a good way to do this, it so happened that at around the same time someone asked the question in the newsgroups, and got a good answer from Keith Hill.
I took what Keith wrote, and sort of consolidated […]

Intellisense Update

Posted March 8th @ 7:10 am by aaron

I guess v0.0.001 wasn’t inaccurate for the version of “Powershell Intellisense” I posted a day or so ago. I’ve since found a few bugs (i.e. it doesn’t display in the correct location if your window buffer contains data outside the currently displayed window–in most cases you won’t be able to see it at all), and […]

PowerTab Powershell Intellisense

Posted March 6th @ 11:30 pm by aaron

Update: I’ve posted an updated version to go along with /\/\o\/\/’s PowerTab 0.9 release, including one important bug fix.
A day or so ago I posted about an implementation of PowerShell “intellisense” I was working on, based on /\/\o\/\/’s really great PowerTab extension for TabExpansion. Well, after a few more hours of work and testing, […]

Intellisense in PowerShell

Posted March 5th @ 2:44 am by aaron

Recently I’ve been thinking about Intellisense (and similar features), and the impact it’s had on software development. I find that I can live without it for the few common tasks I perform all the time, but anything beyond that a lack of Intellisense is a serious productivity killer. It’s amazing how much more […]

Set your Powershell console window icon (at runtime)

Posted February 16th @ 10:22 pm by aaron

In my last post I mentioned that I use the title of a console window to help track what codebase/component I’m working with. Another way we organize some of these windows is via the window icon (we happen to have color names for our various codebases, so it works pretty well). Today my […]

Powershell Window Title

Posted February 16th @ 10:29 am by aaron

There’s no “title” command in Powershell to set the window title of the console window. I use this frequently because I often have several build/codebase windows open, and switch between them frequently. Add this to your profile to create a “title” alias:

1: function Set-WindowTitle($text)
2: {
[…]

Reboot a Polycom phone via PowerShell

Posted February 2nd @ 11:56 pm by aaron

Jeffrey Snover posted a while ago encouraging others to share their PowerShell automation, no matter how little. Well in the spirit of that post, here is a script that will reboot a Polycom IP phone; I tested it with the IP600. (Note: my script is based on the perl version found here.)
Essentially the script […]

Scott Hanselman interviews Jeffrey Snover

Posted October 13th @ 12:05 pm by aaron

Scott’s recent Hanselminutes podcast is an interview with THE Powershell Architect, Jeffrey Snover. I thoroughly enjoyed this one, and would recommend giving it a listen. It’s been a little while since I’ve done anything Powershell-ish (been quite busy at work) but this got me eager to jump back in.
Enjoy!

« Previous EntriesNext Entries »

Options:

Size

Colors