Re: [Declude.JunkMail] WAY OT: software to monitor the size of the local Outlook.pst file

2005-09-14 Thread Dave Doherty
Title: WAY OT: software to monitor the size of the local Outlook.pst file



Hi Sharyn-
 
That would be pretty easy to do with a _vbscript_. Create a FileSystemObject and have it access the file. That exposes most 
file properties, including filesize, as I recall. The script can send you an 
email if the file gets too large.  Run the script once a day 
using the task scheduler.
 
Check the docs on http://msdn.microsoft.com. There should be 
good info there. If not, let me know and I'll be glad to dig something up for 
you.
 
-Dave Doherty
 

  - Original Message - 
  From: 
  Sharyn 
  Schmidt 
  To: Declude.JunkMail@declude.com 
  
  Sent: Tuesday, September 13, 2005 1:32 
  PM
  Subject: [Declude.JunkMail] WAY OT: 
  software to monitor the size of the local Outlook.pst file
  
  Good afternoon, 
  In the last few weeks, Desktop support has had 
  issues in where Outlook has stopped working due to the size of the Outlook.pst 
  file.
  I back up these files using Backup Exec on a 
  server. 
  I am looking for some sort of software that can 
  monitor file size, either installed on each users local machine with some sort 
  of notification function, or something that can monitor the .pst size in 
  Backup exec, again with some sort of flag.
  I am after some way to get an alert, once the 
  users' Outlook.pst gets to be, say, over 1 gig. 
  My users are not savvy enough to separate their 
  psts into manageable sizes, so we need to do it for them. 
  Suggestions? 
  Thanks, Sharyn 


RE: [Declude.JunkMail] WAY OT: software to monitor the size of the local Outlook.pst file

2005-09-14 Thread Sharyn Schmidt
Title: Message



That would be pretty easy to do 
with a _vbscript_. Create a FileSystemObject and have it access the file. That 
exposes most file properties, including filesize, as I recall. The script can 
send you an email if the file gets too large.  Run the script 
once a day using the task scheduler. 
 
Unfortunately, it's not 
just 1 file.
 
Its 300 users' 
Outlook.pst files, on 300 different machines.
 
What I was looking for, 
was a piece of 3rd party software, to load on a server, that will go 
out and find all Outlook.pst files on the network (or any other file type 
that I specify) check the file size, then email me back or notify me if the file 
gets too large.
 
Is there such a 
thing?
 
Thanks,
Sharyn 
 


Re: [Declude.JunkMail] WAY OT: software to monitor the size of the local Outlook.pst file

2005-09-14 Thread Darin Cox
Title: Message



From a server on the network, you would have to 
have permissions to each machine to do that.  If you run Active Directory 
it's not a problem, though.  In fact, you could add the script Dave 
suggested to their startup to compile a report of pst sizes.
Darin.
 
 
- Original Message - 
From: Sharyn 
Schmidt 
To: Declude.JunkMail@declude.com 

Sent: Wednesday, September 14, 2005 12:04 PM
Subject: RE: [Declude.JunkMail] WAY OT: software to monitor the size 
of the local Outlook.pst file

That would be pretty easy to do 
with a _vbscript_. Create a FileSystemObject and have it access the file. That 
exposes most file properties, including filesize, as I recall. The script can 
send you an email if the file gets too large.  Run the script 
once a day using the task scheduler. 
 
Unfortunately, it's not 
just 1 file.
 
Its 300 users' 
Outlook.pst files, on 300 different machines.
 
What I was looking for, 
was a piece of 3rd party software, to load on a server, that will go 
out and find all Outlook.pst files on the network (or any other file type 
that I specify) check the file size, then email me back or notify me if the file 
gets too large.
 
Is there such a 
thing?
 
Thanks,
Sharyn 
 


Re: [Declude.JunkMail] WAY OT: software to monitor the size of the local Outlook.pst file

2005-09-14 Thread David Sullivan
Hello Sharyn,

