Showing results for February 2025 | Azure VM Runtime Team

Feb 26, 2025
0
0

Using Powershell7 with Managed Runcommand

Joseph Calev
Joseph Calev

Today, all scripts run through Managed RunCommand will by default use Powershell 5. What if you have a script that requires Powershell7? This is supported via a new feature, but you will need to specify the different script shell. Here's what you need to do. Ensure your VM has Powershell7 Powershell7 is not installed by default. To ensure ...

Azure VM Runtime TeamRunCommand