This is, by no means, necessary to build a GUI though. I’ve chosen to use a script that allows you to provide a computer name and query disk information. You’ll need a script to wrap a GUI around first. In the script, you’ll write code that will pull disk information from a local or remote system by querying the Win32_LogicalDisk WMI class. In this post, you’ll create a simple script named Main.ps1. A Windows 10 computer with Windows PowerShell 5.1.Some other options are Notepad++ and the built-in PowerShell ISE A script editor – I use Visual Studio Code, but you can also use another text editor of your choice. ![]() You can download a free/community version. Visual Studio 2017 or later – You’ll use this to create the graphical user interface using WPF.Combining the Script and the PowerShell GUIīefore you dive in, please be sure you meet the following requirements:.
0 Comments
Leave a Reply. |