gpt4 book ai didi

powershell - 替换某些内容的 PowerShell commandlet 的正确名称是什么

转载 作者:行者123 更新时间:2023-12-02 00:25:03 25 4
gpt4 key购买 nike

Replace-Something 名称的唯一问题是:

WARNING: The names of some imported commands from the module 'Xxxx' include
unapproved verbs that might make them less discoverable. To find the commands
with unapproved verbs, run the Import-Module command again with the Verbose
parameter. For a list of approved verbs, type Get-Verb.

将替换某些内容的命令行开关的正确名称是什么?

Get-Verb 好像没有什么合适的

最佳答案

“设置”怎么样。就像在 Set-Content 中一样,这意味着替换任何已经存在的内容。

Update(数据)或 Out -Force(数据),如果您正在写入文件。

关于powershell - 替换某些内容的 PowerShell commandlet 的正确名称是什么,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9136749/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com