Powershell “if more than one, then delete all but one”

前端 未结 0 853
孤街浪徒
孤街浪徒 2021-02-04 15:48

Is there a way to do something like this in Powershell:

"If more than one file includes a certain set of text, delete all but one"

Example:

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