Powershell tips

Get-ChildItem Using this you can get the file list from a directory. Gets the items and child items in one or more specified locations. Get-ChildItem “<path>” -Recurse -Filter <*.*> | where {$_.LastWriteTime -le(Get-Date).AddDays(-<amount of days>) } that command can delete older files from a directory. can be useful when making backups Or get a list… Lees verder Powershell tips

OSX installation to USB

Here are the required steps: Connect to your Mac a properly formatted 8GB (or larger) drive, and rename the drive Untitled. (The Terminal command used here assumes the drive is named Untitled.) Also, make sure the Yosemite installer, called Install OS X Yosemite.app, is in its default location in your main Applications folder (/Applications). This… Lees verder OSX installation to USB

Gepubliceerd op
Gecategoriseerd als Mac OSX

Synchronize time with external NTP server on Windows Server 2008 (R2).

  Time synchronization is an important aspect for all computers on the network. By default, the clients computers get their time from a Domain Controller and the Domain Controller gets his time from the domain’s PDC Operation Master. Therefore the PDC must synchronize his time from an external source. I usually use the servers listed… Lees verder Synchronize time with external NTP server on Windows Server 2008 (R2).

Naamloos

Creating a USB Installer for Apple OS X 10.9 Before proceeding, you’ll need the following items to complete the process: 8 GB USB Flash Drive (or SD Card) Install OS X Mavericks.app (installer downloaded from Mac App Store), we will assume it will be placed with the  other Applications Apple computer with Mac App Store… Lees verder Naamloos

SPF wizards

Here are some sites that can help you generate SPF records. http://www.mtgsy.net/dns/spfwizard.php http://spfwizard.com/ http://www.spfwizard.net/        

Sender Policy Framework

  SPF Record Syntax Note: This page serves as an introduction and quick overview of SPF mechanism syntax. For the complete and definitive picture, please see the specification. Domains define zero or more mechanisms. Mechanisms can be used to describe the set of hosts which are designated outbound mailers for the domain. all | ip4 | ip6 | a | mx | ptr | exists | include Domains may also define modifiers. Each… Lees verder Sender Policy Framework

Gepubliceerd op
Gecategoriseerd als DNS Records

Hoe werkt het SPF record in de DNS

Hoe werkt het SPF record in de DNS Geplaatst door Web-Oke Support aan 19 januari 2010 14:22 Hoe werkt het SPF record in de DNS nu precies.Meestal wordt email voor uw domein maar door slechts 1 of enkele servers verstuurd. Met een SPF record kun je beschrijven vanaf welke servers email verstuurd wordt uit naam… Lees verder Hoe werkt het SPF record in de DNS

Gepubliceerd op
Gecategoriseerd als DNS Records

How to duplicate reservations from one Windows server to another?

Simple version   Load-balancing your DHCP has been well documented, but the matter of synchronizing your IP reservations has always the fly in the ointment. But no more. To export DHCP reservations, from the source server: netsh dhcp server [ip address] scope [scope address] dump>reserv.txt Open up ‘reserv.txt’ in a text editor, do a Find->Replace… Lees verder How to duplicate reservations from one Windows server to another?

Creating a Default User Profile under OSX 10.X

The system has some presets which are stored in /System/Library/User Template. Inside this folder you will find subfolders such as English.lproj, French.lproj etc. The idea is to create a user as you want it to be and replace the corresponding template with this user’s home folder contents. If the system language you use is English,… Lees verder Creating a Default User Profile under OSX 10.X

Setting the location of the spool folder on a Windows Server

Setting the location of the spool folder By default the spool folder is located at systemroot\System32\Spool\Printers. However, this drive also holds the Windows system files. Because these files are frequently accessed by the operating system, performance of both Windows and the printing functions might be slowed. If your print server serves only one or two… Lees verder Setting the location of the spool folder on a Windows Server

Recovering A Corrupt LDAP Database On OS X Server

Recovering A Corrupt LDAP Database On OS X Server A couple of times recently I have been asked to recover Open Directory running on Mac OS X Server. Each time the server was an Open Directory Master and its LDAP database had become corrupted, causing authentication issues for their clients and services. No replicas or… Lees verder Recovering A Corrupt LDAP Database On OS X Server