Anonymous_User Absent Member.
Absent Member.
1409 views

Windows Scripting

I'm wanting to learn some Windows scripting to automate or make easier
some of the things I do on the servers. Which language would you all
suggest?

I've been reviewing python scripting as I can use it with Linux (and
many other things as well). Anybody ever used it to automate Windows
Servers?
Labels (1)
0 Likes
12 Replies
Anonymous_User Absent Member.
Absent Member.

Re: Windows Scripting

qbasic


"Matthew" <systemRemovEtyrant@gmail.com> wrote in message
news:mjQ%l.5183$0w7.3314@kovat.provo.novell.com...
> I'm wanting to learn some Windows scripting to automate or make easier
> some of the things I do on the servers. Which language would you all
> suggest?
>
> I've been reviewing python scripting as I can use it with Linux (and many
> other things as well). Anybody ever used it to automate Windows Servers?



0 Likes
jmarton2 Absent Member.
Absent Member.

Re: Windows Scripting

On Mon, 22 Jun 2009 18:45:38 +0000, Matthew wrote:

> I'm wanting to learn some Windows scripting to automate or make easier
> some of the things I do on the servers. Which language would you all
> suggest?


Windows Scripting Host and Powershell might not be a bad idea if you want
to go with something Windows-specific.



--
Joe
Does this washcloth smell like chloroform?

Joe Marton Emeritus Knowledge Partner
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Windows Scripting

Joseph Marton wrote:
> On Mon, 22 Jun 2009 18:45:38 +0000, Matthew wrote:
>
>> I'm wanting to learn some Windows scripting to automate or make easier
>> some of the things I do on the servers. Which language would you all
>> suggest?

>
> Windows Scripting Host and Powershell might not be a bad idea if you want
> to go with something Windows-specific.
>
>
>


Well, I'm currently checking out both of those. WSH I believe allows
for the use of both VBScript and JScript (maybe some others as well).
I'm also reading about using python scripting for Windows as well. I
like the idea of python (assuming it was capable of doing what I need to
do) because I can transfer that knowledge over to Linux as well, but
like all think technical compatibility between Linux and Windows stuff
is always complex. 😄
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Windows Scripting

If you're not going to use the official WSH and/or PowerShell then
Autohotkey will let you do almost anything and is very simple -
http://www.autohotkey.com/

Matthew wrote:

> I'm wanting to learn some Windows scripting to automate or make
> easier some of the things I do on the servers. Which language would
> you all suggest?
>
> I've been reviewing python scripting as I can use it with Linux (and
> many other things as well). Anybody ever used it to automate Windows
> Servers?

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Windows Scripting

Matthew wrote:

> I'm wanting to learn some Windows scripting to automate or make
> easier some of the things I do on the servers. Which language would
> you all suggest?
>
> I've been reviewing python scripting as I can use it with Linux (and
> many other things as well). Anybody ever used it to automate Windows
> Servers?


http://www.autoitscript.com/autoit3/

--
brain
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Windows Scripting

> I'm wanting to learn some Windows scripting to automate or make easier
> some of the things I do on the servers. Which language would you all
> suggest?


Ultimately widows shell is probably the mainstay.
You could perhaps do some stuff with perl, I know I have.
If you are interesting in really really great process automation,
this is my choice.

http://www.graphicaldynamics.com/

0 Likes
jmarton2 Absent Member.
Absent Member.

Re: Windows Scripting

Matthew wrote:

> I
> like the idea of python (assuming it was capable of doing what I need to
> do) because I can transfer that knowledge over to Linux as well,


In that case why not look into ActivePerl?

http://www.activestate.com/activeperl/

--
Joe
Does this washcloth smell like chloroform?

Joe Marton Emeritus Knowledge Partner
0 Likes
jmarton2 Absent Member.
Absent Member.

Re: Windows Scripting

£Jim wrote:

> If you're not going to use the official WSH and/or PowerShell then
> Autohotkey will let you do almost anything and is very simple -


