Skip to content

vMarkusK/vSphereNetAppToolkit

Repository files navigation

vSphereNetAppToolkit PowerShell Module

About

Project Owner

Markus Kraus @vMarkus_K

MY CLOUD-(R)EVOLUTION mycloudrevolution.com

Project WebSite

mycloudrevolution.com

Project Repository

GitHub - vSphereNetAppToolkit

Project Documentation

Read the Docs - vSphereNetAppToolkit

Project Description

This Module helps to automate some basic steps that interact between VMware vSphere and NetApp ONTAP.

Requirements

Import-Module DataONTAP
Import-Module VMware.VimAutomation.Cis.Core
$NaCreds = Get-Credential -Message "NetApp"
$VcCreds = Get-Credential -Message "vCenter"

Connect-NcController netapp.lab.local -Credential $NaCreds
Connect-VIServer vcenter-01.lab.local -Credential $VcCreds

Functions

New-VsphereNetappVolume

New-VsphereNetappVolume -VolName vol_vmware_11 -VolSize 1 -vSphereCluster Cluster01 -NetAppAggregate aggr_data -NetAppVserver svm-esxi `
-NetAppInterface svm-nfs_data -NetAppSnapshotPolicy default-1weekly

New-VsphereNetappVolume

Get-VsphereNetappVolume

(Get-Datastore).Where({$_.Type -eq "NFS"}) | Get-VsphereNetappVolume | Format-Table -AutoSize

Get-VsphereNetappVolume

Releases

No releases published

Packages

No packages published