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.
Before you begin
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 Control Base Edition.
About this task
The following procedure details how to download, install, and properly configure the IBM
Storage Automation Plug-in for PowerShell.Procedure
- Go to Microsoft PowerShell Gallery(https://www.powershellgallery.com/packages/SpectrumControlBase-Client) and download the
plug-in to every Microsoft PowerShell host. You can also navigate to the PowerShell Gallery from
within the Spectrum Control Base 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
SpectrumControlBase-Client package.
- Create connection between the IBM Storage Automation Plug-in for PowerShell and Spectrum
Control Base Edition, using credentials previously defined in Spectrum Control Base Edition. Use the
following procedure:
$client=New-SCBConnection -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 SpectrumControlBase-Client package.