Tuesday, September 13, 2005, 1:32:42 PM, you wrote:

SS> Suggestions?

A good while back someone here recommended www.ks-soft.com. GREAT
application.



-- 
Best regards,
 Davidmailto:[EMAIL PROTECTED]

---
This E-mail came from the Declude.JunkMail mailing list.  To
unsubscribe, just send an E-mail to [EMAIL PROTECTED], and
type "unsubscribe Declude.JunkMail".  The archives can be found
at http://www.mail-archive.com.


RE: [Declude.JunkMail] WAY OT: software to monitor the size of the local Outlook.pst file

2005-09-14 Thread Sharyn Schmidt
Title: Message




  From a server on the network, you would 
  have to have permissions to each machine to do that.  If you run Active 
  Directory it's not a problem, though.  In fact, you could add the script 
  Dave suggested to their startup to compile a report of pst sizes. 
   
  I do run an AD domain 
  here. 
   
   
  That would be pretty easy to do 
  with a _vbscript_. Create a FileSystemObject and have it access the file. That 
  exposes most file properties, including filesize, as I recall. The script can 
  send you an email if the file gets too large.  Run the script 
  once a day using the task scheduler. 
   
  Scripting writing is not one of 
  my strengths so forgive the stupid question..would I not have to load 
  some sort of .net framework on every workstation in order for this script 
  to run?
   
  I like the idea of using AD to 
  have each workstation run the script as they log onto the domain, but I 
  am not sure how to get this script to work on the individual 
  machines.
   
  Thanks for your 
  time!
  Sharyn  
   


RE: [Declude.JunkMail] WAY OT: software to monitor the size of the local Outlook.pst file

2005-09-14 Thread Sharyn Schmidt
Title: Message



The .NET framework is not needed for VBS scripts or 
non-.NET executables, only for .NET compiled executables.

   
  So now, the thing is to just find or have someone 
  write the script for you .
   
  If you standardized the location 
  of the PST on every workstation, a simple bat file would do the trick.  
  If the directory name is different on each workstation, then you would need to 
  pass it a parameter to find the directory and echo the dir info to a network 
  file. 
   
   
  Heh..I"m working on the "get someone to write it for me" part, 
  that would be my boss who came up with this idea about the size 
  monitoring of the pst files anyway.
   
  The directory is the standard directory that Outlooks 
  installs all it's pst files, documents and 
  settings//local settings/application data/ 
  etc etc
   
  So, since everyone's user name is different that 
  would put it in a different directory.
   
   
   


Re: [Declude.JunkMail] WAY OT: software to monitor the size of the local Outlook.pst file

2005-09-14 Thread Darin Cox
Title: Message



The .NET framework is not needed for VBS scripts or 
non-.NET executables, only for .NET compiled executables.
 
So now, the thing is to just find or have someone 
write the script for you .
 
If you standardized the location of the 
PST on every workstation, a simple bat file would do the trick.  If the 
directory name is different on each workstation, then you would need to pass it 
a parameter to find the directory and echo the dir info to a network 
file.
Darin.
 
 
- Original Message - 
From: Sharyn 
Schmidt 
To: Declude.JunkMail@declude.com 

Sent: Wednesday, September 14, 2005 3:23 PM
Subject: RE: [Declude.JunkMail] WAY OT: software to monitor the size 
of the local Outlook.pst file


  From a server on the network, you would 
  have to have permissions to each machine to do that.  If you run Active 
  Directory it's not a problem, though.  In fact, you could add the script 
  Dave suggested to their startup to compile a report of pst sizes. 
   
  I do run an AD domain 
  here. 
   
   
  That would be pretty easy to do 
  with a _vbscript_. Create a FileSystemObject and have it access the file. That 
  exposes most file properties, including filesize, as I recall. The script can 
  send you an email if the file gets too large.  Run the script 
  once a day using the task scheduler. 
   
  Scripting writing is not one of 
  my strengths so forgive the stupid question..would I not have to load 
  some sort of .net framework on every workstation in order for this script 
  to run?
   
  I like the idea of using AD to 
  have each workstation run the script as they log onto the domain, but I 
  am not sure how to get this script to work on the individual 
  machines.
   
  Thanks for your 
  time!
  Sharyn  
   


