0 votes

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 I am wondering if we can force Adaxes to use PS5.1 instead of 7.

How does adaxes know which version of powershell to use for a script?

by (120 points)
0

Same here, the Whats new article tells that we can choose the powershell version that will be executed?

0

Hello,

As it is mentioned below, this is a mistake in the What’s New article. We will fix it as soon as possible.

At the same time, we confirm that starting from version 2025.1, Adaxes only supports PowerShell 7.

1 Answer

0 votes
by (301k points)

Hello,

Adaxes 2025.1 only users PowerShell 7. It does not use PowerShell 5 at all. As such, you need to install the version of the module compatible with PowerShell 7 on the computers where Adaxes service runs and remove all the other versions.

0

I'm also having similar issues with scripts that load v5 modules - thought I would be ok based on the below:

https://www.adaxes.com/info_whats-new.htm#powershell_7_support

"That's why scripts in Adaxes workflows now support PowerShell 7 alongside PowerShell 5.1, opening the door to cmdlets from PS7-only modules."

Not sure who to believe :D

0

Hello,

Thank you for pointing out the mistake. We will correct the What’s New article. Sorry for the inconvenience.

At the same time, we confirm that starting from version 2025.1, Adaxes only supports PowerShell 7.

Related questions

0 votes
1 answer

I'm seeing this error when I run a user deprovision. It still executes the script but nobody likes errors! Run PowerShell Script 'DuoDeprovisionExport' For the user. The term ' ... running an export script in the first place for my Duo user info. ) Thanks.

asked Feb 19, 2020 by rainamaina (60 points)
0 votes
1 answer

Hi there, we have some custom commands that need the enter-pssession with -sshtransport which is only available in PWSH7. Is it supported to install powershell7 right on the adaxes server? Kind regards, Constantin

asked Mar 3, 2022 by Constey (190 points)
0 votes
0 answers

Issue The Active Directory Federation Services (ADFS) master key that decrypts ADFS certificates is stored in Active Directory, in the thumbnailPhoto attribute of a contact object ... ,CN=Program Data,DC=domain,DC=com container via native AD access control.

asked Mar 28 by Adaxes (580 points)
0 votes
1 answer

We have a fleet of Macbooks that use NoMAD to handle AD Authentiction and syncronization. How can we use Adaxes to handle the Password reset utility with these users. If they ... resync will be needed. Anybody else doing this or have a solution to the above?

asked May 13, 2020 by jcalvert (60 points)
0 votes
1 answer

The individualmodule for PnP if upgraded to 2.2 in non PowerShell 7 breaks in Adaxers. Previous versions of Powershell will not allow the 2.2 PnP version to connect which is ... to make this work but if it is deprecated by MS, then we will lose functionality.

asked Aug 16, 2023 by nick.boehm (20 points)
3,679 questions
3,361 answers
8,514 comments
549,409 users