Debian Codegraph @

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

raw
1 #!powershell
2
3 #AnsibleRequires -Wrapper
4
5 @{
6 env_vars = @(Get-ChildItem -LiteralPath Env: | ForEach-Object { "$($_.Name)=$($_.Value)" })
7 } | ConvertTo-Json -Compress