Hey All, Hoping I can get some help as I'm just not thinking straight.
I want to be able to use reg query $variablePathName /f /InstallDate /s
But I'm being told that $VariablePathName isn't a valid path (no dur) yet it is if I run the prior command which gives me the path.
How can I use reg query
to search using a variable?