I am trying to build a form related to Azure code. I don't want to have to run the login sequence each time, but this is valid for "release". If I run the login-azurermaccount manually how can I keep the login session information persistent so I can comment it out and next time I run it for debugging or testing the Azure session still exists?
Thanks
Persistent session variables?
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Re: Persistent session variables?
You can use the "Run in Console" command run the script in the console, which will maintains the runspace / session.
When you run a script directly in PowerShell Studio (Ctrl + F5) it will always run the script in a new runspace to ensure that script does not have any dependence on modified variables.
David
When you run a script directly in PowerShell Studio (Ctrl + F5) it will always run the script in a new runspace to ensure that script does not have any dependence on modified variables.
David
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.