PowerShell Variables & Types โ Object-Oriented Variables
PowerShell variables are objects โ they have properties and methods, not just text:
```powershell
$name = "nextsem"
$name.Length # 7
$name.ToUpper() # NEXTSEM
$name.Replace("n","N") # Nextsem
`
Common Data Types:
- ๐ [string] โ Text
- ๐ข [int] โ Integer number
- ๐ [double] โ Floating point
- โ [bool] โ True/False
- ๐ [array] โ List of items
- ๐๏ธ [hashtable] โ Key-value pairs (like JavaScript objects)
Environment Variables:
```powershell
$env:NODE_ENV = "production"
Write-Host "Env: $env:NODE_ENV"
`
PowerShell variables are way more powerful than CMD variables! ๐
