$App = new COM("Outlook.Application");
$Apt = $App->CreateItem(olAppointmentItem);
$Apt->Start = "1079336643";
$Apt->Duration = "30";
$Apt->Subject = "Piano lesson";
$Apt->Location = "The Teacher's House";
$Apt->Body = "This is the body of the appointment";
$Apt->BusyStatus(olBusy);
$Apt->ReminderMinutesBeforeStart = "120";
$Apt->ReminderSet = "True";
$Apt->Display(true);
$Apt->Save;
I'm trying to set up an appointment in Outlook, but nothing happens, (no error msgs), when I run this script.
Help?