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 Check the PowerShell Version on Windows

PowerShell Version

If you want to check which PowerShell version you are using, then execute either the command get-host or the command echo $PSVersionTable on PowerShell with elevated privileges. Get PowerShell Version Powershell Command: echo $PSVersionTable Result: The latest version is 5.1 and it is available in the newer generation of Windows Server 2016. PowerShell Versions on Windows ... Read more

How to Check if Processor Supports SLAT (Second Level Address Translation)

If you want to run Hyper-V on newer Windows operating systems (Like Windows 8 or Windows Server 2016), your processor must support SLAT or Second level address translation. What is SLAT? SLAT is a technology which was introduced in both Intel and AMD processors. Intel calls this technology EPT (Extended Page Tables) while AMD refers ... Read more

How to Change System Language in Windows 10

Windows 10 language

You can change the default display language of your Windows 10 from English to any other language. This is useful in scenarios where multiple users are accessing the same system and they understand different languages. In this guide, I will walk through to change the default English language to Urdu (you can change it to Spanish, French or ... Read more

How to Create a Function in PowerShell

If you have worked with other programming languages, you have may used functions for code reusability. You can also create functions in PowerShell. PowerShell function example Below is the syntax of a simple function function hello-world { write-host "hello world"  } You can also pass parameters in a function using the param keyword function Get-TimesResult { Param ([int]$a,[int]$b) $c = ... 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