Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
GistGet
1.0.4
Private/Get-UserEnvironmentVariable.ps1
function
Get-UserEnvironmentVariable
{
[
CmdletBinding
(
)
]
param
(
[
Parameter
(
Mandatory
=
$true
)
]
[string]
$Name
)
return
(
Get-ItemProperty
-Path
'HKCU:\Environment'
)
.
$Name
}