With the $base_uri = "https://api.meraki.com/api/v1/organizations/12345/" - 12345 being the org_id displayed at the bottom of my meraki dashboard page in Web_UI , I run the command as .\MerakiPSKTool.ps1 -site <sitename> -ssid <ssidName> -action Display The errors are : === Displaying Wifi details Network Name : NetworkName id : Network_Id Type : Invoke-WebRequest : Page not found The page you are looking for may have been moved or does not exist. To log in to the Cisco Meraki Dashboard, go to https://dashboard.meraki.com.© 2024 Cisco Systems, Inc. At D:\scripts\amagi\MerakiPSKTool.ps1:90 char:14 + ... $r = Invoke-WebRequest $request_uri -Method:Get -Headers @{"X- ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand ConvertFrom-Json : Cannot bind argument to parameter 'InputObject' because it is null. At D:\scripts\amagi\MerakiPSKTool.ps1:92 char:19 + $z = $r | ConvertFrom-Json + ~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidData: (:) [ConvertFrom-Json], ParameterBindingValidationException + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.ConvertFromJsonCommand ===
... View more