summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--windows/win_command.ps12
-rw-r--r--windows/win_shell.ps12
2 files changed, 2 insertions, 2 deletions
diff --git a/windows/win_command.ps1 b/windows/win_command.ps1
index 2a03b6a0..316654b8 100644
--- a/windows/win_command.ps1
+++ b/windows/win_command.ps1
@@ -158,4 +158,4 @@ $result.start = $start_datetime.ToString("yyyy-MM-dd hh:mm:ss.ffffff")
$result.end = $end_datetime.ToString("yyyy-MM-dd hh:mm:ss.ffffff")
$result.delta = $($end_datetime - $start_datetime).ToString("h\:mm\:ss\.ffffff")
-ConvertTo-Json -Depth 99 $result
+Exit-Json $result
diff --git a/windows/win_shell.ps1 b/windows/win_shell.ps1
index 850f2b95..664858e5 100644
--- a/windows/win_shell.ps1
+++ b/windows/win_shell.ps1
@@ -139,4 +139,4 @@ $result.start = $start_datetime.ToString("yyyy-MM-dd hh:mm:ss.ffffff")
$result.end = $end_datetime.ToString("yyyy-MM-dd hh:mm:ss.ffffff")
$result.delta = $($end_datetime - $start_datetime).ToString("h\:mm\:ss\.ffffff")
-ConvertTo-Json -Depth 99 $result
+Exit-Json $result