skip to Main Content

Visual Studio Code – VS Code 1.90 PowerShell is escaping ANSI escape codes like "x1b[0m"

VS Code terminal I'm talking about these characters: x1b[0m x1b7x1b[1000Cx1b[32Dx1b[38x3b2x3b0x3b119x3b194mx1b[0mx1b[48x3b2x3b0x3b119x3b194mx1b[38x3b2x3b255x3b255x3b255m  pwsh x1b[0mx1b[38x3b2x3b0x3b119x3b194x3b49mx1b[7mx1b[0mx1b[38x3b2x3b76x3b175x3b80mx1b[0mx1b[48x3b2x3b76x3b175x3b80mx1b[38x3b2x3b255x3b255x3b255m  100 x1b[0mx1b[38x3b2x3b76x3b175x3b80x3b49mx1b[7mx1b[0mx1b[38x3b2x3b46x3b149x3b153mx1b[0mx1b[48x3b2x3b46x3b149x3b153mx1b[38x3b2x3b17x3b17x3b17m 08:55:45 x1b[0mx1b[38x3b2x3b46x3b149x3b153mx1b[0mx1b8 I've tried this accepted solution. Set VS Code "terminal.integrated.shellIntegration.enabled": false and enabled "shell_integration": true in oh-my-posh configuration file. That didn't work for…

VIEW QUESTION

Azure – get-policy state not returning correct display name instead returning guid

' subscriptionId = 'abc' $nonCompliantPolicies = Get-AzPolicyState -SubscriptionId $subscriptionId # Define a custom object for each non-compliant resource $customObjects = $nonCompliantPolicies | ForEach-Object { [PSCustomObject]@{ PolicyName = $_.PolicyDefinitionName ComplianceState = $_.ComplianceState ResourceType = $_.ResourceType ResourceGroup = $_.ResourceGroup SubscriptionId = $_.…

VIEW QUESTION
Back To Top
Search