So once you connect to the Rubrik Module :

Requirements:

  1. PowerShell version 4 or higher
  2. PowerCLI version 6.0 or higher
  3. Rubrik version 2.2 or higher
  4. (optional) Windows Management Framework 5.0 

Installation :

+++++++++

  1. Ensure you have the Windows Management Framework 5.0 or greater installed.
  2. Open a Powershell console with the Run as Administrator option.
  3. Run Set-ExecutionPolicy using the parameter RemoteSigned or Bypass.
  4. Run Install-Module -Name Rubrik -Scope CurrentUser to download the module from the PowerShell Gallery. Note that the first time you install from the remote repository it may ask you to first trust the repository.

Option 2: Installer Script

  1. Download the master branch to your workstation.
  2. Open a Powershell console with the Run as Administrator option.
  3. Run Set-ExecutionPolicy using the parameter RemoteSigned or Bypass.
  4. Run the Install-Rubrik.ps1 script in the root of this repository and follow the prompts to install, upgrade, or delete your Rubrik Module contents.

Than lets see some commands:

 

These are the list of commands which you can execute from PowerShell.

Now lets start with how we connect :

So you get connected to the cluster. Once you are connected:

When we run this we see multiple instances loaded on the cluster .

Lets check the list of filesets now:

 

It gives you amazing set of information which you can customize accordingly as in how you need them in your environment.

You can use : Get-Command -Module Rubrik command to explore the list on Rubrik Module

Please comment on this article if you need any information regarding the powershell execution against Rubrik Module.