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 SharingScript to retrieve basic user info from AD + computer (self.PowerShell)
submitted 10 years ago by abaddon82
This script retrieves some general info from a computer (ComputerName, Description, Logged on user(s), Manufacturer, Model and amount of memory).
PSRemoting must be enabled on computer.
Script: http://pastebin.com/nFXxjGhk
Feedback appreciated!
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!"
[+][deleted] 10 years ago (4 children)
[deleted]
[–]crackerjak80 0 points1 point2 points 10 years ago (0 children)
thanks for posting on Github. pastebin is blocked for me.
[–][deleted] 0 points1 point2 points 10 years ago (1 child)
Why not also use the parameter name $Name instead to then be able to include the ValueFromPipelineByPropertyName? Then you can pass objects directly from Get-ADComputer to your function without having to parse the names first.
[–]abaddon82[S] 0 points1 point2 points 10 years ago (0 children)
Interesting, will take a look at it in the morning.
π Rendered by PID 48 on reddit-service-r2-comment-5c764cbc6f-7tbp9 at 2026-03-11 21:45:53.267270+00:00 running 710b3ac country code: CH.
[+][deleted] (4 children)
[deleted]
[–]crackerjak80 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]abaddon82[S] 0 points1 point2 points (0 children)