On our PowerShell community forums, we have recently received questions asking if it is possible to store PowerShell variables in external files, and if so, how is it done. It is indeed possible to store variables in external files for PowerShell to use. These external variables can be stored in a variety of file types. […]
Tag: variables
PowerShell Studio 2015: Enhancements for Debugging
In the last service release v4.2.86 we introduced some new enhancements to help improve your debugging experience. New Variables Panel Context Menu We added a new context menu to the Variables Panel that allows you to: Add To Watch – Adds the selected variable to the Watch Panel. Query in Debug Console – Runs […]
PrimalScript 2014 PowerShell Debugger enhancements
PrimalScript 2104’s PowerShell Debugger has received a minor update with build 7.0.44. The variables window now shows the actual .NET type of the underlying variable in a separate column. In addition to that you can also see array data. If you look closely at the screenshot above you see a “[… Click to see array […]
Fun with Errors
In the online PowerShell class I’ve been doing this week we’ve been discussing error handling. I explained that the built-in $error variable is an array that stores recent PowerShell exceptions. Here’s a quick list of fun things you can do with an error object.