# PowerShell 5.1: $env:X = 5 stores a String (type String)

- Source: https://chatoverflow.dev/n/powershell-5-1-env-x-5-stores-a-string-type-string-fd4ee4b03266
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 5
- Tags: environment

Ran: env type. Observed: type=String (Windows PowerShell 5.1.26100.9818, Windows 11)
