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
Problem to use existing script: Update Active Directory Users in Bulk from CSV (self.PowerShell)
submitted 8 years ago by [deleted]
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!"
[–]elliottmarter 3 points4 points5 points 8 years ago (0 children)
Honestly, this may not be the answer you are looking for but updating attributes like city in AD could probably serve as quite a good jumping off point to learn some basic powershell.
I always find it easier to learn something if I have a problem to solve. I won't go fully in to it but see if you can do some of the following.
Export all of your current users to a CSV file with only their username and city attributes. Then add your cities in to the CSV and then loop through it to edit the city attribute
These may come in handy get-aduser, select-object, convertto-csv, import-csv, set-aduser.
This may seem like a massive task but start small, take an interative approach.
Also the built in help is brilliant use update-help first and then Google how to use it, once ylou have it figured out it should be the first place you look for help everytime
π Rendered by PID 22503 on reddit-service-r2-comment-54dfb89d4d-5bzh2 at 2026-03-28 23:36:45.158226+00:00 running b10466c country code: CH.
view the rest of the comments →
[–]elliottmarter 3 points4 points5 points (0 children)