Windows PowerShell相关笔记

之前我写的一篇,把我的PS(power shell)该了配置文件

pyqt5+vscode 配置坑笔记_vscode使用pyqt command failed-CSDN博客

文件里写的自动加载conda

bash 复制代码
#region conda initialize
# !! Contents within this block are managed by 'conda init' !!
If (Test-Path "D:\_CODE\anaconda3\Scripts\conda.exe") {
    (& "D:\_CODE\anaconda3\Scripts\conda.exe" "shell.powershell" "hook") | Out-String | ?{$_} | Invoke-Expression
}
#endregion 

还碰到过这个

无法加载文件WindowsPowerShell\profile.ps1?试试这条指令 - 知乎 (zhihu.com)

最近发现打开power shell好慢,每次都conda弄得......

执行win+x ,点击Windows PowerShell(管理员),显示了个人配置占用时间

要删除个人配置,执行如下可以看到自己的个人配置文件在哪,删掉就行

bash 复制代码
$profile

我的位置是

C:\Users\23216\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1

附上微软的官方教程:

PowerShell | Microsoft Learnhttps://learn.microsoft.com/zh-cn/windows-server/administration/windows-commands/powershell

相关推荐
西岸行者5 天前
学习笔记:SKILLS 能帮助更好的vibe coding
笔记·学习
starlaky5 天前
Django入门笔记
笔记·django
勇气要爆发5 天前
吴恩达《LangChain LLM 应用开发精读笔记》1-Introduction_介绍
笔记·langchain·吴恩达
悠哉悠哉愿意5 天前
【单片机学习笔记】串口、超声波、NE555的同时使用
笔记·单片机·学习
勇气要爆发5 天前
吴恩达《LangChain LLM 应用开发精读笔记》2-Models, Prompts and Parsers 模型、提示和解析器
android·笔记·langchain
qianshanxue115 天前
计算机操作的一些笔记标题
笔记
土拨鼠烧电路5 天前
笔记11:数据中台:不是数据仓库,是业务能力复用的引擎
数据仓库·笔记
土拨鼠烧电路5 天前
笔记14:集成与架构:连接孤岛,构建敏捷响应能力
笔记·架构
烟花落o5 天前
栈和队列的知识点及代码
开发语言·数据结构·笔记·栈和队列·编程学习