Re: Automatic reports?
- From: "Kim Oppalfens [MVP]" <""Kim dot Oppalfens\"@google mail.com">
- Date: Wed, 05 Sep 2007 10:19:58 +0200
Mathias wrote:
Excellent, works beautifully. I've combined it with a vbscript that opens the webpage on a schedule which then saves the file to the harddrive. Thanks a lot.I had a script lying around like that somewhere, but couldn't find it.
"Kim Oppalfens [MVP]" <""Kim dot Oppalfens\"@google mail.com"> wrote in message news:uNPg1yi7HHA.5184@xxxxxxxxxxxxxxxxxxxxxxxsherrylkissinger@xxxxxxxxx wrote:I'm quite fortunate in that I have SQL experts in my company to doSample:
this... but when we need data from 1 SQL database to be imported into
another, we just tell the SQL team--and those wizards figure it out.
I know it's somehow scheduled within SQL. I realize this information
is not extremely useful; but perhaps this will give you a different
direction to search. Instead of searching on "how to do this with
sms", perhaps "how to do this with sql" ? I am assuming that both
databases are within the same organization.
I know we have 1 routine setup like this. Our internal helpdesk
ticketting system (sql on the backend) pulls data from SMS to populate
the helpdesk systems' hardware tables and linking hardware to users.
If that is not an option, may I suggest the book "SMS 2003 Recipes" by
Greg Ramsey and Warren Byle? Page 267, topic 8-10 "Automatically
Exporting Report Results" sounds like exactly what you are looking
for.
On Sep 3, 4:24 am, "Mathias" <maha.nos...@xxxxxxxxx> wrote:I'd like to schedule the generation of a report and get the output as a CSV
file. Is there a smart way to do this? My idea is to somehow get a vbscript
to ask the SQL-query and then save the result as a CSV-file. But perhaps
there's a smarter way?
The CSV file is going to be imported into another DB afterwards.
//Mathias
http://tbe1ms3/SMSReporting_B01/Report.asp?ReportID=259&ExportTo=C:\temp\Report259.txt
Just replace the Url you want to run in the above line, modify the exportto value.
Schedule this url using scheduled tasks en internet explorer.
--
"Everyone is an expert at something"
Kim Oppalfens - Sms Expert for lack of any other expertise
Windows Server System MVP - SMS
http://www.blogcastrepository.com/blogs/kim_oppalfenss_systems_management_ideas/default.aspx
Would you mind sharing the script?
Does it close the Internet explorer window afterwards?
--
"Everyone is an expert at something"
Kim Oppalfens - Sms Expert for lack of any other expertise
Windows Server System MVP - SMS
http://www.blogcastrepository.com/blogs/kim_oppalfenss_systems_management_ideas/default.aspx
.
- References:
- Automatic reports?
- From: Mathias
- Re: Automatic reports?
- From: sherrylkissinger@xxxxxxxxx
- Re: Automatic reports?
- From: Kim Oppalfens [MVP]
- Re: Automatic reports?
- From: Mathias
- Automatic reports?
- Prev by Date: Re: Modify the hardware inventory to look for custom regkeys
- Next by Date: Re: Modify the hardware inventory to look for custom regkeys
- Previous by thread: Re: Automatic reports?
- Next by thread: Re: Another Memory question
- Index(es):
Relevant Pages
|
Loading