Open joshcorr opened 3 months ago
I see there is already a known issue with relative path, which may be a similar issue.
~
expansion is the job of the shell, not the exe so dsc.exe
has no idea what ~
means. However, PS7.5 has a new experimental feature to make this work. For older PS, you can use (resolve-path ~\gotstoy.dsc.config.yaml)
to force resolving the ~
.
Prerequisites
Steps to reproduce
When testing out the new parameter
-p
and-path
inside PowerShell I was unable to use the~
for referencing the $HOME location, while $env:USERPROFILE worked as seen below. The tilde can be used with other commands like Get-Command, so I was expecting this to work as an alias for the user profile.Expected behavior
Actual behavior
Error details
No response
Environment data
Version
dsc 3.0.0-alpha.5
Visuals