Jump to content

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


Recommended Posts

Guest Lakshmi Bharath Kumar Dasa
Posted

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:@{effects=}we are getting the parameter values as mentioned above. Is there anyway to get the paramt

 

More...

  • Replies 0
  • Created
  • Last Reply

Popular Days

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...