Giter Site home page Giter Site logo

pumpith / insight-2019 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pulkjr/insight-2019

0.0 0.0 0.0 167 KB

Insight 2019 PowerShell Demos

Home Page: https://insight.netapp.com/

License: GNU General Public License v3.0

PowerShell 97.92% Gherkin 2.08%

insight-2019's Introduction

Insight-2019

  • Session 1403-2: Advanced PowerShell Techniques
  • Session 1402-1: Administer Your NetApp Storage Environment Using PowerShell Essentials

Related Sessions

  • Session 2018-2: Harnessing the Power of ONTAP Infrastructure Testing with Pester

Who this is for

  • You have some experience with PowerShell and are looking to write more mature scripts, functions, classes, and modules
  • Part of your work responsibilities include managing NetApp storage devices.
  • You won’t be an expert in PowerShell or ONTAP storage administration using PowerShell after reading this. However, you should leave with some basic fundamental building blocks necessary for developing more advanced scripts.

Some topics we wanted to talk more about (but couldn’t due to time)

  • Error handling
  • PowerShell Adapted Type Systems (ATS) and Extended Type Systems (ETS)

Previous PowerShell talks

  • Storage Infrastructure Testing Using PowerShell and Pester ( Insight 2018 - Session 11942 )
  • Advanced PowerShell Storage Provisioning Lifecycle ( Insight 2018 - Session 11923 )

Using the examples

  • This repo is based around the concept of demos. The expectation is the you have a NetApp Cluster created with:
    • SVM Named: TestSVM
    • ISCSI target Lifs: iscsi1 and iscsi2
  • Open PowerShell and navigate to the git repo
  • Load Start-Demo into memory
  • Call one of the demos!
PS > . ./Examples/Start-Demo.ps1
PS > Start-Demo ./Examples/1403-2_Advanced/0.ScriptToModule.demo

TODO

  • Converting a script to a module
    • Script to Function
    • Module Manifest
  • Script - compare LUNs to VMware canonical names using subfunctions
    • Unit Test it
  • Classes - What they are and where to use them
    • Show subfunctions vs classes
    • Unit Test It
  • Quick Overview of DSC and its uses
    • Comparison to an ansible playbook
    • Gherkin Testing
    • Diagnostic Testing
  • Invoke-RestMethod for ONTAP 9.6 and beyond
  • Automation vs Interactive Scripts (In PowerPoint)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.