Sorry you didn’t make it to the Big Apple for the last Techmentor conference. It was a small and intimate show which I always like because it is easier to talk with attendees and answer questions. Plus your odds are…
Read More
The other day I posted a VBS function for getting drive utilization. It seems only fair to give PowerShell a chance to play.
1: Function Get-Utilization {
2: Param([string]$computername=$env:computername,
3: [string]$ID="C:"
4: )
5:
6: #suppress errors messages
7: $errorActionPreference="silentlycontinue"…
Read More
Here’s another recent topic from the ScriptingAnswers.com forums which I thought I’d share. The forum members wanted to delete files if the drive utilization exceeded a certain threshold. Using Windows Management Instrumentation (WMI) with VBScript I came up with something…
Read More
You would think that by now Windows and Windows applications would be much better about cleaning up temporary files. But no. It is amazing how many files I still see in my %TEMP% directory. I’ve always operated under the assumption…
Read More
I don’t know how I missed this, but I hope I can find some time to squeeze it in tomorrow. I’m excited about setting up Hyper-V for all of my test and demo virtual machines. And of course, PowerShell topics…
Read More
I had a great time last week in Orlando speaking at WinConnections. I met a lot of terrific people, attendees and fellow speakers alike. I spoke primarily on PowerShell and how you will use it to manage your environment. As…
Read More
Download the ZIP file containing the sample scripts from this book by Don Jones.…
Read More
These are the sample scripts from the last printing of Managing Windows with VBScript and WMI, by Don Jones. Download ZIP file.…
Read More
Hopefully you found my last entry valuable. But I always like to take things a step further, especially when it comes to scripting and automation. So I turned my last script into a function that returns the value of a…
Read More
Last week I blogged about using REG.EXE in a batch file to read a registry key. The batch file I provided works, but the output is limited. You could probably parse it a bit more to get it in some…
Read More