Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > PowerShell

Remote administration examples

Closed Thread
 
Thread Tools Display Modes
Old 09-29-2007   #1 (permalink)
Marco Shaw
Guest
 
Posts: n/a

Remote administration examples

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
 
Old 09-29-2007   #2 (permalink)
Brandon Shell
Guest
 
Posts: n/a

Re: Remote administration examples

For Processes
http://blogs.msdn.com/powershell/arc...owershell.aspx

I would also show them WMI Explorer... that is super cool
http://thepowershellguy.com/blogs/po...er-part-1.aspx

I used .NET and WMI for my Backup-EventLog if you want to show the
difference between .NET and WMI
http://bsonposh.com/modules/wordpress/?p=41

Also... a common request is get installed apps
Get-InstalledApps from http://bsonposh.com/modules/wordpress/?page_id=22
would be cool (bottom)

"Marco Shaw" <marco.shaw@_NO_SPAM_gmail.com> wrote in message
news:up0mJ%23qAIHA.5980@xxxxxx
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
 
Old 09-29-2007   #3 (permalink)
pooradmin
Guest
 
Posts: n/a

Re: Remote administration examples

On Sep 29, 1:04 pm, "Brandon Shell" <tshell.m...@xxxxxx> wrote:
Quote:

> For Processeshttp://blogs.msdn.com/powershell/archive/2007/01/16/managing-processe...
>
> I would also show them WMI Explorer... that is super coolhttp://thepowershellguy.com/blogs/posh/archive/2007/03/22/powershell-...
>
> I used .NET and WMI for my Backup-EventLog if you want to show the
> difference between .NET and WMIhttp://bsonposh.com/modules/wordpress/?p=41
>
> Also... a common request is get installed apps
> Get-InstalledApps fromhttp://bsonposh.com/modules/wordpress/?page_id=22
> would be cool (bottom)
>
> "Marco Shaw" <marco.shaw@_NO_SPAM_gmail.com> wrote in message
>
> news:up0mJ%23qAIHA.5980@xxxxxx
>
>
>
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.
>
Quote:

> > 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?
>
Quote:

> > I could use some .NET remoting to perhaps start a remote process for
> > example. Also to view a remote event log...
>
Quote:

> > 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.
>
Quote:

> > Anyone have some cool ideas/things I can demo?
>
Quote:

> > Marco
>
Quote:

> > --
> > ----------------
> > PowerGadgets MVP
> >http://www.powergadgets.com/mvp
>
Quote:

> > Blog:
> >http://marcoshaw.blogspot.com- Hide quoted text -
>
> - Show quoted text -
Working in a higher ed evnoirnment the ability to (usually) find the
servicetag/serial number, manufacturer, and model of computer has help
me out quite a bit when troublshooting pc's remotely since we usually
have a set number of models on campus.

computersystemproduct, computersystem classes in wmi

just a thought.

-J
www.pooradmin.com

 
Old 09-29-2007   #4 (permalink)
RichS
Guest
 
Posts: n/a

Re: Remote administration examples

Don't forget SMO, Exchange and the other PowerShell enabled apps
--
Richard Siddaway
Please note that all scripts are supplied "as is" and with no warranty
Blog: http://richardsiddaway.spaces.live.com/
PowerShell User Group: http://www.get-psuguk.org.uk


"pooradmin" wrote:
Quote:

> On Sep 29, 1:04 pm, "Brandon Shell" <tshell.m...@xxxxxx> wrote:
Quote:

> > For Processeshttp://blogs.msdn.com/powershell/archive/2007/01/16/managing-processe...
> >
> > I would also show them WMI Explorer... that is super coolhttp://thepowershellguy.com/blogs/posh/archive/2007/03/22/powershell-...
> >
> > I used .NET and WMI for my Backup-EventLog if you want to show the
> > difference between .NET and WMIhttp://bsonposh.com/modules/wordpress/?p=41
> >
> > Also... a common request is get installed apps
> > Get-InstalledApps fromhttp://bsonposh.com/modules/wordpress/?page_id=22
> > would be cool (bottom)
> >
> > "Marco Shaw" <marco.shaw@_NO_SPAM_gmail.com> wrote in message
> >
> > news:up0mJ%23qAIHA.5980@xxxxxx
> >
> >
> >
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.
> >
Quote:

> > > 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?
> >
Quote:

> > > I could use some .NET remoting to perhaps start a remote process for
> > > example. Also to view a remote event log...
> >
Quote:

> > > 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.
> >
Quote:

> > > Anyone have some cool ideas/things I can demo?
> >
Quote:

> > > Marco
> >
Quote:

> > > --
> > > ----------------
> > > PowerGadgets MVP
> > >http://www.powergadgets.com/mvp
> >
Quote:

> > > Blog:
> > >http://marcoshaw.blogspot.com- Hide quoted text -
> >
> > - Show quoted text -
>
> Working in a higher ed evnoirnment the ability to (usually) find the
> servicetag/serial number, manufacturer, and model of computer has help
> me out quite a bit when troublshooting pc's remotely since we usually
> have a set number of models on campus.
>
> computersystemproduct, computersystem classes in wmi
>
> just a thought.
>
> -J
> www.pooradmin.com
>
>
 
Old 10-01-2007   #5 (permalink)
Dmitry Sotnikov
Guest
 
Posts: n/a

RE: Remote administration examples

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
>
 
 
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP - Remote Vista administration and monitor activity Neil Jones Vista General 3 04-13-2008 05:17 AM
HELP - Remote Vista administration and monitor activity Neil Jones Vista security 3 04-13-2008 05:17 AM
RSAT Exchange tabs (Remote Server Administration Tools) SirOssis Vista account administration 0 04-10-2008 09:25 AM
.NET 3.0: looking for the most basic examples Marco Shaw PowerShell 1 03-07-2007 11:13 AM
C++ CLI examples Brian Corcoran Avalon 2 02-20-2006 04:25 PM








Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49