Don’t copy and paste the same code over and over again. Instead, create a PowerShell function and save yourself time.
You will most often use Bash functions to make your shell life easier; instead of typing out complex command pipelines, ...