r/PowerShell • • Apr 16 '18

Powershell #Performance Tip

To make your #powershell go faster, you need to hashtag any slow line.

Put a '#' character at the start of any line that's too slow.... watch how fast it goes now!

~sorry

0 Upvotes

4 comments sorted by

View all comments

3

u/microsoftblobs Apr 17 '18

Another performance tip.

At the start of your script:

break :exithere

At the end of your script:

:exithere