gpt4 book ai didi

powershell - 禁止 “Try the new cross-platform PowerShell https://aka.ms/pscore6”

转载 作者:行者123 更新时间:2023-12-02 22:09:37 24 4
gpt4 key购买 nike

我不在乎微软的营销方式,但是当我只想要一个干净的PowerShell提示时,这很烦人。有没有人找到一种在打开PowerShell时仅抑制Try the new cross-platform PowerShell https://aka.ms/pscore6而不删除基本版权消息Windows PowerShell, Copyright (C) Microsoft Corporation. All rights reserved.的方法?我在Google上搜索了很多,但没有找到答案(我知道有一种方法可以抑制所有情况,但是我只想摆脱pscore6广告)。

最佳答案

由于Windows Terminal 1.0已发布,因此您可以改用它。
在设置中,添加标志-NoLogo,如下所示:

    "list": [
{
// Make changes here to the powershell.exe profile.
"guid": "{61c54bd-c2c6-5271-96e7-009a87ff44bf}",
"name": "Windows PowerShell",
"commandline": "powershell.exe -NoLogo",
"hidden": false
},

关于powershell - 禁止 “Try the new cross-platform PowerShell https://aka.ms/pscore6”,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59671389/

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