Re: [Declude.JunkMail] WAY OT: software to monitor the size of the local Outlook.pst file

2005-09-14 Thread Darin Cox
Title: Message



If you put the username as a parameter to a batch 
file in every users AD profile, then a simple batch 
file like
 
ECHO %1 >> \\ path to your server here that every 
user has write access to>\PSTsize.log
DIR C:\documents and 
settings\%1\local settings\application data\ etc... >> \\ path to your 
server here that every user has write access 
to>\PSTSize.log
 
Would give it to you.  Of course you could get 
fancier with the log file format, but this gives you the fundamental 
data.
 
Obviously you have to put this individually into 
each users' profile with their username, so that will take time...
Darin.
 
 
- Original Message - 
From: Sharyn 
Schmidt 
To: Declude.JunkMail@declude.com 

Sent: Wednesday, September 14, 2005 3:43 PM
Subject: RE: [Declude.JunkMail] WAY OT: software to monitor the size 
of the local Outlook.pst file

The .NET framework is not needed for VBS scripts or 
non-.NET executables, only for .NET compiled executables.

   
  So now, the thing is to just find or have someone 
  write the script for you .
   
  If you standardized the location 
  of the PST on every workstation, a simple bat file would do the trick.  
  If the directory name is different on each workstation, then you would need to 
  pass it a parameter to find the directory and echo the dir info to a network 
  file. 
   
   
  Heh..I"m working on the "get someone to write it for me" part, 
  that would be my boss who came up with this idea about the size 
  monitoring of the pst files anyway.
   
  The directory is the standard directory that Outlooks 
  installs all it's pst files, documents and 
  settings//local settings/application data/ 
  etc etc
   
  So, since everyone's user name is different that 
  would put it in a different directory.
   
   
   


Re: [Declude.JunkMail] WAY OT: software to monitor the size of the local Outlook.pst file

2005-09-14 Thread William Stillwell
Title: Message



No need for %1
 
There are these varibles available.
 
%COMPUTERNAME% 
%USERNAME%
%USERPROFILE%
 
Now, you can't have spaces in the "DIR" Command, 
so
 
DIR "%USERNAME%\*.*" >> 
"C:\Pst.Log"
 
Now, that only works in a .cmd file.
 
testing from a command prompt doesn't 
work.
 
 

  - Original Message - 
  From: 
  Darin Cox 
  To: Declude.JunkMail@declude.com 
  
  Sent: Wednesday, September 14, 2005 4:17 
  PM
  Subject: Re: [Declude.JunkMail] WAY OT: 
  software to monitor the size of the local Outlook.pst file
  
  If you put the username as a parameter to a batch 
  file in every users AD profile, then a simple batch 
  file like
   
  ECHO %1 >> \\ path to your server here that every 
  user has write access to>\PSTsize.log
  DIR C:\documents and 
  settings\%1\local settings\application data\ etc... >> \\ path to your 
  server here that every user has write access 
  to>\PSTSize.log
   
  Would give it to you.  Of course you could 
  get fancier with the log file format, but this gives you the fundamental 
  data.
   
  Obviously you have to put this individually into 
  each users' profile with their username, so that will take 
time...
  Darin.
   
   
  - Original Message - 
  From: Sharyn 
  Schmidt 
  To: Declude.JunkMail@declude.com 
  
  Sent: Wednesday, September 14, 2005 3:43 PM
  Subject: RE: [Declude.JunkMail] WAY OT: software to monitor the 
  size of the local Outlook.pst file
  
  The .NET framework is not needed for VBS scripts 
  or non-.NET executables, only for .NET compiled executables.
  
 
