0 votes

Hi Team,

Is it possible to use Powershell v3 instead of v2 in Adaxes (for custom actions) ? We are using 2012 version, don't know if 2013.1 is using natively v3 but we'd prefer to take our time to switch to the latest version and we desesperatly need to get access to Powershell v3 features.

Thanks

by (800 points)

1 Answer

0 votes
by (216k points)

Update 2018

Starting with version 2018.1 Adaxes supports the latest version of Windows PowerShell installed on the same computer where Adaxes service runs including PowerShell 3.0 and later.

Original

Hello,

No, this is currently impossible. Adaxes supports .NET Framework version 3.5 and loads and uses this framework version, which includes PowerShell version 2 only. You can install a newer version of .NET Framework with new PowerShell features on the computer where Adaxes is installed, but you will not be able to use it with Adaxes.

0

Hello,

I'm currently using Adaxes 2015 and it seems i can't use my script (works under powershell v3 but not under powershell v2). So what about the powershell version used by Adaxes now ?

0

Hello Alexandre,

Currently, Adaxes still loads the PowerShell v. 2.0 environment. We are planning to support at least PowerShell v. 3.0 starting from the next major version, Adaxes 2016.1.

For now, if you need to use PowerShell v. 3.0 features, you can work around that by launching a separate instance of PowerShell from your Business Rules, Custom Commands and Scheduled Tasks. Since it is going to be a separate instance, the latest version of PowerShell environment available on the computer will be loaded. For information on how to do this, see the following sample in our Script Repository: http://www.adaxes.com/script-repository ... e-s290.htm.

0

Thanks for your answer.

When will this version of Adaxes will be released ?

0

Hello Alexandre,

We are targeting the end of summer, but we cannot provide any fixed dates yet.

0

Any updates on this? Would love version 4.

0

Hello,

The version that will support PowerShell version 3 is rescheduled for the beginning of 2017. Currently, we are only planning the support for 3.0, support for PowerShell 4.0 will be considered.

0

This seems to be not working for Powershell 7. It uses only the lastest Version of "5.1.17763.2268" in our case. Is there a workaround to get Adaxes running with Powershell 7?

0

Hello,

Yes, you are right, Adaxes does not support PowerShell 7 as it is currently installed as a separate application alongside with another version. As an option you can try running your script in PowerShell 7 as an external program.

Related questions

0 votes
1 answer

We have a "Create Shared Mailbox" function which uses a custom command in PS. I've amended my PS script to created Shared Mailboxes to be inline with the V3 of Exchange ... issue? Here's the script And here's the error after using the the function once.

asked Jun 13, 2023 by Homelander90 (350 points)
0 votes
1 answer

I am noticing a large amount of PowerShell Transcript files in the Adaxes SA accounts Documents folder. These are different than the logging feature which has a very ... Can I configure these transcripts in any way to manage their space consumption/retention?

asked Nov 5 by SysADM (50 points)
0 votes
1 answer

Hi, I have this Script to check if a condition is met # The condition is met if $Context.ConditionIsMet is set to $True. $Context.ConditionIsMet = $False $inputString = " ... or issue with this match function using in a "if script returns true" condition?

asked Oct 31 by wintec01 (1.5k points)
0 votes
1 answer

Trying to create a custom command to run a powershell script, but I keep getting an error saying it can't find the file or path supplied for launching powershell. ... and I can launch powershell from this location using Command Prompt. Am I missing something?

asked Oct 24 by cstaub (100 points)
0 votes
1 answer

Having a strange issue, when executing a powershell command in adaxes as a business rule, the first line, no matter what is there comes up as invalid. Originally my ... line, but I've tried everything and universally the first line is flagged as invalid

asked Oct 23 by curtisa (290 points)
3,548 questions
3,239 answers
8,232 comments
547,814 users