79628654

Date: 2025-05-19 11:40:11
Score: 1.5
Natty:
Report link

This should simply your search, finding file names that ends with *.rdc
$currSourceFolder = "C:\MyReports\MDX\"
Get-Childitem -Path $currSourceFolder | ? {$_.name -like "*.rdc"}

or even a specific search with extensions only like

get-childitem -Path "C:/temp/" | ? {$_.extension -like ".rdc"}

both should give the desired result, obvuiously you can more parameters

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: BALAJI PILLAI