Don’t copy and paste the same code over and over again. Instead, create a PowerShell function and save yourself time.
Your extensions can go further with standard APIs and technologies.