In each of the following sections, we’ll cover how to install PowerShell 7 and Visual Studio Code on Windows, macOS, and various flavors of Linux. This should cover nearly all situations but refer to the official Microsoft Documentation (PowerShell/VS Code) when in doubt.
Once both PowerShell and Visual Studio Code are installed, the final steps (Initial Launch of VS Code, Additional Recommended Extensions, Installing the SolarWinds Orion PowerShell Module, and Validating Our Work) are identical.
Required Permissions
You’ll need to be a member with sufficient rights to install the software on Windows computers. This is typically either the local Administrators group or Power Users (if running on an ancient version of Windows).
On macOS, you’ll need to be a member of the Administrators group on the computer. During the installs, you may be re-prompted for your password to authorize the changes.
On Linux, you’ll need to be in the sudoers
group. Membership and maintenance of this group is different depending on your Linux distribution. Please see the documentation on your specific distribution for more details on sudo
.
Next
Dependent on your operating system, select one of the following pages to continue the installation of PowerShell 7.x.