Expand string Variable stored via Single Quote in Powershell

前端 未结 2 463
挽巷
挽巷 2020-12-11 22:08

I have a scenario where I need to construct a powershell path as $RemotePath = \'$($env:USERPROFILE)\\Desktop\\Shell.lnk\'. This variable gets passed to a remot

2条回答
提交回复
热议问题