排除某些文件类型并使用Powershell在Windows资源管理器文件夹中显示 [英] Excluding certain file types and displaying in Windows Explorer Folder using Powershell

查看:91
本文介绍了排除某些文件类型并使用Powershell在Windows资源管理器文件夹中显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是一个示例脚本,用于在"C:\Program Files \Internet Explorer"中排除某些类型的文件,文件夹和扩展名类型。但有没有办法在Windows资源管理器中而不是仅仅在Powershell命令窗口中投射此数据

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 \ internetnet explorer" -exclude'iexplore.exe','ieinstal.exe','iessetup.ceb','* .dll','* .xml','CUSTOM','en-US'

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

然后在Powershell中输出以下数据,但是如果可能的话,它会在文件夹中显示

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







推荐答案

您可以使用Windows搜索并输入:

You can use Windows Search and type:

NOT iexplore.exe NOT ieinstal.exe NOT iessetup.ceb NOT ANY_YOUR_PATTERN


这篇关于排除某些文件类型并使用Powershell在Windows资源管理器文件夹中显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