Author Archives: Darren

logos

[gallery

Exchange Powershell Command to List All Emails Sent to a Domain During a Timeframe

the following command lists all emails to a domain from outside your organization during a given time fame. It then sorts into a columns and exports to a .txt or .csv. get-messagetrackinglog -server "mailserver" -Start "01/01/2012 09:00:00" -End "01/01/2013 17:00:00" -resultsize unlimited | where {$_.Recipients -like "*@domainname"} | Select timestamp,recipients,messagesubject,source >>c:\msg3.txt Replace mailserver with your exchange server's name. -server "mailserver" Change the timeframe -Start "01/01/2012 09:00:00" -End "01/01/2013 17:00:00" Change the domain name is it searching from where {$_.Recipients -like "*@domainname"} To search for emails sending from a particular domain change where {$_.Recipients -like "*@domainname"} to where {$_.Sender

VBS Script to Prompt Diskpart to Erase Partitions before SCCM 2012 Task Sequence runs

In the following example we will add a vbs script to Microsoft System Center Configuration Manager (SCCM) 2012 and 2007 that will prompt us to run diskpart to erase any partitions encrypted or not then run the proper task sequence.  Create the files below in bold and paste in the code immediately below it, diskpart.ini, diskpart.vbs, diskpart_script.vbs, TSconfig.ini diskpart.ini (sets options for diskpart format) select disk=0 clean create partition primary select partition=1 assign letter=C active select disk=1 clean delete partition override diskpart.vbs (prompts msg box to luanch or not launch diskpart Dim objShell Set objShell = Wscript.CreateObject("WScript.Shell") result = MsgBox ("Yes or No?", vbYesNo, "Wipe Partitions?") Select Case result Case vbYes MsgBox("You chose Yes") objShell.Run "diskpart_script.vbs" Case

Cisco DHCP options for PXE boot to SCCM

In this article we will be setting up DHCP options on a Cisco Router for booting PXE clients in a separate subnet than the Microsoft System Center Configuration Manager (SCCM) Server. To do this we need to setup a DHCP pool with options 66 and 67 to point to the boot files and SCCM server.  Once your Windows Deployment and PXE services are setup and functioning on the SCCM server you

DRN WE R

drnwer
DRNWER.com is a web based magazine dedicated to men's interests. DRNWER.com provides you with the best news, reviews, stats and products from around the country. If you like Racing, Grillin, Drinking and Entertainment then this is the place for you! This site is a custom theme