ps-prettifier

2024.2.24.1430

Powershell script formatting tool, based on PowerShell-Beautifier by Dan Ward.

Installation Options

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

Install-Module -Name ps-prettifier

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name ps-prettifier

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

Owners

Copyright

(c) Scott McKendry. All rights reserved.

Package Details

Author(s)

  • Scott McKendry

Functions

Initialize-ProcessVariables Get-ValidCommandName Get-ValidCommandParameterName Get-ValidAttributeName Get-ValidMemberName Get-ValidVariableName Add-StringContentToDestinationFileStreamWriter Copy-ArrayContentFromSourceArrayToDestinationFileStreamWriter Import-ScriptContent Invoke-TokenizeSourceScriptContent Copy-SourceContentToDestinationStream Write-TokenContentByType Write-TokenContent_Attribute Write-TokenContent_Command Write-TokenContent_CommandArgument Write-TokenContent_CommandParameter Write-TokenContent_Comment Write-TokenContent_GroupEnd Write-TokenContent_GroupStart Write-TokenContent_KeyWord Write-TokenContent_LoopLabel Write-TokenContent_LineContinuation Write-TokenContent_Member Write-TokenContent_NewLine Write-NewLine Write-TokenContent_Number Write-TokenContent_Operator Write-TokenContent_Position Write-TokenContent_StatementSeparator Write-TokenContent_String Write-TokenContent_Type Write-TokenContent_Variable Write-TokenContent_Unknown Test-AddSpaceFollowingToken Invoke-PrettifyScript Set-LookupTableValuesFromFile Save-LookupTableValuesToFile Update-RegenerateLookupTableValuesFile Set-LookupTableValuesFromMemory Initialize-ValidCommandNames Get-CoreSafeAliases Initialize-ValidCommandParameterNames Initialize-ValidAttributeNames Initialize-ValidMemberNames Initialize-ValidVariableNames Invoke-Main Add-FileEncodingByteOrderMarker Get-FileEncoding Get-FileEncodingSystemProviderNameFromTypeName Get-FileEncodingTypeFromName Compare-Files Compare-FilesIncludingBOM Compare-FilesIgnoringBOM

Dependencies

This module has no dependencies.

FileList

Version History

Version Downloads Last updated
2024.2.24.1430 (current version) 16 2/24/2024
2024.2.24.1353 6 2/24/2024
2024.2.24.1350 5 2/24/2024
2024.2.24.1228 7 2/23/2024
2024.2.24.1201 6 2/23/2024