Variables containing quotes in expressions are ultimately wrapped as a literal.String variable -File "C:\Development\KP Integration\KP Integration\ADExport.ps1" "C:\Test\ADUsers.csv"Becomes"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" "-File "C:\Test\test.ps1" "C:\argument\path\test.csv"" at "".Note the " injected before the -File value and at the end of the string.Cannot use replace function due to dependencies on quotes to pass file path information to PowerShell.
Product Language
Version
Category
Operating System
Operating System Language
Steps to Reproduce
Actual Results
Expected Results
Platform
Virtualization
Please wait...