Happy Holidays

Happy Holidays!

 

That time of year has arrived again where visions of sugar plums dance in our heads. Or maybe that was 25 years ago at some of those parties I used to attend. In any case, the holidays are here and at my advanced age I start getting a bit sentimental and start thinking about all of the …

Read More

Schedule Hidden PowerShell Tasks

I’ve had some questions lately about scheduling a PowerShell script. This is something we’ve covered a little bit. In this entry I discuss how to wrap your PowerShell script in a VBScript and schedule it so that it runs completely hidden.

Read More

Drive it Home

An exciting feature of PowerShell is that you can present things like the registry as a drive. This is accomplished with the PSDriveInfo object. If you run Get-PSDrive in PowerShell you will see all the “drives” that you can connect to. You can also create additional drives with New-PSDrive.

Read More

Make an Old Friend Do Your Work

I’ve been revisiting an old friend from the days of DOS and ancient versions of Windows. I had forgotten how much work this friend did for me. The more I thought about it, and the more I caught up with this friend, the more I realized there is a entirely new generation of system administrators that have never met him.

Read More

Make-A-Cmdlet: Part 1, Workshop Introduction

Coming soon: I’ll be publishing a series of blog articles on building a simple cmdlet for Windows PowerShell. The bade news is that you’ll need to use Visual Studio 2005 and Visual Basic .NET to follow along – the good news is that it isn’t going to be nearly as hard as that sounds!

If you’re interested, you’ve got a …

Read More

Order up!

A recurring question I’ve seen over the years in a number of VBScript forums is how to present a menu dialog in a script. Other than InputBox, MsgBox or the WshShell’s Popup Method, there aren’t too many GUI alternatives. And none of them (at least at first glance) looks like it could be used to present a menu. Now, if you want to got all out with fancy formatting and buttons, then you should look to creating an HTA or use an instance of Internet Explorer. But if your needs are simple, I can show you how to accomplish this with a simple InputBox.

Read More

More Fun with File Aging

A few days ago, I posted an entry on how to run a file aging report using PowerShell. The script as written was pretty and all, but a little limiting. You really can’t do anything with the results. In many regards it is a VBScript rewritten for PowerShell (not that there’s anything wrong with that). But PowerShell can do so much more, especially when you think about piping objects between cmdlets. The original script just produces string output so you can’t do much else with it. What the script needs is a way to produce an object that can then be used by other PowerShell cmdlets.

Read More

20 years and counting: Part 3

Phase 3: Our own thingWhile he still lived in Germany, Alex Riedel had been publishing a shareware Windows based editor (what goes around, comes around) called ARIS Edit. SAPIEN struck a deal with Alex to use the source code from his product as the basis for SAPIEN?s first product.

Read More

File Aging With PowerShell

A very common solution that screams for an automated solution is to get a file aging report: Given a specific folder, how many files are there and how old are they? Here is one possible solution that uses PowerShell. It doesn’t require WMI or the VBScript FileSystemObject, only native PowerShell. The script only requires that you specify a folder name or path to check. This can be a local folder or a UNC. When finished you get a simple, but colorized, report.

Read More

Garmin nvui 660

I had the opportunity to play with a Garmin nuvi 660 portable GPS – and I gotta say, I’m in love. I think Garmin gets just about every detail right, here.

Read More

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