Receiving Error 55 when running net statistics server command

PowerShell

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 PowerShell command. Get-WindowsFeature -Name FS-SMB1 If the issue still persist after installing/enabling SMB1, you could check troubleshooting steps from this link for your reference.

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 resolve this issue. Through this article, I will show you how to resolve this issue using PowerShell command. Step 1. Login to the problematic … Read more

Get Windows OS version on Specific OU using PowerShell

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 continue, you have to import the Active Directory Module for Windows PowerShell with the following command: Import-Module activedirectory For your information, In PowerShell 3.0 and above, this module is imported by … Read more

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 between the virtual machine and the host.  The data exchange service (KVP) shares small amounts of machine information between Virtual Machine and the Hyper-V host using key-value pairs (KVP) … Read more

Manage Windows Update using PowerShell

Managing windows update using PowerShell command is very helpful once the GUI is not available such as Windows Server Core or using PowerShell Remote. There are many ways managing Windows Update using PowerShell, through this article, I will show how to manage Windows Update using PowerShell Module created by MichalGajda. This module called PSWindowsUpdate, allows you to … Read more

Backup MySQL Database using PowerShell Script

Performing regular database backup is very important to avoid data loss. In this article, we will create a PowerShell Script to backup MySQL databases. Basically, the backup is using mysqldump command. This is an executable file that stored in MySQL installation folder under bin folder.  So let’s start scripting : You can set a Task Scheduler to … Read more

Get public IP on a Windows Server via PowerShell

Getting public IP on troubleshot networking issue is very useful. Especially, there is an issue with accessing your server from the external (public) network. Here is how to get your server’s public IP using PowerShell Invoke-RestMethod Command. Also, you can get the detail of your public IP by removing “ip” variable on the command above. There are … Read more

PowerShell script is not digitally signed

When you try to run a PowerShell script that has not been signed by Trusted Publisher, you may get the following security error. <PowerShell Script file> is not digitally signed. You cannot runthis script on the current system. For more information about running scripts and setting execution policy, seeabout_Execution_Policies at http://go.microsoft.com/fwlink/?LinkID=135170. How to resolve the … Read more