Hi,
I am not able to make this script run. Please help me.
$systems = get-content "C:\cb\systems.txt"
Write-Host $systems
foreach ($system in $systems)
{
Invoke-Command -ComputerName $system{ Pushd
sl HKLM:SOFTWARE\
$path = Test-Path cbd
write-host $path
Remove-Item cbd
popd
}}