O'Reilly logo

Windows PowerShell™ 3.0 Step by Step by Ed Wilson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Working with remote results

When working with remote systems, it may be important to consider the network bandwidth and the cost of repeatedly retrieving unfiltered data. There are basically two choices—the first choice involves gathering the information and storing it in a local variable. Using this technique, you incur the bandwidth cost once, and you can use the same data in multiple ways without incurring the bandwidth hit again. But if your data changes rapidly, this technique does not help much.

Important

In potentially bandwidth-constrained situations, it is a best practice to store data retrieved locally to facilitate reuse of the information at a later time. The easiest place to store the data is in a variable, but do not forget about ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required