Powershell Join-String function
Update: better yet, read about the -Join and -Split PowerShell operators. Live and learn. —Geoff Something I’ve found myself missing in PowerShell is a function to combing the elements of a list with a...
View ArticleScript: Shadow Copy Report
We use EMC NetWorker for our enterprise backup solution. Since we migrated our primary file server from a NetApp filer to a native Windows server, we’ve been having a recurring problem with all the...
View ArticleListing parent of AD object in PowerShell
Recently, I wanted to provide a client with a list of groups that related to some work he was doing. I wanted the group names as well as their location with AD. Although I often use the ds* commands or...
View ArticleString arrays and mandatory parameters
I have been working on a function to convert the output of NET SHARE <sharename> commands into usable PowerShell objects. In the course of my work, I was storing the output of the command in a...
View ArticleGet-PrintJobs.ps1 PowerShell script
After a recent upgrade of our print servers, I discovered that the Print Spooler service event logging had been enhanced, and changed enough that some PowerShell reporting scripts that worked just fine...
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