No description
- C# 84.3%
- PowerShell 10.7%
- Batchfile 5%
| .gitignore | ||
| CustomPowershell.cs | ||
| FileSystem.format.ps1xml | ||
| launch.bat | ||
| profile.ps1 | ||
| README.md | ||
| screenshot.png | ||
PowerShell Human Readable File Sizes
Quick Start
- Install Visual Studio
to get a C# compiler. At a minimum make sure that under "Individual
Components" the option
C# and Visual Basic Roslyn compilersis checked. - From a Native Tools Command Prompt run
csc /target:library CustomPowerShell.csto compile the custom format function into a loadable dll. .\launch.batto launch a powershell window with the custom profile loaded.- Run the
Get-ChildItem.
Installation
Copy the custom dll and the format description file next to your PowerShell profile.
cp .\CustomPowerShell.dll $HOME\Documents\PowerShell\
cp .\FileSystem.format.ps1xml $HOME\Documents\PowerShell\
Edit your PowerShell profile to include the snippet from the profile.ps1 in
this repository.
