Skip to content

Latest commit

 

History

History
42 lines (25 loc) · 1.92 KB

File metadata and controls

42 lines (25 loc) · 1.92 KB

Install NetApp SolidFire PowerShell Tools on Linux

solidfire-powershell-logo linux-logo

The commands should be run in a terminal session on the machine you want to install on. You don't have to be in a specific directory to execute any of these commands. You will need sudo access.

First, Install PowerShell bits

Follow the detailed instructions on the PowerShell for Linux installation page.

Next, Install SolidFire bits

  1. Once inside the PowerShell shell, install SolidFire PowerShell Tools for dotnet core by downloading it from the PowerShell Gallery with the following command:

     PS> Install-Module -Name SolidFire.Core
    
  2. Then, import the SolidFire module with the following command:

     PS> Import-Module SolidFire.Core
    
  3. To see a list of available commands, use:

     PS> Get-Command -Module SolidFire.Core
    

NOTE: This module used to be called SolidFire.Linux. That name has been deprecated and it is now SolidFire.Core

Paths

  • $PSHOME is /opt/microsoft/powershell/[version]/
  • User profiles will be read from ~/.config/powershell/profile.ps1
  • Default profiles will be read from $PSHOME/profile.ps1
  • User modules will be read from ~/.local/share/powershell/Modules
  • Shared modules will be read from /usr/local/share/powershell/Modules
  • Default modules will be read from $PSHOME/Modules
  • PSReadLine history will be recorded to ~/.local/share/powershell/PSReadLine/ConsoleHost_history.txt

The profiles respect PowerShell's per-host configuration, so the default host-specific profiles exists at Microsoft.PowerShell_profile.ps1 in the same locations.

On Linux and macOS, the XDG Base Directory Specification is respected.