logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Format String - Output String with PowerShell | Online Free DevTools by Hexmos

Format string data with Out-String in PowerShell. Stream output as a string and control width to prevent truncation. Free online tool, no registration required.

out-string

Outputs input objects as a string. Note: This command can only be used through PowerShell. More information: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/out-string.

  • Print host information as string:

Get-Alias | Out-String

  • Convert each object to a string rather than concatenating all the objects into a single string:

Get-Alias | Out-String -Stream

  • Use the Width parameter to prevent truncation:

@{TestKey = ('x' * 200)} | Out-String -Width {{250}}

See Also