Four Ways to Create a Directory with PowerShell

To create a directory with the help of PowerShell, open the PowerShell console with administrative privileges and use one of the following four ways. Creating a Directory by using PowerShell Method 1: Use the new-item command new-item <path of directory suppose c:\dir1> -itemtype directory Method 2: Use a file system object $fso = new-object -ComObject ... Read more

How to Exclude a User or Computer from Group Policy Object

Group Policy

When you apply a group policy on a container or OU, it applies to all users or computers in that container. However, you can exclude a single or multiple users or containers from the policy applied. This tutorial is written to show you how to exclude a single user from a group policy object. Exclude a ... Read more

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

PowerShell

Powershell scripts can be run on any Windows system 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 this system. ... 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 Create a PowerShell Session on a Remote Computer

PowerShell Remote Session

To execute PowerShell commands or scripts on a remote computer, you need to create a session. This is also known as PowerShell remoting and it is just like an SSH session to an operating system. There are several ways to create a PowerShell session. I'll list one of the easiest methods here. These are the required ... Read more

How to Append Data to a Text File Using PowerShell

You can use the PowerShell add-content cmdlet to append data to a text file. Here are an example and the command-line options that you can use. Powershell add-content example Step 1. Open PowerShell with elevated privileges Step 2. Execute the following command, (change the file path) Add-Content c:\scripts\test.txt "The End" By default, the data is appended after ... Read more

How to Stop Windows From Automatically Connecting to a Wi-Fi Network

Disable Windows WIFI autoconnect

Microsoft is vigilant when it comes to adding features to the Windows operating system for the convenience of their users. Their goal is to make Windows as user-friendly as possible. One such element of convenience by Microsoft is the automatic connection to a known wireless network.   Microsoft has this default auto-connect setting in Windows ... Read more

How to Disable the User Account Control (UAC) in Windows 10

User Account Control also known as UAC is an important component of the "Windows security system". This helps the applications running in the windows to prevent your system from making any undesired changes. Whenever software is running in a system and it tries to make changes in the system, a window dialog box appears that ... Read more