PowerShell中的Get-ChildItem支持哪些方法?
有些方法或函数对于目录和文件操作很有用。
目录的方法。
TypeName: System.IO.DirectoryInfo Name MemberType ---- ---------- Create Method CreateObjRef Method CreateSubdirectory Method Delete Method EnumerateDirectories Method EnumerateFiles Method EnumerateFileSystemInfos Method Equals Method GetAccessControl Method GetDirectories Method GetFiles Method GetFileSystemInfos Method GetHashCode Method GetLifetimeService Method GetObjectData Method GetType Method InitializeLifetimeService Method MoveTo Method Refresh Method SetAccessControl Method ToString Method
文件方法。
TypeName: System.IO.FileInfo Name MemberType ---- ---------- AppendText Method CopyTo Method Create Method CreateObjRef Method CreateText Method Decrypt Method Delete Method Encrypt Method Equals Method GetAccessControl Method GetHashCode Method GetLifetimeService Method GetObjectData Method GetType Method InitializeLifetimeService Method MoveTo Method Open Method OpenRead Method OpenText Method OpenWrite Method Refresh Method Replace Method SetAccessControl Method ToString Method
热门推荐
10 婆婆66岁祝福语简短
11 画室揭牌仪式祝福语简短
12 正月爸爸生日祝福语简短
13 公司拍摄祝福语大全简短
14 同事中奖离职祝福语简短
15 钢琴获奖老师祝福语简短
16 致晚辈生日祝福语简短
17 鼠年元旦生日祝福语简短
18 娘娘驾到开业祝福语简短