create default variables This topic contains 3 replies, has 2 voices, and was last updated by Olaf Soyk 1 year ago. Author Posts January 9, 2017 at 11:24 am #61530 Jeremy-SmitParticipant IS it possible to create a variable in powershell that is static. Even when you close powershell? January 9, 2017 at 11:49 am #61533 Olaf SoykParticipant You could use environment variables or you could add it to your all users psprofile. January 9, 2017 at 2:17 pm #61536 Jeremy-SmitParticipant @ Olaf soyk Could you explain? January 9, 2017 at 3:09 pm #61558 Olaf SoykParticipant How to create and modify environment variables is explained here: Creating and Modifying Environment Variables. And how to modify your Powershell profile or the systems Powershell profile you can find like this: Get-Help about_profiles Author Posts You must be logged in to reply to this topic.