tag:blogger.com,1999:blog-115118652024-03-12T20:09:22.729-07:00Mark's BlogUnknownnoreply@blogger.comBlogger129125tag:blogger.com,1999:blog-11511865.post-73613413550360663912013-10-31T10:30:00.000-07:002013-10-31T10:30:14.615-07:00Scheduled 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.
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-11511865.post-66822619663483177162013-08-20T06:45:00.002-07:002013-08-20T06:45:53.551-07:00Great LDIF Examples
I was having a hard time finding the syntax to delete an object - found it on this page
<a href="http://www.centos.org/docs/5/html/CDS/ag/8.0/Creating_Directory_Entries-LDIF_Update_Statements.html">http://www.centos.org/docs/5/html/CDS/ag/8.0/Creating_Directory_Entries-LDIF_Update_Statements.html</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-11511865.post-64282280971299697382013-02-14T11:43:00.000-08:002013-02-14T11:43:01.055-08:00Convert String to Date Time
Here is the method I used to convert text to timestamps:
<pre style="font-family:arial;font-size:12px;border:1px dashed #CCCCCC;width:99%;height:auto;overflow:auto;background:#f0f0f0;;background-image:URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif);padding:0px;color:#000000;text-align:left;line-height:20px;"><code style="color:#000000;word-wrap:normal;"> $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
</code></pre>
http://codeformatter.blogspot.com/Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-11511865.post-33953851294534996222013-01-29T08:42:00.001-08:002013-01-31T12:01:56.066-08:00Ex-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
<a href="http://exchangeserverpro.com/deleted-delegates-still-receive-meeting-invites-for-other-mailbox-users">http://exchangeserverpro.com/deleted-delegates-still-receive-meeting-invites-for-other-mailbox-users</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-11511865.post-60169486656057884232013-01-17T07:26:00.001-08:002013-01-17T07:26:37.408-08:00Powershell 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
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-11511865.post-21993259762398744742013-01-16T12:40:00.002-08:002013-01-16T12:40:46.072-08:00Exchange 2010 One liner to add additional email address
Set-Mailbox user -EmailAddresses (((Get-Mailbox user).EmailAddresses)+="smtp:secondary@domain.com")
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-11511865.post-74875235673276765972013-01-09T11:32:00.002-08:002013-01-09T11:32:50.116-08:00Exchange 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
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-11511865.post-41145345188158786362012-05-10T08:24:00.004-07:002012-05-10T08:24:43.540-07:00Exchange 2010 updating the offline address bookI have sat waiting for address book update in the past hare are the notes -
It is important to get the update address book to the CAS servers before expecting to see changes in Outlook.
1.
'\Default Offline Address List' | update-offlineAddressBook
Open Exchange Management Console,
expand Organization Configuration,
select the Offline Address Book Tab,
Select the Default Offline Address Book , right click select update.
2.
run the following to have the CAS servers pull the update from the mailbox server
Update-FileDistributionService -Identity SERVERNAME -Type OAB
the CAS servers store this in
C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\OAB.
3. In Outlook 2010 go to Send and Receive and download the Address List.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-11511865.post-49641876664269124172012-05-10T08:24:00.002-07:002012-05-10T08:24:24.336-07:00Exchange 2010 - Change Out Of Office for another userHere is the link to the MS Blog that details how to change the Out Of Office for another user.
Powershell of OWA.
http://blogs.technet.com/b/exchange/archive/2011/09/08/configure-automatic-replies-for-a-user-in-exchange-2010.aspxUnknownnoreply@blogger.com0tag:blogger.com,1999:blog-11511865.post-30068286292560107002012-05-10T08:24:00.001-07:002012-05-10T08:24:16.486-07:00Missing Out of Office menu on Blackberry 9650I was able to restore the option for a user by deleting the Desktop CMime and DesktopSync service books from the device.
Then clicking to resend the service books from the Blackberry Enterprise Console.
I had read some forums that said to upgrade the Blackberry, the specific Blackberry the user was having a problem with was running the latest software from Verizon which was 6.0.0.719 (Platform 4.4.0.560).Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-11511865.post-55627169251102227062012-05-10T08:24:00.000-07:002012-05-10T08:24:07.787-07:00Assigning a new policy to a BlackBerry UserThis applies to BlackBerry Enterprise Edition 5.0.3 MR6 .
Find the user,
Click Policies Tab,
Click Edit User,
Use the drop down to select the policy,
Click Save All.
On the Policies tab you will see "IT policy name" and "Resolved IT policy name"
Click back to the Manage User screen for the specific user.
Under Device Deployment, click Resend IT policy to a device
You should see near the top of the page "The IT policy has been queued to send to the device."
To get more information under "Device Management" click "View Tasks"
This should open a search page with the user name already filled in.
Click search and you should see the most recent tasks - mien had stated Task type "IT policy" with a task of "Installing", status "Successful".Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-11511865.post-88252540561290487102012-03-26T11:07:00.003-07:002012-03-26T11:17:23.934-07:00Blackberry Service BooksFound a good listing of Blackberry Service Books and what they are used for:<br />http://www.berryreview.com/2009/01/22/faq-explanation-of-each-blackberry-service-book-type/<br />I recently contacted RIM when I came across the following issue:<br />Use Auto Signature or Out Of Office reply options on the BlackBerry smartphone are missing or non-functional(http://www.blackberry.com/btsc/KB24327)<br /><br />There is incorrect data in the Desktop [CMIME] or Desktop [SYNC] service books.<br /><br />The downside there is they are able to tell me a way to find users with the problem before the user uses it. And according to the tech I spoke to no way to remove the service book remotely.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-11511865.post-9624506329244227342012-01-17T08:06:00.000-08:002012-01-17T08:09:05.060-08:00Powershell ScriptCopI am a fan of Perl Critic the perl tool which gies feedback on your Perl scripts to see if they follow standard conventions, when I read about ScriptCop for PowerShell I downloaded it and tested it out. Seems like a great start to have Perl Critic functions for PowerShell. <br /><br />Downloaded and copied the files here:<br /><br />C:\Users\FunkyUser\Documents\WindowsPowerShell\Modules\ScriptCop<br /><br />Folder Tree<br />C:\Users\FunkyUser\Documents\WindowsPowerShell\Modules>tree<br />Folder PATH listing<br />Volume serial number is 803E-1130<br />C:.<br />└───ScriptCop<br /> ├───en-us<br /> ├───Fixers<br /> ├───Patrols<br /> └───Rules<br /><br />I was then able to use Import-Module ScriptCop.<br />Finally I used Test-Command Scriptname.ps1 and got some feedback on my code.<br /><br />I was hoping that I would be able to run a fix and get the indenting corrected, however I didn’t find that function in the existing download.<br /><br />The Scripting Guy had wrote about ScriptCop, also to note I leared about ScriptCop while looking at Powershell notes on Stack OverFlow.<br /><a href="http://stackoverflow.com/">http://stackoverflow.com/</a><br /><br /><a href="http://blogs.technet.com/b/heyscriptingguy/archive/2011/07/30/use-scriptcop-to-help-write-better-powershell-scripts.aspx">http://blogs.technet.com/b/heyscriptingguy/archive/2011/07/30/use-scriptcop-to-help-write-better-powershell-scripts.aspx</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-11511865.post-3307567378588955022011-11-08T17:55:00.000-08:002011-11-08T18:05:25.413-08:00Experts Exchange v .10 is coming!!I have been an Expert at Experts-Exchange for years. I find answering questions helps me stay up to date. Also asking questions there can help my cut down on time needed to research issues. <br /><br /><a href="http://beta.experts-exchange.com" title="Check out the New Experts Exchange" style="border:0;display:block;width:200px;height:215px;padding:0;margin:0;"><br /><img src="http://c746246.r46.cf2.rackcdn.com/eebeta-badge-large.png" alt="Large Experts Exchange VIP Badge" style="border:0;" width="200" height="215" /><br /></a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-11511865.post-19654583902255856442011-10-26T09:41:00.000-07:002011-10-26T11:40:24.488-07:00Exchange 2010 - Mailbox Repair RequestGood link with details:<br /><a href="http://blogs.technet.com/b/nawar/archive/2010/08/19/exchange-2010-sp1-new-mailboxrepairrequest.aspx">http://blogs.technet.com/b/nawar/archive/2010/08/19/exchange-2010-sp1-new-mailboxrepairrequest.aspx</a><br /><br />No more ISINTEG. You can run this while online - that enough is reason to upgrade!<br /><br />Here is the syntax for the mailbox I ran a repair on today.<br />New-MailboxRepairRequest -mailbox UserName -CorruptionType ProvisionedFolder,SearchFolder,AggregateCounts,Folderview<br /><br />The link above gives the detailed event ID numbers to search for to see the results.<br />You need to check the server which has the mailbox database active to see the results, not the machine the cmdlet was run from.Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-11511865.post-17118147281572355842011-10-17T06:31:00.000-07:002011-10-17T06:33:11.500-07:00Windows Batch - Gett Variable with formatted DateHave just spent some time searching for a way to get my preferred date format into a file name. <br /><br />Year<br />Month<br />Date<br /><br /><a href="http://blog.g-ball.com/2010/08/26/year-month-day-date-batch-script/">http://blog.g-ball.com/2010/08/26/year-month-day-date-batch-script/</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-11511865.post-34460331190914008172011-09-28T09:18:00.000-07:002011-10-24T07:12:40.501-07:00Burn ISO files via command line !!My favorite cd burner application also support command line use. <br />This will help me with a script I am working on.<br /><br />CD Burner XP <br /><br />Example, takes folder and burns to iso file:<br />"C:\Program Files\CDBurnerXP\cdbxpcmd.exe" --burn-data -folder:e:\AVDefs\20111024 -iso:E:\AVDefISO20111024.iso<br /><br /><a href="http://cdburnerxp.se/help/Appendices/commandlinearguments">http://cdburnerxp.se/help/Appendices/commandlinearguments</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-11511865.post-48439650923965028852011-09-27T07:32:00.000-07:002011-09-27T07:34:55.397-07:00Testing TCP Ports with PowershellSend-MailMessage is a great addition with Powershell version 2.0, it greatly reduces the complexity of send a test SMTP message, including allowing attachments. <br /><br />Just found a good script to allow testing TCP ports.<br />http://www.leeholmes.com/blog/2009/10/28/scripting-network-tcp-connections-in-powershell/<br />Send-TcpRequest.ps1<br /><br />I was able ot use that script/ example along with <br />the notes on this page to test access to a proxy.<br />http://tuxbaby.blogspot.com/2009/04/testing-squid-proxy-via-telnet.htmlUnknownnoreply@blogger.com0tag:blogger.com,1999:blog-11511865.post-56853775536835473412011-09-27T04:53:00.001-07:002011-09-27T04:54:28.251-07:00Exchange 2010 SP1 - Help FileMicrosoft released Exchange 2010 Service Pack 1 Help File<br /><br /><br />Download Link:<br /><a href="http://www.microsoft.com/download/en/details.aspx?id=1573">http://www.microsoft.com/download/en/details.aspx?id=1573</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-11511865.post-26216073188757332612011-09-27T04:42:00.001-07:002011-09-27T04:43:23.696-07:00Exchange 2010 Visio StencilsHere is the download link for the Exchange 2010 Stencils<br /><a href="http://www.microsoft.com/download/en/confirmation.aspx?id=6977">http://www.microsoft.com/download/en/confirmation.aspx?id=6977</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-11511865.post-81183830057928761632010-12-22T20:33:00.000-08:002010-12-22T20:35:33.785-08:00Exchange 2010 and requirement to export csv multivalue propertiesEmailAddresses is a multivalue property.<br /><br /><br />I found the following page to be a great help in getting the fields I wanted exported to csv file.<br /><a href=" https://exchangeshare.wordpress.com/2008/12/10/powershell-export-multivalued-properties/"><br />https://exchangeshare.wordpress.com/2008/12/10/powershell-export-multivalued-properties/</a><br /><br /><br />powershellUnknownnoreply@blogger.com0tag:blogger.com,1999:blog-11511865.post-49892028165363487602010-11-17T17:42:00.000-08:002010-11-17T17:44:21.076-08:00Copyable Google Search Result URLsI had issues trying to copy urls from google search resutls....here is how I solved it.<br /><br />Greese Monkey<br />with<br />Google Search Remove Redirection<br />http://userscripts.org/scripts/show/57679<br /><br />Followed suggestions at - http://www.consumingexperience.com/2009/10/google-search-results-redirection.html<br /><br />I am using the HTTPS everywhere add-on for firefox, so I had to select to manage the script then in the gui I added https://encrypted.google.comUnknownnoreply@blogger.com0tag:blogger.com,1999:blog-11511865.post-25561950260956290002010-10-27T19:36:00.000-07:002010-10-27T19:38:57.960-07:00Windows Updates required by Microsoft Exchange 2010 Service Pack 1When I recently performed an install of Microsoft Exchange 2010 with Service Pack 1 and Exchange 2010 Service Pack 1 Rollup 1 in the upgrades folder...<br /><br />I found the following patches were required:<br />KB977020<br />KB979744<br />KB982867<br />KB983440Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-11511865.post-87064534439372661812010-10-27T18:18:00.000-07:002011-04-05T12:57:13.823-07:00Microsoft Exchange Build Number and Release DatesMicrosoft has an outdated technote listing the build numbers and release dates for MS Exchange. It is out of date as the Exchange 2010 Rollups and Service pack are not listed.<br /><br /><br /><br />How to view the build numbers:<br />With Exchange Management Shell : get-exchangeserver<br />With Exchange Management Console : Expand till you see servers, right click , properties.<br /><br />How to determine the version number, the build number, and the service pack level of Exchange Server<br />http://support.microsoft.com/kb/152439<br /><br />Build Numbers:<br />Exchange 2010 RTM 14.00.0639.21<br />Exchange 2010 Rollup 1 14.00.0682.1<br />Exchange 2010 Rollup 2 14.00.0689.0<br />Exchange 2010 Rollup 3 14.00.0694.0<br />Exchange 2010 Rollup 4 14.00.0702.1<br />Exchange 2010 SP 1 14.01.0218.15<br />Exchange 2010 SP 1 Rollup 1 14.01.0255.2<br /><br />!!Updated <br /><br /><br />Exchange 2010 SP 1 Rollup 2 14.1.270.1<br />Exchange 2010 SP 1 Rollup 3 - was released them pulled.<br /><br /><br /><a href="http://blogs.technet.com/b/exchange/archive/2010/03/08/3409469.aspx"></a><br /><br />!!Update<br />Please post if you see any information missing.<br /><br /><br />From newest to oldest.<br /><br />Description of Update Rollup 1 for Exchange Server 2010 Service Pack 1<br /><a href="http://support.microsoft.com/kb/2407028">http://support.microsoft.com/kb/2407028<br /></a>The following file is available for download from the Microsoft Download Center:<br />Download the Exchange2010-KB2407028-EN-x64 package now. (<a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=a371fa96-e85b-4a4f-8242-15d56595d0ec">http://www.microsoft.com/downloads/details.aspx?FamilyID=a371fa96-e85b-4a4f-8242-15d56595d0ec</a>)<br />Release Date: September 30, 2010<br /><br />Exchange 2010 Service Pack 1<br /><a href="https://www.microsoft.com/downloads/en/details.aspx?FamilyID=50b32685-4356-49cc-8b37-d9c9d4ea3f5b">https://www.microsoft.com/downloads/en/details.aspx?FamilyID=50b32685-4356-49cc-8b37-d9c9d4ea3f5b</a><br />Exchange2010-SP1-x64.exe<br />522.2MB<br />Download<br />Quick Details<br />Version:<br />14.01.0218.015<br />Date Published:<br />8/24/2010<br /><br />Description of Update Rollup 4 for Microsoft Exchange Server 2010 Release To Manufacturing<br /><a href="http://support.microsoft.com/kb/982639">http://support.microsoft.com/kb/982639<br /></a>Download the Exchange2010-KB982639-EN-x64 package now. (<a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=09b4973e-3a80-4fb9-9f60-5c6e2b7a2727&displaylang=en">http://www.microsoft.com/downloads/details.aspx?FamilyID=09b4973e-3a80-4fb9-9f60-5c6e2b7a2727&displaylang=en</a>)<br />Release Date: June 10, 2010<br /><br />Description of Update Rollup 3 for Microsoft Exchange Server 2010 Release to Manufacturing<br /><a href="http://support.microsoft.com/kb/981401">http://support.microsoft.com/kb/981401<br /></a>Download the Exchange2010-KB981401-EN package now. (<a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=7dcf2390-dff7-4e3a-acca-03f4d43fb79a">http://www.microsoft.com/downloads/details.aspx?FamilyID=7dcf2390-dff7-4e3a-acca-03f4d43fb79a</a>)<br />Release Date: April 13, 2010<br /><br /><br />Description of Update Rollup 2 for Exchange Server 2010: February 18, 2010<br /><a href="http://support.microsoft.com/kb/979611">http://support.microsoft.com/kb/979611</a><br />Download<br />Download the Exchange2010-KB979611-EN-x64 package now. (<a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=6d3ae3e0-3982-46d6-9e9c-7d7d63fae565&displaylang=en">http://www.microsoft.com/downloads/details.aspx?FamilyID=6d3ae3e0-3982-46d6-9e9c-7d7d63fae565&displaylang=en</a>) <br />February 18, 2010<br /><br />Description of Update Rollup 1 for Exchange Server 2010<br /><a href="http://support.microsoft.com/kb/976573">http://support.microsoft.com/kb/976573</a><br />Download the Exchange2010-KB976573-EN-x64 package now. (<a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=371add31-d7a0-4c8b-8325-a6fced2d05e6&displaylang=en">http://www.microsoft.com/downloads/details.aspx?FamilyID=371add31-d7a0-4c8b-8325-a6fced2d05e6&displaylang=en</a>)<br />Release Date: December 9, 2009<br /><br /><br /><br />Exchange 2010 hits RTM<br />Microsoft Exchange messaging server due for availability on Nov. 9 <br />Build numbers and release dates for Exchange Server<br /><a href="http://support.microsoft.com/kb/158530">http://support.microsoft.com/kb/158530</a><br /><br />other outdated listings ( as of 10/27/2010 ):<br /><a href="http://www.howexchangeworks.com/2010/05/exchange-server-and-update-rollups.html">http://www.howexchangeworks.com/2010/05/exchange-server-and-update-rollups.html</a><br /><a href="http://www.petri.co.il/exchange-server-build-numbers.htm">http://www.petri.co.il/exchange-server-build-numbers.htm</a><br /><br />And of course as I completed this I found a completed list:<br /><a href="http://social.technet.microsoft.com/wiki/contents/articles/exchange-server-and-update-rollups-builds-numbers.aspx">http://social.technet.microsoft.com/wiki/contents/articles/exchange-server-and-update-rollups-builds-numbers.aspx</a><br /><br />Also Blackberry maintains a list, along with some powershell commands to get build numbers from all of the Exchange servers on a network.<br /><br />How to check the version of a Microsoft Exchange Server<br /><a href="http://www.blackberry.com/btsc/search.do?cmd=displayKC&docType=kc&externalId=KB20412">http://www.blackberry.com/btsc/search.do?cmd=displayKC&docType=kc&externalId=KB20412</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-11511865.post-14618255351929247142010-09-09T18:27:00.001-07:002010-09-09T18:27:51.618-07:00Great Blog posting with information about Backup Exec 2010 R2http://blog.lewan.com/2010/08/09/release-backup-exec-2010-r2/Unknownnoreply@blogger.com0