Skip to content

Commit 62b2b6c

Browse files
authored
Update 1-set-up-authoring-environment.md
1 parent 4e25079 commit 62b2b6c

File tree

1 file changed

+3
-36
lines changed

1 file changed

+3
-36
lines changed

articles/governance/machine-configuration/how-to/develop-custom-package/1-set-up-authoring-environment.md

Lines changed: 3 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: How to install the machine configuration authoring module
33
description: Learn how to install the PowerShell module for creating and testing machine configuration policy definitions and assignments.
4-
ms.date: 02/01/2024
4+
ms.date: 07/22/2025
55
ms.topic: how-to
66
---
77
# How to set up a machine configuration authoring environment
@@ -24,7 +24,7 @@ Support for applying configurations through machine configuration is introduced
2424

2525
Operating systems where the module can be installed:
2626

27-
- Ubuntu 20
27+
- Ubuntu 20+
2828
- Windows
2929

3030
The module can be installed on a machine running PowerShell 7.x. Install the versions of PowerShell
@@ -33,46 +33,13 @@ listed in the following table for your operating system.
3333
| OS | Minimum Required PowerShell Version | Installation |
3434
|------------|:-----------------------------------:|----------------------------------------|
3535
| Windows | `7.1.3` | [Installing PowerShell on Windows][01] |
36-
| Ubuntu 20 | `7.2.4` | [Installing PowerShell on Ubuntu][02] |
37-
38-
For Linux, the following shell script downloads and installs PowerShell 7.2.4.
39-
40-
```sh
41-
###################################
42-
# Prerequisites
43-
44-
# Update the list of packages
45-
sudo apt-get update
46-
47-
# Install pre-requisite packages.
48-
sudo apt-get install -y wget
49-
50-
# Download the PowerShell package file
51-
wget https://github.com/PowerShell/PowerShell/releases/download/v7.2.4/powershell_7.2.4-1.deb_amd64.deb
52-
53-
###################################
54-
# Install the PowerShell package
55-
sudo dpkg -i powershell_7.2.4-1.deb_amd64.deb
56-
57-
# Resolve missing dependencies and finish the install (if necessary)
58-
sudo apt-get install -f
59-
60-
# Delete the downloaded package file
61-
rm powershell_7.2.4-1.deb_amd64.deb
62-
63-
# Switch the user to root before launching PowerShell
64-
sudo su
65-
66-
# Start PowerShell
67-
pwsh
68-
```
36+
| Ubuntu 20+ | `7.2.4` | [Installing PowerShell on Ubuntu][02] |
6937

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

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

75-
7643
### Install the GuestConfiguration module from the PowerShell Gallery
7744

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

0 commit comments

Comments
 (0)