Host-based backup of Microsoft Hyper-V VMs.
Post Reply
JTT
Service Provider
Posts: 102
Liked: 2 times
Joined: Jan 02, 2017 7:31 am
Full Name: JTT
Contact:

PowerShell Direct - PowerShell 2.0 or later is required

Post by JTT »

When does Veeam finally stop requiring PowerShell 2.0 on Hyperv host with PS direct backup? This does not seem to be fixed in V12.
Also "PowerShell 2.0 or later" - Server 2022 with PS 5.1 isnt enough?

09.05.2023 11:18:01 Failed Cannot connect to VM [f3b5506a-8e18-4258-8893-b61f7a8b0154] over PSDirect. Guest Login: [xxx].;Failed to invoke func [Connect]: Unknown error 0x80131500. Unknown error 0x80131500. PowerShell 2.0 or later is required.;COM error: Code: 0x80131500
;
JTT
Service Provider
Posts: 102
Liked: 2 times
Joined: Jan 02, 2017 7:31 am
Full Name: JTT
Contact:

Re: PowerShell Direct - PowerShell 2.0 or later is required

Post by JTT »

Windows PowerShell 2.0 was deprecated in August, 2017. For more information, see the announcement on the PowerShell blog.

Windows PowerShell 2.0 is missing a significant amount of the hardening and security features added in versions 3, 4, and 5. We highly, highly recommend that users not use it if they can help it.

https://learn.microsoft.com/en-us/power ... rshell-7.3
Mildur
Product Manager
Posts: 8735
Liked: 2294 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: PowerShell Direct - PowerShell 2.0 or later is required

Post by Mildur »

Hi JTT

For PSDirect, powershell 2.0 is currently required by Veeam:
https://helpcenter.veeam.com/docs/backu ... ml?ver=120

I will collect more information and discuss it with the team.
We will update this topic.

Best,
Fabian
Product Management Analyst @ Veeam Software
Mildur
Product Manager
Posts: 8735
Liked: 2294 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: PowerShell Direct - PowerShell 2.0 or later is required

Post by Mildur » 1 person likes this post

Hi JTT

We have discussed this internally. Our code for PowerShell Direct works with PowerShell 2.0 or later. Our user guide is wrong here and will be updated. PowerShell 2.0 is not required anymore.

Our suggestion is to open a case with our customer support and let them check why the backup server couldn't detect a more recent version (assuming PowerShell is working fine on the server). Please don't forget to share the case number with me.

Best,
Fabian
Product Management Analyst @ Veeam Software
AlexHeylin
Veeam Legend
Posts: 563
Liked: 173 times
Joined: Nov 15, 2019 4:09 pm
Full Name: Alex Heylin
Contact:

Re: PowerShell Direct - PowerShell 2.0 or later is required

Post by AlexHeylin » 2 people like this post

User guide is now updated, making this thread confusing :lol:
Mildur
Product Manager
Posts: 8735
Liked: 2294 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: PowerShell Direct - PowerShell 2.0 or later is required

Post by Mildur »

What is still confusing? :)

Best,
Fabian
Product Management Analyst @ Veeam Software
AlexHeylin
Veeam Legend
Posts: 563
Liked: 173 times
Joined: Nov 15, 2019 4:09 pm
Full Name: Alex Heylin
Contact:

Re: PowerShell Direct - PowerShell 2.0 or later is required

Post by AlexHeylin »

Don't worry - I'm very easily confused Fabian - especially since I gave up coffee. If anyone wants me, I'll be sat in the corner rocking and muttering to myself. :lol:
Post Reply

Who is online

Users browsing this forum: No registered users and 15 guests