Code Monkey home page Code Monkey logo

meraki's Introduction

Meraki

Powershell script to pull Meraki configurations for your organization

Purpose

My purpose in creating this script was to be able to gather configuration data from Meraki equipment in my organization. I am required to keep baselines, and check for changes on a periodic basis. The Meraki Change Log does a nice job, but it does not solve the requirement of having a baseline for a device. The configuration files that this script delivers are not perfect, but they are significantly better than screen shots.

Variables

This file uses variables that are based on the Meraki Public Sandbox. Running this script as-is will pull information from that location. You will need to insert your own values for these variables in order to make it work in your environment.
The first variable you'll need to update is the $apiKey. This is available in your Meraki dashboard.

The other variables are found by running some of these commands. I've noted in the code which queries return new values.

You'll need to run these items one at a time, at first, in order to get your values. I would suggest setting up a new script with the variable section, and the TLS1.2 command (basically the entire top portion of the script) along with the individual item you want to run. Or... Download Postman and work with the Meraki API to find these values. I found Postman to be very valuable while I was writing this. Going through the Meraki Tutorial is quick, and relatively easy, but necessary as the Postman interface only makes sense once you're used to it. https://documentation.meraki.com/zGeneral_Administration/Other_Topics/The_Cisco_Meraki_Dashboard_API

File Output

Finally, I chose to export my files as XML for ease of reading. And I then chose to concatenate these files together for ease of doc-compare.

Good luck on your project.

meraki's People

Contributors

hortonhearsme avatar

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.