PowerShell Studio 2014 added a new project feature: New Module From Functions. You may find at times you reuse various functions and constantly copy them into new scripts or find different variations of the same function are located in different scripts. You may come to the conclusion that those functions would better serve you in […]
Tag: convert
Avoid the use of aliases in scripts
Aliases are harder to read and maintain over the long term – so try and avoid using them in a script. If you use PrimalScript, just select Edit > Convert > Alias to Cmdlet to turn all aliases into their full cmdlet names, providing easier long-term maintenance and readability for your script.