gci -force ‘D:\video’-ErrorAction SilentlyContinue | ? { $_ -is [io.directoryinfo] } | % {
$len = 0
gci -recurse -force $_.fullname -ErrorAction SilentlyContinue | % { $len += $_.length }
$_.fullname, ‘{0:N2} GB’ -f ($len / 1Gb)
}
gci -force ‘D:\video’-ErrorAction SilentlyContinue | ? { $_ -is [io.directoryinfo] } | % {
$len = 0
gci -recurse -force $_.fullname -ErrorAction SilentlyContinue | % { $len += $_.length }
$_.fullname, ‘{0:N2} GB’ -f ($len / 1Gb)
}
This site uses Akismet to reduce spam. Learn how your comment data is processed.
Aleksei Nudnov on Webmin – Install and Conf… | |
anudnov on VMware tools – Install | |
anudnov on Установка Apache, MySQL, PHP… | |
aleksei on mount nfs | |
aleksei on mount nfs |
Aleksei Nudnov on Webmin – Install and Conf… | |
anudnov on VMware tools – Install | |
anudnov on Установка Apache, MySQL, PHP… | |
aleksei on mount nfs | |
aleksei on mount nfs |
Leave a comment