powershell
将 Windows PowerShell 更新到最新版本 | D栈 - Delft Stack
Powershell教程 - IT宝库 (itbaoku.cn)
动力外壳画廊|家 (powershellgallery.com) 图库
powershell 字符集, 关于字符编码 - PowerShell | Microsoft Learn
在 terminal 中打开设,选择 settings json 文件,找到 commandline
属性置添加 -nologo
"commandline": "%SystemRoot%\\System32\\WindowsPowerShell\\v1.0\\powershell.exe -nologo "
查看版本
$PSVersionTable
host
更新
Install-Module PowerShellGet -Force -Verbose
(328条消息) Windows Terminal美化增强指南_ashtime99的博客-CSDN博客
Powershell官网
https://www.powershellgallery.com/
目录文件树结构
tree
https://blog.csdn.net/weixin_41010198/article/details/106356683
https://www.cnblogs.com/ricolee/p/cmd-tree.html 在windows上的git bash中安装tree 和 linux tree命令使用
Powershell 中与 Pscx有与 tree 相似 , 在官网可以看 ,安装命令 Install-Module -Name Pscx -AllowPrerelease
输入 get-help Show-Tree
查看命令参数
➜ ~ get-help Show-Tree
NAME
Show-Tree
SYNOPSIS
Shows the specified path as a tree.
SYNTAX
Show-Tree [[-Path] <String[]>] [[-Depth] <Int32>] [-Force] [-IndentSize <Int32>] [-ShowLeaf] [-ShowProperty] [-ExcludeProperty <String[]>] [-Width <Int
32>] [-UseAsciiLineArt] [<CommonParameters>]
Show-Tree [[-LiteralPath] <String[]>] [[-Depth] <Int32>] [-Force] [-IndentSize <Int32>] [-ShowLeaf] [-ShowProperty] [-ExcludeProperty <String[]>] [-Wid
th <Int32>] [-UseAsciiLineArt] [<CommonParameters>]
DESCRIPTION
Shows the specified path as a tree. This works for any type of PowerShell provider and can be used to explore providers used for configuration like th
e WSMan provider.
RELATED LINKS
REMARKS
To see the examples, type: "get-help Show-Tree -examples".
For more information, type: "get-help Show-Tree -detailed".
For technical information, type: "get-help Show-Tree -full".
在配置文件中,配置-nologo,注意版本:
"commandline": "powershell.exe -nologo", //5
"commandline": "pwsh.exe -nologo", //7
12
SSH配置
在配置文件中添加,guid生成地址
注意:guid
不允许重复
{
"guid": "{f879cccf-3a41-42cf-bb92-0e3754cfda43}",
"hidden": false,
"name": "名字",
"commandline": "ssh 用户名@服务器地址"
}
查变量以查看当前编码。$OutputEncoding
$OutputEncoding
配色方案:
配色方案
推荐两个配色方案的网站
美化:
参数详解:(331条消息) Windows 终端配置(powershellcmdgit bash等等)_Once_day的博客-CSDN博客_windows终端配置
Oh My Posh:全平台终端提示符个性化工具 - 少数派 (sspai.com)
查看目录和文件结构
tree /?
Graphically displays the folder structure of a drive or path.
TREE [drive:][path] [/F] [/A]
/F Display the names of the files in each folder.
/A Use ASCII instead of extended characters.
常用快捷键
分屏快捷键如下:
水平分屏:Alt + Shift + 减号
垂直分屏:Alt + Shift + 加号
切换聚焦的分屏视图:alt + (left/right/up/down)
调节分屏的窗口大小:alt + shift + (left/right/up/down)
缩放当前视图:Ctrl+ 加号/减号 (或者 Ctrl + 鼠标滚轮)
退出分屏:exit
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?