DocNougat / Meraki-Powershell-Module

A PowerShell Module for the Cisco Meraki API
GNU General Public License v3.0
18 stars 3 forks source link

Set-MerakiNetworkGroupPolicy #13

Open comparecloud opened 3 months ago

comparecloud commented 3 months ago

I know this is a very small issue but it has sent me around in circles for a while and I thought it would help someone in the future. In the help section for the Set-MerakiNetworkGroupPolicy

The line: $config = $config | ConvertTo-Json should be $config = $config | ConvertTo-Json -Depth 20

This will convert the json correctly. Thanks C