For AD cmdlets:
Bulk operations are always a pretty cool thing to show:
* The classic one I am using all the time is taking users based on the
Company, Department, or City (Get-QADUser -Company/-Department/-City) and
adding
them to a group based on that critirea (piping it into Add-QAGroupMember).
* Provisioning user accounts from a CSV file.
* Showing one-liner replacement for existing AD tools
(
http://dmitrysotnikov.wordpress.com/...th-powershell/),
and locating obsolete computer records
(
http://dmitrysotnikov.wordpress.com/...records-in-ad/)
* Moving accounts between OUs (e.g. all disabled accounts):
http://dmitrysotnikov.wordpress.com/...ng-ad-objects/
If you have Windows 2008 in your lab you can demo fine-grained password
policies
(
http://dmitrysotnikov.wordpress.com/...th-powershell/)
or even work with read-only domain controller and server core (the latter can
be done ONLY remotely so it makes for a pretty cool demo.)
--
Dmitry Sotnikov
http://dmitrysotnikov.wordpress.com
"Marco Shaw" wrote:
Quote:
> I'm going to be putting on a PSH demo for a local .NET user group (and
> maybe university students). As far as remote administration with PSH,
> I want to show some code for some cool examples to get their
> attention.
>
> Obviously, the examples will be WMI (get-wmiobject) and ADSI based
> (I'll likely use the Quest AD cmdlets). Anyone have any other
> interesting examples/suggestions?
>
> I could use some .NET remoting to perhaps start a remote process for
> example. Also to view a remote event log...
>
> Examples with WMI: get remote cpu usage, get remote patches installed,
> get a listing of the usage of RAM (list slots and ones used/not used), etc.
>
> Anyone have some cool ideas/things I can demo?
>
> Marco
>
>
> --
> ----------------
> PowerGadgets MVP
> http://www.powergadgets.com/mvp
>
> Blog:
> http://marcoshaw.blogspot.com
>