Out-CSV

Sometimes it’s the little things that can make life easier. Here’s one of them. We know that PowerShell treats comma separated items as an array: PS C:\> $a=”a”,1,”b”,”jeff”,4 PS C:\> $aa1bjeff4PS C:\> But what if you want back in its…
Read More

PowerShell Tree

Of course since I’ve posted a VBScript version of the Tree command, I had to do it in PowerShell. On one hand, this would have been pretty straightforward since PowerShell can use COM objects and I could have simply reused…
Read More

Up a Tree

One of the first CMD commands I fell in love with (yes I’m that geeky) was TREE. When executed from a command prompt it would give you a nice graphical representation of the directory structure. Never being satisfied I wrote…
Read More

Show-CSpace

My latest Prof. PowerShell column has a function that takes a computername as pipelined input. It then returns a custom object showing free space on drive C:\. The point of the column was to demonstrate how to make a function…
Read More

Create A Remote File Share

This topic came up recently in the PowerShell forum at ScriptingAnswers.com and I thought you might find it helpful. The issue was creating a file share remotely. In the “olden days”, this would have meant using a command line tool…
Read More

Parse HOSTS file with PowerShell

In a recent discussion in the PowerShell forum at ScriptingAnswers.com, a member was trying to parse the HOSTS file on a number of desktops. This is a thankless but probably useful task that seems perfectly suited to a scripted solution.…
Read More

Updated Out-Twitter PowerShell Script

Thanks to Christian Glessner for letting me know of a change to the Twitter API.  This necessitated a change in my Out-Twitter script. There’s been a lot of movement in the PowerShell world with Twitter these days.  Be sure to…
Read More

Hash Table Happiness

The other day I wrote an entry about using the Dictionary object in VBScript . I alluded to how you could use a hash table in PowerShell. Let me show you how and I think you’ll also appreciate how much…
Read More

RSS SAPIEN Info Center

Search

Enter any query and press enter
Advanced search operators:
+ ⟶ Term must appear
- ⟶ Term must not appear
"" ⟶ Exact string must appear
How do I use these?

Join our mailing list

Enter your email address to subscribe to our mailing lists for Monthly Blog Digests, Product Announcements and more (you can choose which you receive once you sign-up!)

Tags

Categories

Archives

Dashboard