To start using PowerShell cmdlets for storage provisioning, you must first download the
IBM Storage Automation Plug-in for PowerShell from Microsoft PowerShell Gallery and install it on a
Microsoft PowerShell host.
Verify that:
- Windows Management Framework 5.0 has been installed.
- Microsoft PowerShell 5.0 has been installed.
- PowerShell user credentials have been defined in Spectrum Connect.
The following procedure details how to download, install, and properly configure the IBM
Storage Automation Plug-in for PowerShell.
-
Go to Microsoft
PowerShell Gallery
(https://www.powershellgallery.com/packages/SpectrumConnect-Client) and download the
plug-in to every Microsoft PowerShell host. You can also navigate to the PowerShell Gallery from
within the Spectrum Connect GUI by clicking
Download plug-in package on the bottom of the PowerShell
Settings dialog box (right-click the PowerShell interface on the
Interfaces pane, and select Modify).
-
Initiate Microsoft PowerShell.
-
In the PowerShell environment, use the Find-Module and
Install-Module commands to locate and install the
SpectrumConnect-Client package.
-
Create connection between the IBM Storage Automation Plug-in for PowerShell and Spectrum Connect, using credentials previously defined in
Spectrum Connect. Use the following procedure:
$client=New-SCConnection -ConnectionUri https://9.115.247.148:8440
-UserName powershell -Password Passw0rd
The session is active now.
-
If you need to uninstall the plug-in, use the Uninstall-Module command to
uninstall the SpectrumConnect-Client package.