< Back
Get-MerakiLicenceState
Post
NAME Get-MerakiLicenceState
SYNOPSIS
Short function to list organizations licences.
In order to use this Module you will need an API Key from your Dashboard.
SYNTAX
Get-MerakiLicenceState [-ApiKey] <String> [-OrganisationID] <String> [<CommonParameters>]
DESCRIPTION
Short function to list organizations licences.
This function queries the Cisco Meraki API service https://dashboard.meraki.com/api/v0 and will be needed for use
with additional
commands within the module.
API Access is free but Rate Controlled and is limited to 5 calls per second (per organisation).
In order to use this Module you will need an API Key from your Dashboard. For access to the API, first enable the
API for your
organisation under Organiation > Settings > Dashboard API access.
After enabling the API, go to the my profile page to generate an API key. The API key is associated with a
Dashboard administrator account.
You can generate, revoke, and regenerate your API key on your profile.
PARAMETERS
-ApiKey <String>
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-OrganisationID <String>
Required? true
Position? 2
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
Accepts Api Key as piped input.
Accepts Organisation ID as piped input.
OUTPUTS
The output from the API is sent as JSON and captured in a custom object.
{
"status": "OK",
"expirationDate": "Feb 3, 2018 UTC",
"licensedDeviceCounts": {
"MS220-8P": 30,
"MX65W": 2,
"SM": 100,
"wireless": 95,
"MX64W": 2,
"MX65": 6,
"MC": 7,
"Z1": 1,
"MX64": 1,
"MV": 4
}
}
You can then select the items that you want to display.
NOTES
Author: Luke Leigh
Website: https://blog.lukeleigh.com/
LinkedIn: https://www.linkedin.com/in/lukeleigh/
GitHub: https://github.com/BanterBoy/
GitHubGist: https://gist.github.com/BanterBoy
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>
RELATED LINKS
https://github.com/BanterBoy/CiscoMeraki/wiki
SYNOPSIS
Short function to list organizations licences.
In order to use this Module you will need an API Key from your Dashboard.
SYNTAX
Get-MerakiLicenceState [-ApiKey] <String> [-OrganisationID] <String> [<CommonParameters>]
DESCRIPTION
Short function to list organizations licences.
This function queries the Cisco Meraki API service https://dashboard.meraki.com/api/v0 and will be needed for use
with additional
commands within the module.
API Access is free but Rate Controlled and is limited to 5 calls per second (per organisation).
In order to use this Module you will need an API Key from your Dashboard. For access to the API, first enable the
API for your
organisation under Organiation > Settings > Dashboard API access.
After enabling the API, go to the my profile page to generate an API key. The API key is associated with a
Dashboard administrator account.
You can generate, revoke, and regenerate your API key on your profile.
PARAMETERS
-ApiKey <String>
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-OrganisationID <String>
Required? true
Position? 2
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
Accepts Api Key as piped input.
Accepts Organisation ID as piped input.
OUTPUTS
The output from the API is sent as JSON and captured in a custom object.
{
"status": "OK",
"expirationDate": "Feb 3, 2018 UTC",
"licensedDeviceCounts": {
"MS220-8P": 30,
"MX65W": 2,
"SM": 100,
"wireless": 95,
"MX64W": 2,
"MX65": 6,
"MC": 7,
"Z1": 1,
"MX64": 1,
"MV": 4
}
}
You can then select the items that you want to display.
NOTES
Author: Luke Leigh
Website: https://blog.lukeleigh.com/
LinkedIn: https://www.linkedin.com/in/lukeleigh/
GitHub: https://github.com/BanterBoy/
GitHubGist: https://gist.github.com/BanterBoy
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>
RELATED LINKS
https://github.com/BanterBoy/CiscoMeraki/wiki