Skip to content

Update 1-set-up-authoring-environment.md #127394

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Support for applying configurations through machine configuration is introduced

Operating systems where the module can be installed:

- Ubuntu 20
- Ubuntu 20+
- Windows

The module can be installed on a machine running PowerShell 7.x. Install the versions of PowerShell
Expand All @@ -33,46 +33,13 @@ listed in the following table for your operating system.
| OS | Minimum Required PowerShell Version | Installation |
|------------|:-----------------------------------:|----------------------------------------|
| Windows | `7.1.3` | [Installing PowerShell on Windows][01] |
| Ubuntu 20 | `7.2.4` | [Installing PowerShell on Ubuntu][02] |

For Linux, the following shell script downloads and installs PowerShell 7.2.4.

```sh
###################################
# Prerequisites

# Update the list of packages
sudo apt-get update

# Install pre-requisite packages.
sudo apt-get install -y wget

# Download the PowerShell package file
wget https://github.com/PowerShell/PowerShell/releases/download/v7.2.4/powershell_7.2.4-1.deb_amd64.deb

###################################
# Install the PowerShell package
sudo dpkg -i powershell_7.2.4-1.deb_amd64.deb

# Resolve missing dependencies and finish the install (if necessary)
sudo apt-get install -f

# Delete the downloaded package file
rm powershell_7.2.4-1.deb_amd64.deb

# Switch the user to root before launching PowerShell
sudo su

# Start PowerShell
pwsh
```
| Ubuntu 20+ | `7.2.4` | [Installing PowerShell on Ubuntu][02] |

The **GuestConfiguration** module requires the following software:

- Azure PowerShell 5.9.0 or higher. The required Az PowerShell modules are installed automatically
with the **GuestConfiguration** module, or you can follow [these instructions][03].


### Install the GuestConfiguration module from the PowerShell Gallery

To install the **GuestConfiguration** module on either Windows or Linux, run the following command
Expand Down