Autohotkey is a great tool. We use it here.

--
Joe
Does this washcloth smell like chloroform?

Joe Marton Emeritus Knowledge Partner
0 Likes
Highlighted
Anonymous_User Absent Member.
Absent Member.

Re: Windows Scripting

Powershell is great way to script many server side processes. Also if your
lucky enough to look after Exchange 🙂 Powershell is your friend.

"Matthew" <systemRemovEtyrant@gmail.com> wrote in message
news:mjQ%l.5183$0w7.3314@kovat.provo.novell.com...
> I'm wanting to learn some Windows scripting to automate or make easier
> some of the things I do on the servers. Which language would you all
> suggest?
>
> I've been reviewing python scripting as I can use it with Linux (and many
> other things as well). Anybody ever used it to automate Windows Servers?


0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Windows Scripting

Joseph Marton <jmarton@no-mx.forums.novell.com> wrote in news:QZT%l.5256
$0w7.3139@kovat.provo.novell.com:

> £Jim wrote:
>
>> If you're not going to use the official WSH and/or PowerShell then
>> Autohotkey will let you do almost anything and is very simple -

>
> Autohotkey is a great tool. We use it here.
>


We do too, it needed a bit of tweaking wrt timing delays of IE page renders
before we fired the mouse clicks, but I licked that on the most horrible
app that would not let you get account track data from the copier ever.
If you just jump right into record mode, use as many keyboard commands as
possible, and keep mouse clicks to a minimum. Add delays.

Works really well.

ps, now I said that I will have a service call at the place tomorrow....

--
Ciao, Dave
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Windows Scripting

I had to write a script to automate an application that had "Press
Enter To Continue" after a process. Had to poll every 10 seconds and
match screenshot with the window before sending the Enter keystroke.
Don't know of any other scripting that has that functionality.

Dave Taylor wrote:

> Joseph Marton <jmarton@no-mx.forums.novell.com> wrote in
> news:QZT%l.5256 $0w7.3139@kovat.provo.novell.com:
>
> > £Jim wrote:
> >
> >> If you're not going to use the official WSH and/or PowerShell then
> >> Autohotkey will let you do almost anything and is very simple -

> >
> > Autohotkey is a great tool. We use it here.
> >

>
> We do too, it needed a bit of tweaking wrt timing delays of IE page
> renders before we fired the mouse clicks, but I licked that on the
> most horrible app that would not let you get account track data from
> the copier ever. If you just jump right into record mode, use as
> many keyboard commands as possible, and keep mouse clicks to a
> minimum. Add delays.
>
> Works really well.
>
> ps, now I said that I will have a service call at the place
> tomorrow....

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Windows Scripting

£Jim wrote:

> I had to write a script to automate an application that had "Press
> Enter To Continue" after a process. Had to poll every 10 seconds and
> match screenshot with the window before sending the Enter keystroke.
> Don't know of any other scripting that has that functionality.
>
> Dave Taylor wrote:
>
> > Joseph Marton <jmarton@no-mx.forums.novell.com> wrote in
> > news:QZT%l.5256 $0w7.3139@kovat.provo.novell.com:
> >
> > > £Jim wrote:
> > >
> > >> If you're not going to use the official WSH and/or PowerShell

> > then >> Autohotkey will let you do almost anything and is very
> > simple -
> > >
> > > Autohotkey is a great tool. We use it here.
> > >

> >
> > We do too, it needed a bit of tweaking wrt timing delays of IE page
> > renders before we fired the mouse clicks, but I licked that on the
> > most horrible app that would not let you get account track data from
> > the copier ever. If you just jump right into record mode, use as
> > many keyboard commands as possible, and keep mouse clicks to a
> > minimum. Add delays.
> >
> > Works really well.
> >
> > ps, now I said that I will have a service call at the place
> > tomorrow....


I think AutoIT would handle that.

--
brain
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.