Get-ChildItem recursively but exclude files in the parent folder

后端 未结 0 1195
南旧
南旧 2021-01-04 23:37

I need to get a list of files in all subdirectories of $PSScriptRoot but exclude any files in the parent folder of $PSScriptRoot.

$Files = Get-ChildItem -Lite         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题