Support Forums

Persistent session variables?

Use this forum to ask questions before you buy. Need information on licensing or pricing? Questions about a trial version? This is the right place for you. No scripting questions, please.
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.
User avatar
lucidqdreams
Posts: 3
Joined: Thu May 19, 2011 8:41 am

Persistent session variables?

Postby lucidqdreams » Tue Dec 22, 2015 3:05 pm

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
User avatar
davidc
Posts: 4448
Joined: Thu Aug 18, 2011 4:56 am

Re: Persistent session variables?

Postby davidc » Tue Dec 22, 2015 3:38 pm

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
David
SAPIEN Technologies, Inc.

Return to “Trial Software Questions”

Who is online

Users browsing this forum: No registered users and 1 guest

cron