当前位置:网站首页>powershell statistics folder size
powershell statistics folder size
2022-07-31 05:58:00 【tcliuwenwen】
Blog Background
Using powershell to realize the function of du -sh
Detailed operation
param([string]$Directory)get-childitem $Directory |% { $f = $_ ;get-childitem -r $_.FullName |measure-object -property length -sum ||select @{Name="Name";Expression={$f}},@{Name="Sum (MB)"; Expression={"{0:N1}" -f ($_.sum / 1MB)}}} 边栏推荐
猜你喜欢

2021美赛C题M奖思路
初识正则表达式

最新MySql安装教学,非常详细

The MySQL database in Alibaba Cloud was attacked, and the data was finally recovered

GUCCI, LV and other luxury giant universe how to layout yuan, other brands should keep up with?

MySQL compressed package installation, fool teaching

对于输出点是时间戳的渗透测试方法(以Oracle数据库为例)

【swagger关闭】生产环境关闭swagger方法

元宇宙的前景及四大赛道

feign调用不通问题,JSON parse error Illegal character ((CTRL-CHAR, code 31)) only regular white space (r
随机推荐
【JVM加载】---类加载机制
NFT:数字所有权的核心
【Elastic-Job源码分析】——作业监听器
2021 Mianjing - Embrace Change
win11中利用IIS10搭建asp网站
[Cloud native] Simple introduction and use of microservice Nacos
【windows】--- SQL Server 2008 超详细安装教程
【swagger关闭】生产环境关闭swagger方法
MySQL compressed package installation, fool teaching
Fragmented NFT (Fractional NFT)
2021年京东数据分析工程师秋招笔试编程题
NFTs: The Heart of Digital Ownership
C language tutorial (3) - if and loop
The MySQL database in Alibaba Cloud was attacked, and the data was finally recovered
flutter arr 依赖
【Elastic-Job】分布式调度任务概览篇
Install mysqldb in mac10.14
[JVM Loading]---Class Loading Mechanism
About integrating superset into your own project
Why is the redis single-threaded also so fast?