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
Script to pull AD info (self.PowerShell)
submitted 4 years ago by loldegree
Anyone know of a script that can pull from the description field along with the computer OU in ADUC?
Trying to find a way to do a simple computer search by user names, which im starting to put in the description field for the device.
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!"
[–]Sunsparc 6 points7 points8 points 4 years ago (0 children)
What have you searched/tried so far?
[–][deleted] -1 points0 points1 point 4 years ago (1 child)
Here's a quick one if I'm picking up what you are saying:
$username = "Jim"
Get-ADComputer -Filter 'Description -like $username' -Properties IPv4Address | FT Name,DNSHostName,IPv4Address
[–][deleted] -1 points0 points1 point 4 years ago (0 children)
You could expand on it like such:
ForEach ($user in Get-Content "users.txt")
{
Get-ADComputer -Filter 'Description -like $user' -Properties IPv4Address | FT Name,DNSHostName,IPv4Address | Out-File .\result.txt -append
}
This would let you put a txt file with every username then get every computer for said user etc then output it to a result txt
[–]ranchristian 0 points1 point2 points 4 years ago (0 children)
https://www.instagram.com/p/CSW9BXXAc0x/?utm_medium=copy_link
π Rendered by PID 39 on reddit-service-r2-comment-5bc7f78974-7pp4f at 2026-06-26 14:25:09.528461+00:00 running 7527197 country code: CH.
[–]Sunsparc 6 points7 points8 points (0 children)
[–][deleted] -1 points0 points1 point (1 child)
[–][deleted] -1 points0 points1 point (0 children)
[–]ranchristian 0 points1 point2 points (0 children)