禁止“尝试新的跨平台 PowerShell https://aka.ms/pscore6”

2024-03-10

我不介意一点微软的营销,但是当我只想要一个干净的 PowerShell 提示符时,这很烦人。有没有人找到一种方法来抑制Try the new cross-platform PowerShell https://aka.ms/pscore6打开 PowerShell 时,without删除基本版权信息Windows PowerShell, Copyright (C) Microsoft Corporation. All rights reserved.?我用谷歌搜索了很多但没有找到答案(我知道有一种方法可以抑制一切,但我只想去掉那个 pscore6 广告)。


Since Windows 终端 https://github.com/microsoft/terminal1.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
  },
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

禁止“尝试新的跨平台 PowerShell https://aka.ms/pscore6” 的相关文章

随机推荐