I found a trick for loading ASP.NET connectionString elements from configuration files for use in PowerShell scripts, and I figured I would share it with the class. They are, as should have been obvious to me much sooner, simply XML nodes …
Tagged: powershell
Using ASP.NET connection strings in PowerShell scripts
Tags:Circumvent Get-ADGroupMember limit in PowerShell
Tags:If you've ever tried to pull the members list of a large AD group with the Get-ADGroupMember PowerShell cmdlet, you will undoubtedly have run up against an error message telling you that the limit has been exceeded. There is, however, a …
Bulk rename Subversion files with PowerShell
Tags:Scenario: We're upgrading our reporting software at work, and the way that it used to integrate with SVN (through a terrible SCC bridge) involved arbitrarily placing "app*" at the head of the file names. Of course, in the new …
Batch convert audio files to MP3 with PowerShell and VLC Player
Tags:I adapted a PowerShell script by Tim Van Wassenhove that recurses through a given directory, searching for various types of audio files. These files are then converted to MP3 using VLC Player's command-line interface. My adjustments to …