Powershell commandline mailing , send mail
- No Comments
- Dec, 19, 2010
- Angelo Schalley
- Exchange, Powershell, Windows-Microsoft
statusmailer.ps1 :
$data can be any data you want to send.
$data = Get-ChildItem “\\10.10.102.249\backup\” | sort-object -property @{Expression={$_.LastWriteTime}; Descending=$true} | format-table LastWriteTime,Length,Name -auto | out-string
$emailFrom = “backup@domain.be”
$emailTo = “user@domain.be”
$subject = “backupverslag LINIX”
$body = $data
$smtpServer = “10.10.10.1”
$smtp = new-object Net.Mail.SmtpClient($smtpServer)
$smtp.Send($emailFrom, $emailTo, $subject, $body)
Read more on Powershell commandline mailing , send mail…
Password protect a directory within IIS
- No Comments
- Dec, 14, 2010
- Angelo Schalley
- html / php, IIS, Plesk Windows, security, Windows-Microsoft
1. Create the user:
Administrative Tools -> Computer Management
Expand Local Users and Groups
Right-click Users, select New User…
Fill in the appropriate fields, be sure to clear the box for “User must change password at next logon”.
Click Create
Read more on Password protect a directory within IIS…
install remote desktop connection 6.1 on windows 2003 server (RDP)
- One Comments
- Oct, 26, 2010
- Angelo Schalley
- Active Directory, Networking, Windows-Microsoft
Visit: http://www.microsoft.com/downloads/details.aspx?FamilyId=6E1EC93D-BDBD-4983-92F7-479E088570AD&displaylang=en
Download the XP SP2 Client
Once Downloaded the application needs to be run in XP SP2 compatibility mode
Right-Click the installer
Select Properties
Check the “Enable Compatibility box”
Select “Windows XP”
Apply and Close
Run the installer follow the prompts and complete the installation
Ta-da RDC 6.1 for Windows Server 2003
Read more on install remote desktop connection 6.1 on windows 2003 server (RDP)…