Custom Variables

From psadt | Evergreen Application Management
Jump to navigation Jump to search

About

Powershell.png

PowerShell contains built-in variables, but occasionally we need to create our own custom variables. These are some I have used.


Function

[string]$LocalLowAppData = $env:LocalAppData + 'Low'
[string]$envStartMenu = "$env:ProgramData\Microsoft\Windows\Start Menu\Programs"