Monday, January 19, 2009

create the $out1 variable

to create the $out1 variable (will be removed once PS window is exit)

1) stores the service object in it

PS> get-service browser -OutVariable out1

2) append the service object to the content of $out1

PS> get-service wmi -OutVariable +out1

3) display the contents of $out1

PS> $out1

No comments:

Post a Comment