How to properly -filter multiple strings in a PowerShell copy script

前端 未结 4 506
暗喜
暗喜 2020-11-29 00:01

I am using the PowerShell script from this answer to do a file copy. The problem arises when I want to include multiple file types using the filter.

Get-Chi         


        
4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-11-29 00:31

    use the include is the easiest way as per

    http://www.vistax64.com/powershell/168315-get-childitem-filter-files-multiple-extensions.html

提交回复
热议问题