Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

PowerShell 3.0 Replaces $_

$
0
0

Q: I understand that in PowerShell 3.0 I no longer need to use $_ to look at attributes of piped objects. How can I view this information?

A: One of PowerShell's most powerful features is the fact that data returned from commands is kept in its native object format. This allows you to perform very powerful actions with a minimal set of commands. For example, you can use the following command to take all the network adapters from a virtual machine (VM) and set them to allow NIC teaming:

Read More


Viewing all articles
Browse latest Browse all 6937

Latest Images

Trending Articles



Latest Images