Policy Paramter value showing null while running through powershell where as we can see it over azure portal

  • Thread starter Lakshmi Bharath Kumar Dasa
  • Start date
L

Lakshmi Bharath Kumar Dasa

Hello Everyone,Need help in getting the required output as per azure portal in powershell.While we are running the code to get the Policy parameters value through powershell, we are getting only the parameter names but not the values and the values are null, however we can see the parameter values over the portal as expected. Moreover we can see the policy effect in the output.code : Get-azpolicysetdefinition| select-object -expandproperty properties| select-object -property parametersOutput Ex:mad:{effects=}we are getting the parameter values as mentioned above. Is there anyway to get the paramt

Continue reading...
 

Similar threads

Back
Top Bottom