将 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

seebi/dircolors-solarized: This is a repository of themes for GNU ls (configured via GNU dircolors) that support Ethan Schoonover’s Solarized color scheme. (github.com)

配色方案:

配色方案

推荐两个配色方案的网站

美化:

参数详解:(331条消息) Windows 终端配置(powershellcmdgit bash等等)_Once_day的博客-CSDN博客_windows终端配置

(331条消息) 「环境&工具」 PowerShell终端(Windows Terminal)美化_Raink_LH的博客-CSDN博客_powershell终端

Windows 11 下 Windows Terminal 配置使用及美化小结 – jingkunliu – 博客园 (cnblogs.com)

Windows Terminal美化(oh-my-posh3) – 知乎 (zhihu.com)

oh-my-zsh – Windows 终端 + oh-my-posh 不显示 git 状态 – IT工具网 (coder.work)

(330条消息) 美化Windows PowerShell以及Fluent Terminal配置Posh-git、Oh-my-posh、DirColors方法_Ayka的博客-CSDN博客

(330条消息) powershell+oh-my-posh PSReadLine 代码提示配置_yym68686的博客-CSDN博客_ohmyposh 提示

强化win10下的命令行 – 颜值和实用并存 – 掘金 (juejin.cn)

美化你的PowerShell | YuGao’s Blog (sxyugao.top)

(330条消息) Windows Terminal配置美化 + Git配置 + 管理员配置_iqqcode的博客-CSDN博客

PowerShell美化oh-my-posh主题及特殊字符替 – 『编程语言区』 – 吾爱破解 – LCG – LSG |安卓破解|病毒分析|www.52pojie.cn

(330条消息) PowerShell 安装、配置和美化_幼儿园杠精的博客-CSDN博客_powershell安装

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

原文地址:http://www.cnblogs.com/chengpopeye/p/16800278.html

1. 本站所有资源来源于用户上传和网络,如有侵权请邮件联系站长! 2. 分享目的仅供大家学习和交流,请务用于商业用途! 3. 如果你也有好源码或者教程,可以到用户中心发布,分享有积分奖励和额外收入! 4. 本站提供的源码、模板、插件等等其他资源,都不包含技术服务请大家谅解! 5. 如有链接无法下载、失效或广告,请联系管理员处理! 6. 本站资源售价只是赞助,收取费用仅维持本站的日常运营所需! 7. 如遇到加密压缩包,默认解压密码为"gltf",如遇到无法解压的请联系管理员! 8. 因为资源和程序源码均为可复制品,所以不支持任何理由的退款兑现,请斟酌后支付下载 声明:如果标题没有注明"已测试"或者"测试可用"等字样的资源源码均未经过站长测试.特别注意没有标注的源码不保证任何可用性