Home PowerShell

PowerShell

Windows PowerShell is a shell developed by Microsoft for purposes of task automation and configuration management. This powerful shell is based on the .NET framework and it includes a command-line shell and a scripting language.

Windows server core

Windows Server Core: How to start PowerShell by Default

By Default, Windows Server Core will start Command Prompt (cmd). However, if you would like to change the default cmd to PowerShell, you can change it by changing the...

PowerShell Command to Create A Network Share

In this article, you will learn on how to create a folder share using a PowerShell command. First, you need to determinate which folder you want to share, or...

Receiving Error 55 when running net statistics server command

Q: I got "System Error 55" when ran "net statistics server" command A. Disabling / Removing SMB1 may be caused by this issue. You can verify if SMB1 is installed or not by running the following...

How to resolve “The trust relationship between this workstation and the primary domain failed”

Sometimes, you receive the alert "The trust relationship between this workstation and primary domain failed" when you login to the computer that joined to the domain. There are many ways to...

Get Windows OS version on Specific OU using PowerShell

Getting the Windows OS Version on specific OU is very useful for System Administrator. For example for the upgrade plan or system architecture plan.  Before we...

Get Hyper-V Data Exchange Service (Key Value Pair)

What is Hyper-V Data Exchange Service (KVP) Hyper-V Data Exchange Service is one of the Integration Services on Hyper-V that provides a mechanism to exchange basic metadata...

Most Popular

Receiving Error 55 when running net statistics server command

Q: I got "System Error 55" when ran "net statistics server" command A. Disabling / Removing SMB1 may be caused by this issue. You can verify if SMB1 is...

How to change the Remote Desktop Port

Windows servers are using port TCP 3389 for Remote Desktop Protocol as a default port. In some situations, as when you wish...

How to remotely force kill a Remote Desktop session

Sometimes, you need to kill a remote desktop session on the server remotely. In this article, we will use qwinsta and rwinsta...

Batch script that will check the windows service is running or not

There are occasions where you might need to check the windows service using the batch file. For the example, you need to...
PowerShell

Change Local Administrator Password

In this article:- Change Local Administrator password using PowerShell on single computer.- Change Local Administrator account password using PowerShell on multiple...