Jump to content

Powershell Scripting In Windows


Recommended Posts

Posted

mamalu, I need help on scripting. What Iam looking for is.

I have to schedule few commands in windows 2008R2 and give the output in text document or email everyday morning.....for automated reporting.

Windows schedular choosa, but It have to send email, koncham help cheyyandi bhayyaa....everyday 8 ki cheyyala... morning rooju marchipotunna....

Posted

nee outputs motham oka $variable lo ki append chesukuntu pettuko. or else | out-file c:\blah.txt -append ani oka text file lo ki append chesuko.
tarvata mail pampataniki ee function vaadu http://blogs.msdn.com/b/rkramesh/archive/2012/03/16/sending-email-using-powershell-script.aspx

task scheduler lo everyday morning 8 ki ee powershell script invoke cheyyi...ade commands execute chesi mail pamputundi.

one advise: when u r trying it out, use your email id in TO list, lekapothe u will keep sending junk to all others. unit testing ayyaka change it to team DL.

Posted

[quote name='mickey' timestamp='1377184102' post='1304149454']
nee outputs motham oka $variable lo ki append chesukuntu pettuko. or else | out-file c:\blah.txt -append ani oka text file lo ki append chesuko.
tarvata mail pampataniki ee function vaadu [url="http://blogs.msdn.com/b/rkramesh/archive/2012/03/16/sending-email-using-powershell-script.aspx"]http://blogs.msdn.co...ell-script.aspx[/url]

task scheduler lo everyday morning 8 ki ee powershell script invoke cheyyi...ade commands execute chesi mail pamputundi.

one advise: when u r trying it out, use your email id in TO list, lekapothe u will keep sending junk to all others. unit testing ayyaka change it to team DL.
[/quote]gp

Posted

[quote name='vishwamithra' timestamp='1377186147' post='1304149661']
gp
[/quote]


Thanks mama.

×
×
  • Create New...