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 trying to run a script that uses the Vmware.Hv.Helper module to connect to a VMWare horizons server and pull usage data. After updating to 2025, this script fails and ... instead of 7. How does adaxes know which version of powershell to use for a script?

asked 4 days ago by DA-symplr (120 points)
0 votes
1 answer

We have a security initiative to disable the default Exchnage Online (EXO) PowerShell access for users, while retaining access for Admins. I would like to implement ... com/en-us/powershell/exchange/disable-access-to-exchange-online-powershell?view=exchange-ps

asked Mar 14 by Mark.Monaco (40 points)
0 votes
1 answer

I have a number of custom Powershell scripts that add users to Teams, groups, etc. I re-use these scripts dozens of times for different conditions and only change one ... possible to convert this script to a custom command and pass parameters to it instead?

asked Dec 16, 2024 by cwyant-hfg (40 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, 2024 by SysADM (50 points)
3,677 questions
3,361 answers
8,494 comments
549,333 users