So once you connect to the Rubrik Module :
Requirements:
- PowerShell version 4 or higher
PowerCLIversion 6.0 or higher- Rubrik version 2.2 or higher
- (optional)
Windows Management Framework 5.0
Installation :
+++++++++
Option 1: PowerShell Gallery (Recommended)
- Ensure you have the Windows Management Framework 5.0 or greater installed.
- Open a Powershell console with the Run as Administrator option.
- Run
Set-ExecutionPolicyusing the parameter RemoteSigned or Bypass. - Run
Install-Module -Name Rubrik -Scope CurrentUserto 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
- Download the
master branchto your workstation. - Open a Powershell console with the Run as Administrator option.
- Run
Set-ExecutionPolicyusing the parameter RemoteSigned or Bypass. - Run the
Install-Rubrik.ps1script 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.
5
LikeLike