PowerShell and retrieving environment variables from a content file
October 3, 2015
I was recently creating a Windows PowerShell script which retrieved content from a JSON-formatted file containing configuration information to be used as variables. A number of configuration values contained an evironment variable for the user profile of the current user. When retrieving the value the string would be returned as a string and not the dynamic … More PowerShell and retrieving environment variables from a content file