Join Mike Pfeiffer for an in-depth discussion in this video Schedule Scripts, part of PowerShell 2.0 for Exchange Server.
- So I have this script that I wrote that generates a report…for all the sales people in the environment, here.…So, I'm actually going to reuse this script,…'cause I don't want to have to manually…run this to generate this report.…And what this does is actually takes the sales users…and dumps a .csv file out on the C:\ drive.…But I don't want to have to manually do this.…I want this to run once a week,…once a month, something like that.…So what I'm gonna do is, I'm gonna actually…schedule this script to run with the Task Scheduler.…And on this machine, I've actually…already got my profile set up for this.…So let me open up my Windows PowerShell profile.…
So any time PowerShell runs on this machine,…it's actually going to, well I've got the tools installed here,…so it's gonna dot source this RemoteExchange.ps1 script…and connect to an Exchange server automatically.…So if I were to execute PowerShell.exe from a scheduled task…this environment would get loaded for me,…and all I would have to do is call my .ps1 script,…
Author
Released
5/7/2012Skill Level Advanced
Duration
Views
Related Courses
-
PowerShell: Web Access
with Jason C. Helmick1h 31m Intermediate -
PowerShell: DrillBits
with Don Jones1h 32m Beginner
-
1. Discover Exchange Administration Tasks
-
Generate reports8m 17s
-
Schedule Scripts5m 31s
-
2. Manage Recipients
-
Provision Recipients In Bulk4m 35s
-
Manage automatic replies5m 56s
-
3. Distribution Groups
-
4. Work with Mailboxes
-
Import And Export Mailbox Data11m 37s
-
5. Structure Database Management
-
Report On Database Size5m 21s
-
Check Database Backup Status5m 42s
-
6. Manage Mail Flow
-
Manage Mail Flow18s
-
Send SMTP messages12m 33s
-
Search Message-Tracking Logs8m 23s
-
Work with queues7m 59s
-
Manage connectors4m 59s
-
-
7. Discover Security, Compliance, and Audit Logging
-
8. Understand Future Uses
-
Build reusable tools16m 6s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Schedule Scripts