上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 69 下一页

2019年3月23日

摘要: $lookup=ls -dir|group -p {$_.Name.PadRight(2).Substring(0,2)} -AsHashTable -AsString$lookup.sy # 以目录名称的前2个字母分组 并转换为hashtable # 然后将hashtable的键转换为String类型 # 找出sy开头的文件夹 阅读全文

posted @ 2019-03-23 18:04 努力成长静待花开 阅读(130) 评论(0) 推荐(0) 编辑

2019年3月22日

摘要: 实现效果: 实现代码: >2 >3 阅读全文

posted @ 2019-03-22 17:10 努力成长静待花开 阅读(122) 评论(0) 推荐(0) 编辑

2019年3月21日

摘要: 运行效果: 实现代码: 阅读全文

posted @ 2019-03-21 18:46 努力成长静待花开 阅读(215) 评论(1) 推荐(0) 编辑

摘要: 如何使用: Show-HiddenFile #显示隐藏文件 Show-HiddenFile -off #关闭显示隐藏文件 实现代码: 阅读全文

posted @ 2019-03-21 13:34 努力成长静待花开 阅读(285) 评论(0) 推荐(0) 编辑

2019年3月20日

摘要: 拓展 之前文章 阅读全文

posted @ 2019-03-20 21:33 努力成长静待花开 阅读(774) 评论(0) 推荐(0) 编辑

2019年3月19日

摘要: 阅读全文

posted @ 2019-03-19 22:26 努力成长静待花开 阅读(211) 评论(0) 推荐(0) 编辑

2019年3月18日

摘要: 问题症状: 实现要求: 可以代替手动查找 可以递归 实现代码: 效果演示: 阅读全文

posted @ 2019-03-18 19:32 努力成长静待花开 阅读(252) 评论(0) 推荐(0) 编辑

2019年3月17日

摘要: #开启DHCP协议 Get-NetIPInterface -Dhcp Disabled|Set-NetIPInterface -Dhcp Enabled #开启本机上所有博通网卡的DHCP Get-WmiObject -Class win32_networkadapterconfiguration 阅读全文

posted @ 2019-03-17 13:12 努力成长静待花开 阅读(480) 评论(0) 推荐(0) 编辑

2019年3月16日

摘要: 查看网络接口信息: 对WLAN接口进行高优先调整: set-NetIPInterface -ifIndex 6 -InterfaceMetric 1 恢复系统自动调整(默认)模式: set-NetIPInterface -ifIndex 6 -AutomaticMetric Enabled 阅读全文

posted @ 2019-03-16 19:57 努力成长静待花开 阅读(845) 评论(0) 推荐(0) 编辑

摘要: 反转效果: 实现方法: $con=gc .\poetry.txt$con.Length..1|%{$con[$_-1]} $con=gc .\poetry.txt[System.Array]::Reverse($con)$con 阅读全文

posted @ 2019-03-16 15:30 努力成长静待花开 阅读(174) 评论(0) 推荐(0) 编辑

上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 69 下一页