diff --git a/2.Automation/ Learn PowerShell Automation in Less than 1 Hour.md b/2.Automation/ Learn PowerShell Automation in Less than 1 Hour.md index fe62af6..cf332ce 100644 --- a/2.Automation/ Learn PowerShell Automation in Less than 1 Hour.md +++ b/2.Automation/ Learn PowerShell Automation in Less than 1 Hour.md @@ -95,3 +95,22 @@ Unregister-ScheduledJob -Name "TestSpaceX Job" A graphical user interface application developed using PowerShell to automate tasks, manage systems, and provide user-friendly access to scripts and tools. [Disk cleaner example](https://github.com/jimrtyler/diskcleaner/blob/main/DiskCleaner.ps1) + +here's a tool to make form an gui powershell application + +[Gui powershell tool](https://app.poshgui.com) + +## Converting Powershell script to exe + +First we need to install ps2exe + +```powershell +Install-Module -Name ps2exe +``` + +than we evoke it + +```powershell +Invoke-PS2EXE .\Diskcleaner.ps1 .\DiskCleaner.exe +``` +