Sha256: 1e607e76741c99e8fe1ee9505c489134774594514dfa7f33281be8a74c5cb4d7
Contents?: true
Size: 322 Bytes
Versions: 45
Compression:
Stored size: 322 Bytes
Contents
param($p1) $env_list = Get-ChildItem Env: # Builds a ruby hash compatible string $hash_string = "{" foreach ($item in $env_list) { $hash_string += "`"" + $item.Name + "`" => `"" + $item.value.replace('\','\\').replace('"','\"') + "`"," } $hash_string += "}" $hash_string | out-File -Encoding "UTF8" $p1
Version data entries
45 entries across 33 versions & 6 rubygems