Learning and utilizing basic commands in PowerShell
Windows Server 2016 introduced full PowerShell support with over 2,300 commandlets, including the Hyper-V module, which comes with 232 commands. It is true that the Graphical User Interface (GUI) is easier than almost all the other options. But PowerShell Version 5 proved that it can be handy in most common scenarios.
This recipe will demonstrate how easy it is to use PowerShell and provide you with some helpful information, with examples, to guide you in using the commands with no advanced knowledge or a lot of effort.
Getting ready
To get ready, you just need to open a PowerShell window as administrator, from the taskbar, and run the command Update-Help
to update all the existing help content. To update the Help command, you will need an Internet connection.
How to do it...
The following steps will walk you identifying the existing Hyper-V commands and how to get more information about how to use them:
- PowerShell divides the commands by components...