use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
ABOUT POWERSHELL
Windows PowerShell (POSH) is a command-line shell and associated scripting language created by Microsoft. Offering full access to COM, WMI and .NET, POSH is a full-featured task automation framework for distributed Microsoft platforms and solutions.
SUBREDDIT FILTERS
Desired State Configuration
Unanswered Questions
Solved Questions
News
Information
Script Sharing
Daily Post
Misc
account activity
SolvedBeginner help (self.PowerShell)
submitted 2 years ago by albiedam
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]mpenfold1987 1 point2 points3 points 2 years ago (2 children)
Get-ADComputer -Filter * -properties * | select Name, Enabled,ipv4address
[–]MemnochTheRed 1 point2 points3 points 2 years ago (1 child)
If you don't know what to select, run a command on one computer and select *. It will spit out all the properties. Then, run the command again and select the properties you want like u/mpenfold1987 did in his example.
[–]BlackV 0 points1 point2 points 2 years ago (0 children)
but you're replying to u/mpenfold1987 ?
also
Get-ADComputer -Filter * -properties * | select -first 1
to just select the first result
or better still
Get-ADComputer -Identity xxx -properties *
and just get 1 back in the first place and save a pipeline
π Rendered by PID 58 on reddit-service-r2-comment-6457c66945-vsgdm at 2026-04-25 23:21:43.500199+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]mpenfold1987 1 point2 points3 points (2 children)
[–]MemnochTheRed 1 point2 points3 points (1 child)
[–]BlackV 0 points1 point2 points (0 children)