PowerShell 查看 命令 所有的 参数

目录

■前言

■PowerShell中查看 「命令 -」 然后 「Ctrl + 空格」

■命令的组成形式 动词-名称

Get-FileHash

Format-Hex

Format-List


■前言

cmd命令中, 使用 dir /? 即可查看命令的所有cans

PowerShell中如何查看。

■PowerShell中查看 「命令 -」 然后 「Ctrl + 空格」

Ctrl + 空格  的功能,相当于自动补全。

比如 ls 命令

ls -

PS C:\Users> ls -Path
Path                 Depth                File                 ErrorAction          OutVariable
LiteralPath          Force                Hidden               WarningAction        OutBuffer
Filter               Name                 ReadOnly             InformationAction    PipelineVariable
Include              UseTransaction       System               ErrorVariable
Exclude              Attributes           Verbose              WarningVariable
Recurse              Directory            Debug                InformationVariable
                                                                                                                        [string[]] Path 

比如 get-filehash 命令

 

PS C:\Users> Get-FileHash -Path
Path                 Algorithm            ErrorAction          ErrorVariable        OutVariable
LiteralPath          Verbose              WarningAction        WarningVariable      OutBuffer
InputStream          Debug                InformationAction    InformationVariable  PipelineVariable
                                                                                                                        [string[]] Path  

■命令的组成形式 动词-名称

比如

Get-FileHash

Format-Hex

win10 以 十六进制 形式(方式) 查看文件 内容_sun0322的博客-CSDN博客_windows打开16进制文件

Format-List

PowerShell格式化显示(Format-Table Format-List)_sun0322的博客-CSDN博客_powershell table

===

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值