We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 746c946 commit a026547Copy full SHA for a026547
scripts/main.ps1
@@ -130,6 +130,10 @@ LogGroup 'Host' {
130
$Host | Select-Object * | Format-List | Out-String
131
}
132
133
+LogGroup 'Host - Json' {
134
+ Write-Host "$($Host | ConvertTo-Json -Depth 10)"
135
+}
136
+
137
LogGroup 'MyInvocation' {
138
$MyInvocation | Select-Object * | Format-List | Out-String
139
@@ -145,3 +149,7 @@ LogGroup 'PSSessionOption' {
145
149
LogGroup 'PSStyle' {
146
150
$PSStyle | Select-Object * | Format-List | Out-String
147
151
152
153
+LogGroup 'PSStyle - Json' {
154
+ Write-Host "$($PSStyle | ConvertTo-Json -Depth 10)"
155
0 commit comments