PowerShell’s profiles make setting up your work environment a bit easier, allowing you to pre-load your most common snapins or modules, define functions, set variables and whatever else you need on startup. However, since there are quite a number of profiles, potentially one for each host, one for all users, one for each user, one […]
Tag: Profile
Sneaky Aliases
love aliases in PowerShell because they make working in the interactive shell so much easier and faster. I’ve even created aliases for common apps I use like PrimalScript and PrimalForms so I can launch them from PowerShell with a few keystrokes. One drawback to aliases is that you can use them to reference any command that takes parameters. The alias can only substitute for the command. But there is a sneaky work around.