directory-treesize

1.1

To download and execute with arguments:
invoke-webRequest "http://aka.ms/directory-treesize.ps1" -outFile "$(get-location)\directory-treesize.ps1";
.\directory-treesize.ps1 c:\windows\system32

To enable script execution, you may need to Set-ExecutionPolicy Bypass -Force

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except
To download and execute with arguments:
invoke-webRequest "http://aka.ms/directory-treesize.ps1" -outFile "$(get-location)\directory-treesize.ps1";
.\directory-treesize.ps1 c:\windows\system32

To enable script execution, you may need to Set-ExecutionPolicy Bypass -Force

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name directory-treesize

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Author(s)

jagilber@microsoft.com

Copyright

mit

Owners

Tags

powershell windows disk space

Functions

main enumerate-directorySizes log-info

Dependencies

This script has no dependencies.

Version History

Version Downloads Last updated
1.1 (current version) 27 3/16/2022
1.0 104 12/18/2020