So now, the thing is to just find or have 
someone write the script for you .
 
If you standardized 
the location of the PST on every workstation, a simple bat file would 
do the trick.  If the directory name is different on each workstation, 
then you would need to pass it a parameter to find the directory and echo 
the dir info to a network file. 
 
 
Heh..I"m working on the "get someone to write it for me" part, 
that would be my boss who came up with this idea about the size 
monitoring of the pst files anyway.
 
The directory is the standard directory 
that Outlooks installs all it's pst files, documents and 
settings//local settings/application data/ 
etc etc
 
So, since everyone's user name is different that 
would put it in a different 
directory.
 
 
 


Re: [Declude.JunkMail] WAY OT: software to monitor the size of the local Outlook.pst file

2005-09-14 Thread Darin Cox
Title: Message



Good point...forgot about the environment 
variables.
 
So, for Sharyn's use, it would be something 
like...
 

ECHO %1 >> "\\ path to your server here that every 
user has write access to>\PSTsize.log"
DIR "%USERPROFILE%\local 
settings\application data\ etc..." >> "\\ path to your 
server here that every user has write access 
to>\PSTSize.log"
 
Then she just has to put them in every AD profile 
.  There may be a shortcut for that though...possibly a group 
policy that would do it.
Darin.
 
 
- Original Message - 
From: William Stillwell 
To: Declude.JunkMail@declude.com 

Sent: Wednesday, September 14, 2005 4:37 PM
Subject: Re: [Declude.JunkMail] WAY OT: software to monitor the size 
of the local Outlook.pst file

No need for %1
 
There are these varibles available.
 
%COMPUTERNAME% 
%USERNAME%
%USERPROFILE%
 
Now, you can't have spaces in the "DIR" Command, 
so
 
DIR "%USERNAME%\*.*" >> 
"C:\Pst.Log"
 
Now, that only works in a .cmd file.
 
testing from a command prompt doesn't 
work.
 
 

  - Original Message - 
  From: 
  Darin Cox 
  To: Declude.JunkMail@declude.com 
  
  Sent: Wednesday, September 14, 2005 4:17 
  PM
  Subject: Re: [Declude.JunkMail] WAY OT: 
  software to monitor the size of the local Outlook.pst file
  
  If you put the username as a parameter to a batch 
  file in every users AD profile, then a simple batch 
  file like
   
  ECHO %1 >> \\ path to your server here that every 
  user has write access to>\PSTsize.log
  DIR C:\documents and 
  settings\%1\local settings\application data\ etc... >> \\ path to your 
  server here that every user has write access 
  to>\PSTSize.log
   
  Would give it to you.  Of course you could 
  get fancier with the log file format, but this gives you the fundamental 
  data.
   
  Obviously you have to put this individually into 
  each users' profile with their username, so that will take 
time...
  Darin.
   
   
  - Original Message - 
  From: Sharyn 
  Schmidt 
  To: Declude.JunkMail@declude.com 
  
  Sent: Wednesday, September 14, 2005 3:43 PM
  Subject: RE: [Declude.JunkMail] WAY OT: software to monitor the 
  size of the local Outlook.pst file
  
  The .NET framework is not needed for VBS scripts 
  or non-.NET executables, only for .NET compiled executables.
  
 
So now, the thing is to just find or have 
someone write the script for you .
 
If you standardized 
the location of the PST on every workstation, a simple bat file would 
do the trick.  If the directory name is different on each workstation, 
then you would need to pass it a parameter to find the directory and echo 
the dir info to a network file. 
 
 
Heh..I"m working on the "get someone to write it for me" part, 
that would be my boss who came up with this idea about the size 
monitoring of the pst files anyway.
 
The directory is the standard directory 
that Outlooks installs all it's pst files, documents and 
settings//local settings/application data/ 
etc etc
 
So, since everyone's user name is different that 
would put it in a different 
directory.