Networker

Re: [Networker] Powershell with networker

2009-09-11 02:12:32
Subject: Re: [Networker] Powershell with networker
From: "Joe N. Wallace" <joe.n.wallace AT GMAIL DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Fri, 11 Sep 2009 06:07:05 +0000
James.

Thank you so much for this input. I looked at the poshcode link. I see
you're controlling mminfo and nsrmm in a neat way there.

I find this rather inspiring I must say. Do you know if you'd be better of
using Perl instead of PowerShell?

What else do you use Powershell for in regards to NetWorker server or
clients?

JNW

2009/9/10 James Pratt <jpratt AT norwich DOT edu>

> Well I suppose if I had a lot more free time I could write
> wrapper's/cmdlets for such , however like I said I usually use it for
> one-off things, for example, here is  a bit I use to delete SSID's that
> I no longer want/need (by client name), but could be adapted to do just
> about anything I suppose to a SSID etc..
>
> http://poshcode.org/1131
>
> I also started to write a cmdlet using/around mminfo, but it got complex
> quickly and time was not on my side, and it was more for fun than
> anything useful when I was first learning it.
>
> Regards,
> jamie
>
>
> >> -----Original Message-----
> >> From: EMC NetWorker discussion [mailto:NETWORKER AT LISTSERV.TEMPLE DOT 
> >> EDU]
> On
> >> Behalf Of Joe N. Wallace
> >> Sent: Wednesday, September 09, 2009 11:25 PM
> >> To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
> >> Subject: Re: [Networker] Powershell with networker
> >>
> >> So James.
> >>
> >> Can you let PowerShell control the networker commands like
> mminfo,nsrinfo
> >> and nsradmin and handle the output?
> >>
> >> What kind of tasks are you using PS for regarding NetWorker?
> >>
> >> JNW
> >>
> >> 2009/9/9 MIchael Leone <Michael.Leone AT pha.phila DOT gov>
> >>
> >> > EMC NetWorker discussion <NETWORKER AT LISTSERV.TEMPLE DOT EDU> wrote on
> >> > 09/09/2009 10:04:18 AM:
> >> >
> >> > > >> -----Original Message-----
> >> > > >> From: EMC NetWorker discussion
> >> [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU]
> >> > > On
> >> > > >> Behalf Of MIchael Leone
> >> > > >> Sent: Wednesday, September 09, 2009 9:52 AM
> >> > > >> To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
> >> > > >> Subject: Re: [Networker] Powershell with networker
> >> > > >>
> >> > > >> EMC NetWorker discussion <NETWORKER AT LISTSERV.TEMPLE DOT EDU> 
> >> > > >> wrote
> >> on
> >> > > >> 09/08/2009 11:58:42 PM:
> >> > > >>
> >> > > >> > So is anyone here using powershell to control any networker
> tasks,
> >> > > >> functions
> >> > > >> > or reporting?
> >> > > >> >
> >> > > >> > Or is it only perl?
> >> > > >>
> >> > >
> >> > >
> >> > > >> I use Windows CMD files. :-) (seriously)
> >> > >
> >> > > Oh wow. That must be terribly painful!
> >> >
> >> > Not "terribly" .. usally not, anyway .. :-) It can be limiting, I
> will
> >> > grant you.
> >> >
> >> > > I'm not much for "Promoting *anything* from MS", but at least
> take a
> >> > > look at PS, it's probably one of the better things they've ever
> done.
> >> >
> >> > So I've heard. Just haven't had time to learn or practice with it.
> And the
> >> > last actual programming I did was before this millenium ...
> >> >
> >> > To sign off this list, send email to listserv AT listserv.temple DOT edu
> and type
> >> > "signoff networker" in the body of the email. Please write to
> >> > networker-request AT listserv.temple DOT edu if you have any problems 
> >> > with
> this
> >> > list. You can access the archives at
> >> > http://listserv.temple.edu/archives/networker.html or
> >> > via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
> >> >
> >>
> >> To sign off this list, send email to listserv AT listserv.temple DOT edu 
> >> and
> type "signoff
> >> networker" in the body of the email. Please write to networker-
> >> request AT listserv.temple DOT edu if you have any problems with this list.
> You can access
> >> the archives at http://listserv.temple.edu/archives/networker.html or
> >> via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
>

To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type "signoff networker" in the body of the email. Please write to 
networker-request AT listserv.temple DOT edu if you have any problems with this 
list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER