Avatar of NAMEWITHELD12
NAMEWITHELD12
Flag for United States of America asked on

how can I grep a result with powershell ?

I want to be able to filter when I run "get-childitem env:" and get back only the COMPUTERNAME

thanks !!!!
grep-computername-.JPG
Powershell* GrepWindows OSWindows Networking

Avatar of undefined
Last Comment
NAMEWITHELD12

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
footech

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
Chris Dent

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
NAMEWITHELD12

ASKER
perfectomundo !!!!

thanks you save me a lot of time looking for this !!!!
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck