Thursday, October 31, 2013
Scheduled Task Windows 2008 R2 Interact with Desktop
Spent some time looking for this , as the wording has changed since the last time I used it.
Look at the properties of the scheuled tasks, Security Options:
"Run only when user is logged on" - interactive.
"Run wheather user is logged on or not" - non-interactive, window will not display on the screen of the same user if logged on.
Tuesday, August 20, 2013
Great LDIF Examples
I was having a hard time finding the syntax to delete an object - found it on this page
http://www.centos.org/docs/5/html/CDS/ag/8.0/Creating_Directory_Entries-LDIF_Update_Statements.html
Thursday, February 14, 2013
Convert String to Date Time
Here is the method I used to convert text to timestamps:
$strtimeManual = "2013-02-14-0200"
$strtimeManual = [datetime]::ParseExact($strtimeManual ,"yyyy-MM-dd-HHmm",$null)
$endtimeManual = "2013-02-14-0400"
$endtimeManual = [datetime]::ParseExact($endtimeManual ,"yyyy-MM-dd-HHmm",$null)
$MyStartDate = $strtimeManual
$MyEndDate = $endtimeManual
http://codeformatter.blogspot.com/
Tuesday, January 29, 2013
Ex-Room delegates still receiving invites
I found old room delegates were still receiving meeting invites.. .
Cam across this article which details how to use the MFCMAPI tool to remove the hidden mailbox rule.
Deleted Delegates Still Receive Meeting Invites for Other Mailbox Users
http://exchangeserverpro.com/deleted-delegates-still-receive-meeting-invites-for-other-mailbox-users
Thursday, January 17, 2013
Powershell TimeStamp
I like to have a timestamp when running reports, here is a nice quick one.
$MyDate = get-date -Format "yyyy-MM-dd-HHmm"
Reference:
http://technet.microsoft.com/en-us/library/ee692801.aspx
Wednesday, January 16, 2013
Exchange 2010 One liner to add additional email address
Set-Mailbox user -EmailAddresses (((Get-Mailbox user).EmailAddresses)+="smtp:secondary@domain.com")
Wednesday, January 09, 2013
Exchange 2010 Database Size Report one liner
Here is a one liner for reporting the MS Exchange Database sizes, sorted by GB.
Get-MailboxDatabase -Status | select name,@{Expression={$_.DatabaseSize.ToGB()};Label="DatabaseSizeInGB"} | sort DatabaseSizeInGB -Descending
Subscribe to:
Posts (Atom)