Enhance your favorite editor like Visual Studio or Visual Studio Code with extensions that make scripting easier, faster and more productive. Alternatively, keep things simple with an editor built for PowerShell. Automate and protect your desktop with and from PowerShell.
Ensure your system is accessible by exposing your scripts as REST APIs. Host your scripts in a web interface for ad-hoc execution or robust scheduling. Build custom web-based tools to enable your users to handle tasks themselves without elevated credentials or opening support tickets. Enforce role-based access controls and secruity requirements across the entire platform.
Whether you're a small business or a large enterprise, you will be in good company among the customers using our solutions. With millions of installs, API requests, and scripts executed every month, we help ensure you can make the most of your IT team.
Merge-Script is a cmdlet from PowerShell Pro Tools that provides the ability to compile PowerShell scripts into executables.
How does Merge-Script compile PowerShell scripts? Merge-Script takes advantage of the .NET SDK to embed PowerShell scripts into a highly customizable .NET application. The PowerShell script itself is not compiled but rather packaged and executed when the application is run.
Setting up your Environment You will first need to install the PowerShell Pro Tools module.
In this post, we’ll look at how to create advanced functions with the CmdletBinding attribute.
What is the CmdletBinding Attribute? The CmdletBinding attribute is used to convert standard PowerShell functions into advanced functions that behave similar to compiled C# cmdlets. Some differences between standard functions include:
Access to the $PSCmdlet automatic variable within functions Removal of access to the $Args variable No support for unknown parameters Support for pipeline processing How do you use the CmdletBinding Attribute?
In this post, we’ll modify the Windows 11 Start Menu items in PowerShell.
Exporting the Current Start Menu Layout The start menu layout can be exported using the Export-StartLayout cmdlet from the StartLayout module. This module is builtin to Windows 11. The cmdlet exports a JSON string containing the current layout.
Export-StartLayout -Path .\LayoutModification.json Modifying the Start Menu Layout Once you have exported the current layout, you can read the JSON and edit it in PowerShell.