Following code Works: Get-ChildItem "C:\" -recurse -include *.dll
But the following code DOES NOT WORK when the drive is replaced with a variable containing the string.
$temp = "C:"; Get-ChildItem "$temp" -recurse -include *.dll.
Any Clue what might be the issue??