我想在导入之前删除大约5000个文本文件的第一行.
我仍然是PowerShell的新手,所以不确定要搜索什么或如何处理它.我目前使用伪代码的概念:
set-content file (get-content unless line contains amount)
但是,我似乎无法弄清楚如何做像contains这样的事情.
powershell
powershell ×1