web analytics

Blog

How to send an email when Operating system deployment is completed

Posted by:

To send an email when Operating system installation is completed:

  1. Open Configuration Manager Console
  2. From the Configuration Manager Console, open Administration workspace
  3. Select sites and on the home tab select Status Filter Rules
  4. On the Status Filter Rules window, press Create
  5. On the Create Status Filter Rule wizard , you need to fill the following text boxes:
    1. Name – example value : “Windows 8 x64 with Adobe Apps – OSD END
    2. Source – example value: Client
    3. Message ID – example value: 11171
    4. Property – example value: Package ID
    5. Property Value – example value: TPT0005a (TPT0005a is a TASK SEQUENCE ID)
    6. Run a program– example value: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -file D:\Scripts\OSD_Deployment_Success.ps1 -ComputerName %msgsys -TS “Windows 8 x64 with Adobe Apps
  6. Click Next to finish the Wizard
  7. Start the Operating system installation and test the Status Filter Rule script

Code Example

Example Status Filter Rule


You can download the code example from here



About the Author:

Kaido Järvemets is a developer, consultant, trainer specializing in Microsoft System Center Configuration Manager and PowerShell Solutions at Coretech. Kaido frequently speaks at European conferences and had his US debut as speaker at MMS April 2013. Kaido is well-known in the Configuration Manager communities where he’s a key player in the PowerShell game. Kaido host one of the most complete Configuration Manager PowerShell library’s in the world with hundreds of free code samples ready to download and implement – www.cm12sdk.net. Kaido has been awarded Microsoft Most Valuable Professional (MVP) in Microsoft Enterprise Client Management for his work with Configuration Manager from 2011 – to present. Kaido is the founder of System Center User Group Estonia in 2011.