你应该选择 Powershell 的10个理由(抛弃 cmd)(powershell用的什么语言)没想到

随心笔谈2年前发布 编辑
144 0
🌐 经济型:买域名、轻量云服务器、用途:游戏 网站等 《腾讯云》特点:特价机便宜 适合初学者用 点我优惠购买
🚀 拓展型:买域名、轻量云服务器、用途:游戏 网站等 《阿里云》特点:中档服务器便宜 域名备案事多 点我优惠购买
🛡️ 稳定型:买域名、轻量云服务器、用途:游戏 网站等 《西部数码》 特点:比上两家略贵但是稳定性超好事也少 点我优惠购买


PS C:\Users\Haley> help ls

名称
Get-ChildItem

摘要
Gets the items and child items in one or more specified locations.

语法
Get-ChildItem [[-Filter] <String>] [-Attributes {ReadOnly | Hidden | System | Directory | Archive | Device | Normal
| Temporary | SparseFile | ReparsePoint | Compressed | Offline | NotContentIndexed | Encrypted | IntegrityStream |
NoScrubData}] [-Depth <UInt32>] [-Directory] [-Exclude <String[]>] [-File] [-Force] [-Hidden] [-Include <String[]>
] -LiteralPath <String[]> [-Name] [-ReadOnly] [-Recurse] [-System] [-UseTransaction] [<CommonParameters>]

Get-ChildItem [[-Path] <String[]>] [[-Filter] <String>] [-Attributes {ReadOnly | Hidden | System | Directory | Arch
ive | Device | Normal | Temporary | SparseFile | ReparsePoint | Compressed | Offline | NotContentIndexed | Encrypte
d | IntegrityStream | NoScrubData}] [-Depth <UInt32>] [-Directory] [-Exclude <String[]>] [-File] [-Force] [-Hidden]
[-Include <String[]>] [-Name] [-ReadOnly] [-Recurse] [-System] [-UseTransaction] [<CommonParameters>]

说明
The Get-ChildItem cmdlet gets the items in one or more specified locations. If the item is a container, it gets the
items inside the container, known as child items. You can use the Recurse parameter to get items in all child cont
ainers.

A location can be a file system location, such as a directory, or a location exposed by a different Windows PowerSh
ell provider, such as a registry hive or a certificate store.

相关链接
Online Version: http://go.microsoft.com/fwlink/?LinkId=821580
Get-Item
Get-Location
Get-Process
Get-PSProvider

备注
若要查看示例,请键入: “get-help Get-ChildItem -examples”.
有关详细信息,请键入: “get-help Get-ChildItem -detailed”.
若要获取技术信息,请键入: “get-help Get-ChildItem -full”.
有关在线帮助,请键入: “get-help Get-ChildItem -online”

© 版权声明

相关文章