Azure / GuestConfiguration

PowerShell module for creating, testing, and publishing custom Guest Configuration
MIT License
5 stars 2 forks source link

New-GCPolicy output does not align to New-AzPolicyDefinition input #277

Closed mgreenegit closed 1 year ago

mgreenegit commented 2 years ago

The New-GuestConfigurationPolicy cmdlet outputs:

Name     : foo
Path     : /path/foo_DeployIfNotExists.json
PolicyId : guid

However the New-AzPolicyDefinition cmdlet accepts, at minimum, Name and Policy.

This is an easy fix. We just need to change the object property name Path to Policy and the two commands will be organized for one to pipe to the other.

github-actions[bot] commented 2 years ago

This issue has not been updated within 14 days