Where -notlike

Ask your PowerShell-related questions, including questions on cmdlet development!
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 7 years and 5 days old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

Re: Where -notlike

Post by jvierra »

Here is some food for thought. I call it the poor mans dile processor with progress bar and feedback.
Attachments
SiteSurveyApps.psf
(115.14 KiB) Downloaded 107 times
User avatar
localpct
Posts: 397
Last visit: Thu Oct 27, 2022 5:57 am

Re: Where -notlike

Post by localpct »

That's beautiful... now to remove the files I don't want
Thanks a billion - just as another example. These files are on every PC and I don't need them because they're standard apps
Adobe Flash Player 20.0.0.228.LOG
Adobe Flash Player 20.0.0.267.LOG
Adobe Flash Player 20.0.0.306.LOG
Adobe Flash Player 21.0.0.213.LOG
Adobe Flash Player 21.0.0.242.LOG
Adobe Flash Player 22.0.0.192.LOG
Adobe Flash Player 22.0.0.209.LOG
Adobe Flash Player 23.0.0.162.LOG
Adobe Flash Player 23.0.0.205.LOG
Adobe Flash Player 23.0.0.207.LOG
Adobe Flash Player 24.0.0.186.LOG
Adobe Flash Player 24.0.0.194.LOG
Flash Player20.0.0.228_ActiveX_vendor.LOG
Flash Player20.0.0.228_Plug-in_vendor.LOG
Flash Player20.0.0.267_ActiveX_vendor.LOG
Flash Player20.0.0.267_Plug-in_vendor.LOG
Flash Player20.0.0.306_ActiveX_vendor.LOG
Flash Player20.0.0.306_Plug-in_vendor.LOG
Flash Player21.0.0.213_ActiveX_vendor.LOG
Flash Player21.0.0.213_Plug-in_vendor.LOG
Flash Player21.0.0.242_ActiveX_vendor.LOG
Flash Player21.0.0.242_Plug-in_vendor.LOG
Flash Player22.0.0.192_ActiveX_vendor.LOG
Flash Player22.0.0.192_Plug-in_vendor.LOG
Flash Player22.0.0.209_ActiveX_vendor.LOG
Flash Player22.0.0.209_Plug-in_vendor.LOG
Flash Player23.0.0.162_ActiveX_vendor.LOG
Flash Player23.0.0.162_Plug-in_vendor.LOG
Flash Player23.0.0.205_ActiveX_vendor.LOG
Flash Player23.0.0.205_Plug-in_vendor.LOG
Flash Player23.0.0.207_ActiveX_vendor.LOG
Flash Player23.0.0.207_Plug-in_vendor.LOG
Flash Player24.0.0.186_ActiveX_vendor.LOG
Flash Player24.0.0.186_Plug-in_vendor.LOG
Flash Player24.0.0.194_ActiveX_vendor.LOG
Flash Player24.0.0.194_Plug-in_vendor.LOG
Capture_2016-03-25.log
Capture_2016-03-28.log
Capture_2016-04-11.log
Capture_2016-06-13.log
Capture_2016-06-21.log
Capture_2016-07-01.log
Capture_2016-07-14.log
Capture_2016-07-15.log
Capture_2016-07-18.log
Capture_2016-07-19.log
Capture_2016-07-21.log
Capture_2016-07-22.log
Capture_2016-08-01.log
Capture_2016-08-04.log
Capture_2016-08-08.log
Capture_2016-08-09.log
Capture_2016-08-10.log
Capture_2016-08-11.log
Capture_2016-08-12.log
Capture_2016-08-15.log
Capture_2016-08-16.log
Capture_2016-08-17.log
Capture_2016-08-18.log
Capture_2016-08-19.log
Capture_2016-10-06.log
Capture_2016-10-13.log
Capture_2016-12-08.log
Capture_2016-12-09.log
Capture_2017-01-04.log

etc...
This topic is 7 years and 5 days old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked