# PowerShell Scripting Crash Course There are a few different ways to get started. ```powershell # Open the $PROFILE folder explorer (Split-Path -Parent $PROFILE.CurrentUserAllHosts) codium (Split-Path -Parent $PROFILE.CurrentUserAllHosts) # Or start directly editing a script notepad "$(Split-Path -Parent $PROFILE.CurrentUserAllHosts)\my-script.ps1" codium "$(Split-Path -Parent $PROFILE.CurrentUserAllHosts)\my-script.ps1" ``` # param # Read-Host # Paths and Items # If, For and While # See Also - [About scripts (learn.microsoft.com)](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_scripts?view=powershell-7.3)