Windows Powershell – “Running scripts is disabled on this system”

PowerShell

Powershell scripts can be run on any Windows server or desktop as long as they are run from the ISE by pushing the green play button. As soon as you want to run it from the cmd or the desktop file you'll get this error: script1.ps1 cannot be loaded because running scripts is disabled on ... Read more

Fix “The program can’t start because MSVCR100.dll is missing from your computer.” error on Windows

Program can not start due to a MSVCR100.dll error

What hides behind this name is the Microsoft Visual C++ Redistributable which can easily be downloaded on the Microsoft website as x86 or x64 edition: 32 bit: http://www.microsoft.com/download/en/details.aspx?id=5555 64 bit: http://www.microsoft.com/download/en/details.aspx?id=14632 Usually, the application that misses the dll indicates what version you need - if one does not work, simply install the other.

How To Rename NIC Adapters with PowerShell

If you want to rename NIC adapters with PowerShell, follow this tutorial: Step 1. Open PowerShell with admin privileges Step 2. Execute the following command, Rename-NetAdapter -Name "<Old NIC Adapter Name>" -NewName "<New Adapter Name>" Example If you want to rename an old NIC Ethernet to a new name ManagementAdapter, the command should look like, Rename-NetAdapter ... Read more

Windows Returnvalue: 2147786788 in wmi EnableStatic method

Successfully using the EnableStatic method for example in powershell always gives the Returnvalue 0. If that is not the case, something will most likely have gone wrong. If you are returned the value 2147786788, this is a sign for a write lock of some sort, meaning you have to look for running processes that are ... Read more

Installing Powershell 2.0 on Windows XP

To install Windows Powershell 2.0 on an XP machine, you must have Windows XP Service Pack 3 installed. Powershell is included in the Windows Management Framework which you can download at support.microsoft.com/kb/968929: Now scroll down until you find some links listed in the More Information section: Pick the appropriate one for your Windows system and ... Read more