腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
2
回答
Get-ChildItem
中的
Get-ChildItem
天的文件夹,这可以完成这是我到目前为止所拥有的 $FolderNames =
Get-ChildItem
浏览 35
提问于2021-06-09
得票数 1
回答已采纳
2
回答
清除文件名的Powershell脚本
、
、
#need this for camel casing later#Remove Other Tags
Get-ChildItem
-Recurse | Rename-Item -NewName { $_.Name.Replace('.Pdf','.pdf') }<
浏览 4
提问于2022-08-17
得票数 0
回答已采纳
1
回答
如何使用get-子项命令的输出
、
我想把……我试过这个 $command ='
Get-ChildItem
-Path E:\test | Where-Object {$_.PSIsContainer
Get-ChildItem
: Access to the path 'C:\Windows\System
浏览 1
提问于2014-10-04
得票数 0
回答已采纳
2
回答
使用powershell对文件名和目录执行操作
、
这是我的powershell脚本:
Get-ChildItem
","HP ") }<
浏览 1
提问于2016-04-11
得票数 0
回答已采纳
1
回答
如何使用sudo运行PowerShell pwsh命令
如何使用sudo在PowerShell Core中运行命令(例如
get-childitem
)?在当前用户不可见的路径上使用
get-childitem
:
get-childitem
: Access to theAt line:1 char:1+ ~~~~~~~~~~~~~~~~
浏览 1
提问于2019-05-22
得票数 2
2
回答
单驱迁移
、
、
#Files
Get-ChildItem
-File -Recurse | % { Rename-Item -Path $_.PSPath -NewName $_.Name.replace("<","-")}
Get-ChildItem
-File -Recurse
浏览 1
提问于2021-05-10
得票数 1
回答已采纳
1
回答
在运行
Get-ChildItem
编译文件夹大小列表时,您是否可以编写筛选器以排除某些文件夹?
到目前为止,我有这样的想法:(
Get-ChildItem
$targetPath -Recurse | Measure-Object
浏览 0
提问于2020-09-24
得票数 0
3
回答
为什么PowerShell的‘`Get ChilItem`命令将参数’d‘解析为’`Depth`‘?
假设
Get-ChildItem
有三个以字符D开头的参数.
Get-ChildItem
: Missing an argument for parameter 'Depth'.
浏览 7
提问于2021-01-23
得票数 7
回答已采纳
2
回答
需要在windows中通过powershell搜索具有最新时间戳的文件
、
At D:\temp.ps1:6 char:26
Get-ChildItem
: Cannot find drive.directory
Get-ChildItem
: Cannot find drive.director
浏览 0
提问于2018-02-08
得票数 0
回答已采纳
1
回答
优化powershell批处理重命名脚本
、
Get-ChildItem
| ForEach{ $_ | Rename-Item -NewName "$($_.BaseName.Replace(".",'')+$_.Extension)" }
Get-ChildItem
|
浏览 2
提问于2022-12-01
得票数 0
回答已采纳
1
回答
powershell 3.0中相同命令的不同结果
、
考虑到
Get-ChildItem
-Path *.exe将显示当前目录中的所有可执行文件,为什么
Get-ChildItem
-File -Include *.exe不返回相同的结果?(gci -File将列出包括exe在内的所有内容)
Get-ChildItem
*.* | gm #=> DirectoryInfoand FileInfo
Get-ChildItem</e
浏览 2
提问于2015-04-03
得票数 0
回答已采纳
2
回答
Powershell
Get-ChildItem
属性问题
、
Get-ChildItem
-Path C:\temp -Depth 0 -Include tes*.txt | Format-List -Property FullName
Get-ChildItem
-Path C:\temptes*.txt | Format-List -Property FullName
Get-ChildItem
-Path
浏览 0
提问于2019-01-22
得票数 2
回答已采纳
1
回答
PowerShell -
Get-ChildItem
不排除目录。
当递归地通过特定目录进行搜索时,
Get-ChildItem
将从根目录开始搜索。我不想在C:\Windows目录中搜索。我想将搜索限制在C:\Docs目录下。下面是我要做的事:
Get-ChildItem
At line:1 char:1 +
Get-ChildItem
-path “C:\docs” -Filter "*crypt*&
浏览 2
提问于2015-01-29
得票数 0
回答已采纳
1
回答
如何在PowerShell中列出一个文件夹中的所有文件(做cmd的` `dir /A`)?
、
、
、
在cmd中,你可以运行C:\path> dir /A,它会列出一个文件夹中的所有文件(包括隐藏的.git/目录)。您可以在cmd中运行dir /A,但不能在PowerShell中运行dir /A。它会抱怨:为什么会这样呢?我的意思是,为什么微软要实现如此部分的东西?那么,如何列出PowerShell中某个文件夹中的所有文件,如cmd中的dir /A或ba
浏览 3
提问于2021-03-30
得票数 0
3
回答
Get-ChildItem
路径中的尾随空格
我不能用
Get-ChildItem
获取内容。
Get-ChildItem
"\\fileshare\Projects\Videos\208 "
Get-ChildItem
浏览 0
提问于2017-02-09
得票数 1
2
回答
在Powershell中,"
Get-ChildItem
-recurse“并跳过”拒绝访问“,只打印一行拒绝访问。
下面是我希望输出的内容:PS>
Get-ChildItem
-Path .At H:\tools\scripts\lib_grep.ps1:55 char:9+
Get-Chil
浏览 4
提问于2022-01-24
得票数 0
2
回答
Get:找不到与参数名“Directory”匹配的参数
我收到了
Get-ChildItem
: *A parameter cannot be found that matches parameter name 'Directory'*错误信息,下面是使用的脚本{0}\7za.exe" -f $BackupDir$Directories =
Get-ChildItem
At C:\Play\BackupCompress.ps1:35 char:57 +
浏览 10
提问于2016-07-05
得票数 3
回答已采纳
3
回答
仅从
Get-ChildItem
获取叶节点
、
我只想从
Get-ChildItem
中过滤掉叶子节点(文件夹),那些不包含任何其他文件夹的节点。以下是我当前的查询:
Get-ChildItem
-Recurse -Directory -Exclude "*SubStr*"
浏览 22
提问于2016-08-10
得票数 0
回答已采纳
3
回答
Powershell: Get-Item vs
Get-ChildItem
我想了解一下Get-Item和
Get-ChildItem
之间的区别。如果有一个例子是可能的。
浏览 4
提问于2016-07-30
得票数 24
1
回答
如何在PowerShell中删除文件名开头的空间
我用过这些密码,但都没有用:
get-childitem
*.mp3 | foreach{ rename-item $_ $_.Name.Rep
浏览 2
提问于2022-02-04
得票数 1
点击加载更多
相关
资讯
电脑怎么清理微信聊天记录内容?一键清理电脑微信历史信息的指令
渗透测试时关于文件时间的小技巧
Windows PowerShell入门(1)-简介
基于Windows PowerShell修改多个文件的名称
PowerShell脚本自动处理Visual Studio文件锁定问题
热门
标签
更多标签
云服务器
ICP备案
对象存储
云点播
实时音视频
活动推荐
运营活动
广告
关闭
领券