Search
 
SCRIPT & CODE EXAMPLE
 

TYPESCRIPT

get-dirstats not recognized

$colItems = Get-ChildItem $startFolder | Where-Object {$_.PSIsContainer -eq $true} | Sort-Object
foreach ($i in $colItems)
{
    $subFolderItems = Get-ChildItem $i.FullName -recurse -force | Where-Object {$_.PSIsContainer -eq $false} | Measure-Object -property Length -sum | Select-Object Sum
    $i.FullName + " -- " + "{0:N2}" -f ($subFolderItems.sum / 1MB) + " MB"
}
Comment

PREVIOUS NEXT
Code Example
Typescript :: read and write objects in cpp 
Typescript :: get all products woocommerce with sql 
Typescript :: how to use aspects in spring boot 
Typescript :: conditional statements in ti-82 
Typescript :: get required schema fields name into array mongoose typescript 
Typescript :: json2typescript ionic 5 
Typescript :: Convert the array of objects to object iterable 
Typescript :: Rust Ways to fix muttable borrowing of self in arguments to function that borrows muttable self 
Typescript :: typescript custom number no greater than x 
Typescript :: install typeorm ts 
Typescript :: missing return type on function @typescript-eslint/explicit-function-return-type 
Typescript :: how to print selected elements from a list 
Typescript :: error on indexing the object in ts 
Typescript :: remove dots from image python 
Typescript :: facts about cleopatra 
Typescript :: ts types passing functions 
Typescript :: how to get values from api and iterate through array in typescript and angular 
Typescript :: alternative for .include in typescript 
Typescript :: ts number addition is concatenating like strings 
Typescript :: choose random elements from vector without repetition and adding to another vector c++ 
Typescript :: how to let a textview take 75 percent of its parent width android xml 
Typescript :: ex: javascript loop 
Typescript :: let variable name : any = () = { return new typescript fie} 
Typescript :: get alphabets and space only from xml file in android studio 
Typescript :: can check constraints reference other tables 
Typescript :: python fancy way to get arguments from the command line 
Typescript :: checked a element is focused with its key pressed 
Typescript :: get_refreshed_fragments too long to load 
Typescript :: regroupe les éléments de 2 tableaux java 
Typescript :: node rts stream 
ADD CONTENT
Topic
Content
Source link
Name
8+1 =