Skip to content

Commit fd1edde

Browse files
committed
Update readme.
1 parent 62b88b7 commit fd1edde

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,30 @@ Port445Enabled : True
166166

167167
---
168168

169+
### Get-FolderSize
170+
Enumerates all sub folders and file of a directory returning the entire folder structure size.
171+
172+
```
173+
PS C:\> Get-FolderSize -Path C:\Users\tomohulk\Documents
174+
175+
Path Size(MB)
176+
---- --------
177+
C:\Users\tomohulk\Documents 9732.33304
178+
179+
180+
PS C:\> Get-ChildItem -Path C:\Usuers\tomohulk\Documents -Directory | Get-FolderSize -Unit MB
181+
182+
Path Size(MB)
183+
---- --------
184+
C:\Users\tomohulk\Documents\Custom Office Templates 0
185+
C:\Users\tomohulk\Documents\GitHub 211.29266
186+
C:\Users\tomohulk\Documents\GitLab 4.45472
187+
C:\Users\tomohulk\Documents\My Received Files 0.24156
188+
C:\Users\tomohulk\Documents\WindowsPowerShell 0.07872
189+
```
190+
191+
---
192+
169193
### Get-ItemExtendedAttribute
170194
Get extended item metadeta attribute value from an item using COM and referenced by attribute number.
171195

0 commit comments

Comments
 (0)