Quantcast
Channel: Windows Performance Toolkit forum
Viewing all articles
Browse latest Browse all 1161

Excluding certain file types and displaying in Windows Explorer Folder using Powershell

$
0
0

This is an example script for excluding certain types of files, folders and extension types in "C:\Program Files\Internet Explorer" but is there a way of projecting this data in Windows Explorer rather than just in the Powershell Command Window

Get-ChildItem "c:\program files\internet explorer" -exclude 'iexplore.exe', 'ieinstal.exe', 'iessetup.ceb', '*.dll', '*.xml', 'CUSTOM', 'en-US'

This then outputs the following data in Powershell but would like it showing in a folder if possible

Mode                LastWriteTime     Length Name                                                                                                               
----                -------------     ------ ----                                                                                                               
d----        18/03/2015     09:50            images                                                                                                             
d----        15/05/2015     09:33            SIGNUP                                                                                                             
-a---        18/03/2015     09:49      25600 ExtExport.exe                                                                                                      
-a---        18/03/2015     09:49       2843 ie9props.propdesc                                                                                                  
-a---        18/03/2015     09:49     359632 iediagcmd.exe                                                                                                      
-a---        18/03/2015     09:49     221184 ielowutil.exe 




Viewing all articles
Browse latest Browse all 1161

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>