PowerShell script for toggling network configuration between dynamic and static on Windows 7

Changing network configuration can be a real pain if you use your computer, a notebook for example, in more than one different network where you need a static configuration instead of a dynamic. Although Windows offers one alternate configuration it is quite circumstantial to access. The following PowerShell script will change network configurations with only ... Read more

Monitor Processes With Windows PowerShell

Maybe you have already come across applications that require you to rearrange things on your desktop for optimal visibility or which you only use in combination with other programs or items - an automated startup or rearrangement would come handy in those situation. The following little PowerShell script allows just this - automatical actions on ... Read more

How to Execute PowerShell Scripts Without Pop-Up Window

PowerShell scripts are hard to run without any kind of popup. Without a small workaround, it may even be impossible, even if you specify the -WindowStyle Hidden switch - this will only result in the PowerShell window blinking up for a split second and disappearing afterwards. You can circumvent this issue by launching the PowerShell ... Read more

Windows Powershell Script to Export and Import Sound Schemes

Windows 7 offers the possibility to switch between preinstalled sound schemes and also create new ones and delete those again. What it does not provide however is a way to export and import those schemes to use them on other systems. There is a way to do this but it involves copying over all the ... Read more

Windows Powershell Script to Sort Music From Folder to Library

The aim of the following script was to take music from a single folder with unsorted but tagged audio files and sort them into the music library according to artist and album. It often happens that you have audio files in your browser's download folder or your instant messenger's received files folder where they usually ... Read more

Automatically Delete Older Folder Contents with Powershell on Windows 7

The aim of this guide is to create a folder whose content is deleted if the contained files have not been accessed longer than a specific time (this process is applied to single files, not the whole folder). I will choose two weeks for demonstration purposes (= 14 days). Such a folder can be used ... Read more

Wrap VBScripts into .exe Format

To convert your VBScript to an .exe file, or rather make them look like one, there is a native Windows tool called IExpress which you can access through your menu's searchbar. Select Create new Self Extraction Directive file and choose Extract files and run an installation command afterwards. Enter a package title and decide whether ... Read more

Use Double-Quotes in Quoted Expressions with ASCII Codes in Windows Powershell

While scripting, you may encouter the problem that you have an expression that uses double-quotes as tags and therefore cannot use any double-quotes inside these tags. You can circumvent this problem by using ASCII codes to add certain keys. This is done by tagging out, joining with ASCII code and joining with the tagged expression ... Read more