Splitting the PowerShell PSModulePath Cross-Platform

The $env:PSModulePath environment variable contains a list of directory locations that PowerShell searches to locate modules. $env:PSModulePath When you’re trying to determine what paths are part of the $env:PSModulePath environment variable in PowerShell, you’ll find that most examples split the results on the semicolon (;) character to return each path on a separate line. $env:PSModulePath -split ';' Another variation is to use the Split method instead of the operator. $env:PSModulePath.Split(';') Splitting on a semicolon was a great solution back in the day of Windows (only) PowerShell....

February 17, 2023 · 2 min · 276 words · Mike F. Robbins

Enable PowerShell remoting on ArcoLinux

PowerShell is a cross-platform scripting language that runs on Windows, Linux, and macOS. ArcoLinux is a rolling release Linux distribution based on Arch Linux. Prerequisites ArcoLinux was installed using the ArcoLinuxL ISO with the easy installation option. The examples shown in this article were performed using Xfce Terminal. ArcoLinux was fully updated using the sudo pacman -Syu command. Installation Verify that you have PowerShell installed: pwsh --version If you receive the error: command not found, see Install PowerShell on ArcoLinux to install PowerShell....

August 25, 2022 · 4 min · 712 words · Mike F. Robbins

Install the Hugo Static Site Generator on ArcoLinux

Hugo is a lightning-fast open-source static site generator that’s written in Go. ArcoLinux is a rolling release Linux distribution based on Arch Linux. Prerequisites ArcoLinux was installed using the ArcoLinuxL ISO with the easy installation option. The examples shown in this article were performed using Xfce Terminal. ArcoLinux was fully updated using the sudo pacman -Syu command. Installation I downloaded version 0.89.4 of Hugo extended. For the latest version or a different version, see the Hugo GitHub repo....

August 4, 2022 · 2 min · 337 words · Mike F. Robbins

Install Visual Studio Code (VS Code) on ArcoLinux

Visual Studio Code (VS Code) is a powerful, lightweight, and cross-platform source code editor. ArcoLinux is a rolling release Linux distribution based on Arch Linux. Prerequisites ArcoLinux was installed using the ArcoLinuxL ISO with the easy installation option. The examples shown in this article were performed using Xfce Terminal. ArcoLinux was fully updated using the sudo pacman -Syu command. Installation You could use the pacman or paru command. I chose to use the pamac command....

July 28, 2022 · 2 min · 218 words · Mike F. Robbins

Install PowerShell on ArcoLinux

PowerShell is a cross-platform scripting language that runs on Windows, Linux, and macOS. ArcoLinux is a rolling release Linux distribution based on Arch Linux. Like other Arch-based Linux distributions, ArcoLinux uses pacman for its package manager. Prerequisites ArcoLinux was installed using the ArcoLinuxL ISO with the easy installation option. The examples shown in this article were performed using Xfce Terminal. ArcoLinux was fully updated using the sudo pacman -Syu command. Your mileage may vary with other operating systems, versions, distributions, desktop environments, ISO’s, terminals, installation options, package managers, and versions of PowerShell....

June 30, 2022 · 2 min · 347 words · Mike F. Robbins

Use PowerShell to Create a Linux VM in Azure

In a couple of my previous blog articles, I’ve demonstrated how to create a storage account in Azure and how to create a reserved virtual IP address in Azure. Both of those items will be used in today’s blog article so I recommend reading through those previous blog articles if you haven’t already done so. The goal in this blog article is to build a CentOS based OpenLogic 7.0 VM in Azure except using PowerShell instead using the Azure portal website (GUI):...

March 12, 2015 · 3 min · 558 words · Mike F. Robbins