Debian Codegraph @

test/integration/targets/powershell_exec_wrapper/library/get_info.ps1

raw
1 #!powershell
2
3 #AnsibleRequires -Wrapper
4
5 if (-not (Get-Variable -Name IsWindows -ErrorAction Ignore)) {
6 Set-Variable -Name IsWindows -Value $true
7 }
8
9 @{
10 current_time = [DateTime]::Now.ToFileTime()
11 is_windows = $IsWindows
12 } | ConvertTo-Json -Compress