Closed filizt closed 4 years ago
Run below cmdlet in PS:
Export-AzTemplateSpec -Id "/subscriptions/28cbf98f-381d-4425-9ac4-cf342dab9753/resourceGroups/jcotillo-script-debug/providers/Microsoft.Resources/templateSpecs/NSG-Shared" -Version 1.0 -OutputFolder "test"
Expected: file saved in \test folder Actual: file saved in C:\Windows\system32\test folder
For reference, Blueprints use the user's current relative path if a directory is not provided.
This is fixed in the latest cmdlets/drop (though it may not be in the github artifacts until tomorrow morning).
Run below cmdlet in PS:
Expected: file saved in\test folder
Actual: file saved in C:\Windows\system32\test folder