Task scheduler send email

Open Task Scheduler
Right Click Create New Task

Go to Tab Actions and click on New

Now enter powershell.exe under Program/scripts

Add argument > point this to the powershell script, eg C:\scripts\email.ps1

now the very simple powershell script: email.sp1

Send-MailMessage -to <recipient email address> -Subject "Backup Success" -body "The server backup job on server1 completed successfully" -smtpserver <your mail server> -from <sender email addreess>

 

Add mailbox in Outlook 2013

Go to File

Go to Account Settings -> Account Settings

Click on Change (or dubble click on your name)

Click on More Settings

Click on tab Advanced

Click on Add

Type the name of the person/mailbox or emailadres and click on OK

Click on OK

Click on Next

Click on Finish

Click on Close

Now on the left side in outlook you have the mailbox available.

Windows 10 WSUS Upgrade Issues File Not Found

I had problems with updating my system to 1607 version.
Recieved error message File not found.

Found this website with solution
https://social.technet.microsoft.com/Forums/office/en-US/d7dbb851-4e3a-41d9-9072-1f16d7b1bc1e/fix-domain-windows-10-wsus-upgrade-issues-file-not-found?forum=winserverwsus

We were having an issue with the Windows 10 upgrade MS recently released to WSUS server on our domain. To put a long story short the issue is in IIS and NOT WSUS per say. After some testing it turns out IIS was not serving the .esd file (this is the main update file) due to the mime type not being set. To rectify the issue:

under IIS Admin->WSUS Administration->Content-> Click on “Mime Types”-> Add

File Mame Extention:  = .esd

MIME type:     application/vnd.ms-cab-compressed

If you have already tried to pull the W10 update you may need to clear your SoftwareDistribution Download Cache under the Windows Dir and clear out the hidden $WINDOWS.~BT

EDIT:

The actual mime type for esd, accordion to http://www.filesuffix.com/en/extension/esd, is “application/octet-stream”.

Install iTunes with Landesk

At this moment I have rights for Landesk. Not optimal but I can add software and send it to systems what I manage.

Here is a script that I use to install Itunes.

@echo off
cls
echo --------------------------------------------------------
echo .
echo .
echo .      Installing iTunes 12.5.4.42 x64
echo .         Window will close once installed

If "%PROCESSOR_ARCHITECTURE%" == "AMD64" GOTO X64
IF "%PROCESSOR_ARCHITECTURE%" == "x86" GOTO x86

GOTO EXIT


:: Wait for 20 seconds
ping -n 20 127.0.0.1 > NUL

:x86
REM Copy Installer
REM Installer is only X64

GOTO EXIT



:X64
REM Copy Installer
Copy "\\<SERVER>\iTunes 12.5.4.42 x64\AppleApplicationSupport.msi" "C:\Logs\"
Copy "\\<SERVER>\iTunes 12.5.4.42 x64\AppleApplicationSupport64.msi" "C:\Logs\"
Copy "\\<SERVER>\iTunes 12.5.4.42 x64\AppleMobileDeviceSupport6464.msi" "C:\Logs\"
Copy "\\<SERVER>\iTunes 12.5.4.42 x64\AppleSoftwareUpdate.msi" "C:\Logs\"
Copy "\\<SERVER>\iTunes 12.5.4.42 x64\Bonjour64.msi" "C:\Logs\"
Copy "\\<SERVER>\iTunes 12.5.4.42 x64\iTunes6464.msi" "C:\Logs\"

REM Run Installer
MSIEXEC.EXE /I "C:\Logs\AppleApplicationSupport.msi" /QN /norestart REBOOT=ReallySuppress
MSIEXEC.EXE /I "C:\Logs\AppleApplicationSupport64.msi" /QN /norestart REBOOT=ReallySuppress
MSIEXEC.EXE /I "C:\Logs\AppleMobileDeviceSupport6464.msi" /QN /norestart REBOOT=ReallySuppress
MSIEXEC.EXE /I "C:\Logs\AppleSoftwareUpdate.msi" /QN /norestart REBOOT=ReallySuppress
MSIEXEC.EXE /I "C:\Logs\Bonjour64.msi" /QN /norestart REBOOT=ReallySuppress
MSIEXEC.EXE /I "C:\Logs\iTunes6464.msi" /QN /norestart REBOOT=ReallySuppress

:: Wait for 20 seconds
ping -n 20 127.0.0.1 > NUL

REM Delete Installer
Del "C:\Logs\AppleApplicationSupport.msi"
Del "C:\Logs\AppleApplicationSupport64.msi"
Del "C:\Logs\AppleMobileDeviceSupport6464.msi"
Del "C:\Logs\AppleSoftwareUpdate.msi"
Del "C:\Logs\Bonjour64.msi"
Del "C:\Logs\iTunes6464.msi"

GOTO EXIT

:EXIT
REM Return exit code to Landesk
exit /B %EXIT_CODE%