25
Possible Duplicate:
Is there a PowerShell code formatter / pretty printer?
Does anyone know of a tool that you can use to re-format/tidy Powershell code:-
Eg:-
if ($c -eq "Cat")
{
$a="Bubble"
}
else
{
$a="Trouble"
}
Write-Host $a
To:-
if ($c -eq "Cat")
{
$a="Bubble"
}
else
{
$a="Trouble"
}
Write-Host $a
ie, tabbing If Statements etc, I know they was tools to do it with VB but I haven't seen any for Powershell yet?