If you make changes to extend these functions, please make a pull request so that we can all benefit. If I don't respond, feel free to fork this yourself.
Original README.md from snagler/meraki_functions below
These are a set of functions to interact with the Meraki cloud via the REST API.
You will need to generate an API key on the Meraki Dashboard.
You will need to collect some data to input some IDs in order for the functions to all work.
- Input your API key in the $api_key variable where it says INSERT_API_KEY_HERE
- Run the Get-MerakiOrganizations function... this will output the Organization ID (we will need this)
- Under the Get-MerakiNetworks and Get-MerakiVPN functions place the Organization ID inside the $api.url variable where it says INSERT_ORGANIZATION_ID
- Run the Get-MerakiNetworks... this will output your network(s) data (we will need the id from the networks that contain your switche(s), AP(s) and security appliance(s))
- Under the Get-MerakiSwitches, Get-MerakiAPs and Get-MerakiAppliances functions place the network ID (for the correct network: Get-MerakiSwitches will need the switch network ID,etc,etc) in the $api_url variable where it says INSERT_NETWORK_ID
I accept tips if you found these functions useful:
Bitcoin: 13E8u5PmKqrpvQRnBMPZjtFzo5nQr5SuuL