KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Why doesn't this work? $drvrInstFilePath = "$sharePath\$imageName\ISO`$OEM$`$1\RPKTools\RPKDriverInst.bat" echo $drvrInstFilePath $drvrInstContent = Get-Content -LiteralPath "$sharePath\$imageName\ISO`$OEM$`$1\RPKTools\RPKDriverInst.bat" | Out-String The echo shows the right path, but the Get-Content command expands the $oem and $1 to blank strings, even though they are escaped. Why?
Tags (comma-separated)
Save Edits
Cancel