Powershell – Find Most Recent 12 Files from Folder Pattern
My disk folder structure is like this: D:\Application\DEV D:\Application\DEV\Cust1 D:\Application\DEV\Cust1\Archive D:\Application\DEV\Cust1\Archive\210 D:\Application\DEV\Cust1\Archive\204 D:\Application\DEV\Cust1\Inbound D:\Application\DEV\Cust1\Inbound\204 D:\Application\DEV\Cust1\Inbound\210 D:\Application\DEV\Cust1\Outbound D:\Application\DEV\Cust1\Outbound\204 D:\Application\DEV\Cust1\Outbound\210 Similar for \Cust2 Similar for \Cust3 etc I was looking for a sample 210 EDI Invoice to use in testing; and I wanted the most recent ones. It turns out you can put a wildcard in the […]