This powershell script isn't working for me...
gci -path $FromPath -Include ("*.dll", "*.pdp") | ? {$_.Name -match "CSLib|CBCore|Cn|CFramework"} | foreach{write-host("Do I have the files here? : "+ $_.Fullname + " -destination" + $ToPath) }
You can basically break it down into three parts...
gci -path $FromPath -Include ("*.dll", "*.pdp") |
? {$_.Name -match "CSLib|CBCore|Cn|CFramework"}
foreach{write-host("Do I have the files here? : "+ $_.Fullname + " -destination" + $ToPath) }
Each of those should work individually. I replaced my actual move script with a command just to write out the files. But that doesn't seem to work either. Not sure what I am missing?
$FromPathset to?