How to Execute PowerShell Scripts Without Pop-Up Window

PowerShell scripts are hard to run without any kind of popup. Without using the small workaround that I will show you here, 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 afterward. You can ... Read more

How to save command output to a file using PowerShell

PowerShell command to file

PowerShell is a command-line shell designed specifically for system administrators. It helps administrators manage and automate the administration of Windows operating systems and the apps that run on them. PowerShell provides the ability to save the output of commands you run in it to a file that you can later view, analyze, and share with ... Read more

How to Copy and Paste on PowerShell in Windows

PowerShell Copy & Paste function

All of us know how to perform simple copy and paste operations in a text editor or in Windows search bars. However, most users wonder how to use these commands in PowerShell because the keyboard shortcuts of these commands are disabled by default in PowerShell. In this article, we'll explain how to enable and use ... Read more

How to Change Your IP Address in Windows Using PowerShell

Set IP address with PowerShell

You may know how to change the IP address via the GUI. It's pretty simple. Just go to Control Panel > Network and Internet, select the IPv4 properties and change the IP address. The whole process takes about a minute. But what if you have to do this on multiple systems and repeat all these ... Read more

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

Save List of Services to a File using PowerShell in Windows 10

List services using PowerShell

Microsoft Windows services allow running long-running applications in the background. When the computer is booted, the services start automatically and continue running until the computer is turned off, but you can also pause and disable the service. The Windows Services application lists all services, including those that are running and those that are stopped. If ... Read more

How to Find the Security Identifier (SID) of Any User in Windows 10

Get Windows User SID

SID or Security Identifier is defined as a string value, which is associated with every single Windows user account. Just like the user account name, SID is also another parameter to recognize a user account in Windows 10. You can grant special privileges to certain user accounts or you can restrict the activities of certain ... Read more

How to Check Windows 10 Update History Using PowerShell

Windows PowerShell Update history

All of the Windows 10 users are familiar with its feature of automatic update. Automatic update installs an update or a security patch as soon as it finds any of your applications or features getting obsolete. This feature also saves you from all kinds of security threats. The user can turn this feature on or ... 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