新建软连接
New-Item -ItemType SymbolicLink -Path .\tick -Target 'D:\WorkPlace\Python\tick'
根据正则表达式删除文件
Get-ChildItem D:/WorkPlace/parquet/ $Path -Recurse -File | Where{$_.Name -Match "[A-Z]+\d{3}.parquet"} | Remove-Item
Get-ChildItem D:/Data/ -Include *连续*_*.csv -Recurse -File | Remove-Item
跳过执行策略
powershell -ExecutionPolicy Bypass -c .\Install-Software.ps1