I want to access DB variables using Serverspec, but in Serverspec for Windows it is not supported so I am trying using PowerShell but got the following issues
Tried using below powershell command:
"cd Program\ Files\\MySQL\\MySQL\ Server\ 5.5\\bin";
"\.\mysql.exe --user=root --password=atmf"
But not recognized due to escape characters issue and later if we give the command in double quotes PowerShell prints it as string.