Friday – March 6
Storage issues overnight; thanks, Greg, for putting out the fire. Server storage resize project: IBM RSA access established, trouble getting GNU PartEd. NERCOMP Campus Agreement LiveMeeting Planning...
View ArticleChanging Boot drive with BCDBoot
Scott Hanselman is a consistently good source of useful info and commentary. Recently, he needed to change which drive his computer used as its System drive, which is to say the drive containing the...
View ArticleIs that program running as administrator?
Using Process Explorer to view process integrity levels A friend asked me how to open a Control Panel applet As Administrator. In Windows Vista, when you see a little shield icon as part of a button or...
View ArticleCustom event log queries
I really like the newer event log model on Windows 2008 family, and the flexibility of the XML events and the queries that makes possible. Recently, I started noticing a quiet failure of a scheduled...
View ArticlePowershell, ACLs, and DFS-N
I’m working on some storage issues with our file services, and DFS Namespace services may the the best solution. But I will need to be able to keep the permissions on the DFS folders with targets in...
View ArticleExcellent Git Tutorial
This video of a presentation by Scott Chacon has helped me start to get my head around Git. I’ve started experimenting with Git in my current PowerShell project, and I’m going to watch it again, now...
View ArticleQuick tip – Human readable folder sizes in Excel
From the school of There’s Probably a Better Way, But… I was taking the output of SysInternals’ du.exe utility and wanted to email it to a colleague, but the folder sizes were in KB. Since most of them...
View ArticleAdd network printer with PowerShell
This is my PowerShwell translation of my colleague’s VBScript solution for mapping network printers with a script. <# .SYNOPSIS Add a Network Printer connection, optionally making it the default...
View ArticleSet default printer with PowerShell
Closely related to my previous post, this simple script uses a WScript.Network COM object to set the default printer. The comment block is longer than the script, but I think it’s a useful little tool....
View ArticlePowerShell Script: New-RandomString.ps1
I need to automate the setting of passwords on some Active Directory accounts. Since resetting passwords is also a task that I’m asked to perform with some routine, I decided to make a more generic...
View ArticleRobocopy file classes
This information comes from the Robocopy.exe documentation PDF file for Windows XP version, but it’s the best description I’ve been able to find. From page 15 of that document: Using Robocopy File...
View ArticleOne-liner: duplicate a folder collection, without files
New fiscal year; new set of empty folders, but with the same structure and permissions as the previous year? Robocopy to the rescue: robocopy "FY 2015" "FY 2016" /e /xf * /COPY:DATSO...
View ArticleTransitioning from PowerShell ISE to VS Code
Jeffrey Snover has said that all new IDE development is targeting Visual Studio Code. It’s a really nice environment. It also has built-in Git support.
View Article
More Pages to Explore .....