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
Thursday, May 10, 2012
Exchange 2010 updating the offline address book
I 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.
Exchange 2010 - Change Out Of Office for another user
Here 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.aspx
Missing Out of Office menu on Blackberry 9650
I 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).
Assigning a new policy to a BlackBerry User
This 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".
Monday, March 26, 2012
Blackberry Service Books
Found a good listing of Blackberry Service Books and what they are used for:
http://www.berryreview.com/2009/01/22/faq-explanation-of-each-blackberry-service-book-type/
I recently contacted RIM when I came across the following issue:
Use Auto Signature or Out Of Office reply options on the BlackBerry smartphone are missing or non-functional(http://www.blackberry.com/btsc/KB24327)
There is incorrect data in the Desktop [CMIME] or Desktop [SYNC] service books.
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.
http://www.berryreview.com/2009/01/22/faq-explanation-of-each-blackberry-service-book-type/
I recently contacted RIM when I came across the following issue:
Use Auto Signature or Out Of Office reply options on the BlackBerry smartphone are missing or non-functional(http://www.blackberry.com/btsc/KB24327)
There is incorrect data in the Desktop [CMIME] or Desktop [SYNC] service books.
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.
Tuesday, January 17, 2012
Powershell ScriptCop
I 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.
Downloaded and copied the files here:
C:\Users\FunkyUser\Documents\WindowsPowerShell\Modules\ScriptCop
Folder Tree
C:\Users\FunkyUser\Documents\WindowsPowerShell\Modules>tree
Folder PATH listing
Volume serial number is 803E-1130
C:.
└───ScriptCop
├───en-us
├───Fixers
├───Patrols
└───Rules
I was then able to use Import-Module ScriptCop.
Finally I used Test-Command Scriptname.ps1 and got some feedback on my code.
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.
The Scripting Guy had wrote about ScriptCop, also to note I leared about ScriptCop while looking at Powershell notes on Stack OverFlow.
http://stackoverflow.com/
http://blogs.technet.com/b/heyscriptingguy/archive/2011/07/30/use-scriptcop-to-help-write-better-powershell-scripts.aspx
Downloaded and copied the files here:
C:\Users\FunkyUser\Documents\WindowsPowerShell\Modules\ScriptCop
Folder Tree
C:\Users\FunkyUser\Documents\WindowsPowerShell\Modules>tree
Folder PATH listing
Volume serial number is 803E-1130
C:.
└───ScriptCop
├───en-us
├───Fixers
├───Patrols
└───Rules
I was then able to use Import-Module ScriptCop.
Finally I used Test-Command Scriptname.ps1 and got some feedback on my code.
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.
The Scripting Guy had wrote about ScriptCop, also to note I leared about ScriptCop while looking at Powershell notes on Stack OverFlow.
http://stackoverflow.com/
http://blogs.technet.com/b/heyscriptingguy/archive/2011/07/30/use-scriptcop-to-help-write-better-powershell-scripts.aspx
Tuesday, November 08, 2011
Experts Exchange v .10 is coming!!
Wednesday, October 26, 2011
Exchange 2010 - Mailbox Repair Request
Good link with details:
http://blogs.technet.com/b/nawar/archive/2010/08/19/exchange-2010-sp1-new-mailboxrepairrequest.aspx
No more ISINTEG. You can run this while online - that enough is reason to upgrade!
Here is the syntax for the mailbox I ran a repair on today.
New-MailboxRepairRequest -mailbox UserName -CorruptionType ProvisionedFolder,SearchFolder,AggregateCounts,Folderview
The link above gives the detailed event ID numbers to search for to see the results.
You need to check the server which has the mailbox database active to see the results, not the machine the cmdlet was run from.
http://blogs.technet.com/b/nawar/archive/2010/08/19/exchange-2010-sp1-new-mailboxrepairrequest.aspx
No more ISINTEG. You can run this while online - that enough is reason to upgrade!
Here is the syntax for the mailbox I ran a repair on today.
New-MailboxRepairRequest -mailbox UserName -CorruptionType ProvisionedFolder,SearchFolder,AggregateCounts,Folderview
The link above gives the detailed event ID numbers to search for to see the results.
You need to check the server which has the mailbox database active to see the results, not the machine the cmdlet was run from.
Monday, October 17, 2011
Windows Batch - Gett Variable with formatted Date
Have just spent some time searching for a way to get my preferred date format into a file name.
Year
Month
Date
http://blog.g-ball.com/2010/08/26/year-month-day-date-batch-script/
Year
Month
Date
http://blog.g-ball.com/2010/08/26/year-month-day-date-batch-script/
Wednesday, September 28, 2011
Burn ISO files via command line !!
My favorite cd burner application also support command line use.
This will help me with a script I am working on.
CD Burner XP
Example, takes folder and burns to iso file:
"C:\Program Files\CDBurnerXP\cdbxpcmd.exe" --burn-data -folder:e:\AVDefs\20111024 -iso:E:\AVDefISO20111024.iso
http://cdburnerxp.se/help/Appendices/commandlinearguments
This will help me with a script I am working on.
CD Burner XP
Example, takes folder and burns to iso file:
"C:\Program Files\CDBurnerXP\cdbxpcmd.exe" --burn-data -folder:e:\AVDefs\20111024 -iso:E:\AVDefISO20111024.iso
http://cdburnerxp.se/help/Appendices/commandlinearguments
Tuesday, September 27, 2011
Testing TCP Ports with Powershell
Send-MailMessage is a great addition with Powershell version 2.0, it greatly reduces the complexity of send a test SMTP message, including allowing attachments.
Just found a good script to allow testing TCP ports.
http://www.leeholmes.com/blog/2009/10/28/scripting-network-tcp-connections-in-powershell/
Send-TcpRequest.ps1
I was able ot use that script/ example along with
the notes on this page to test access to a proxy.
http://tuxbaby.blogspot.com/2009/04/testing-squid-proxy-via-telnet.html
Just found a good script to allow testing TCP ports.
http://www.leeholmes.com/blog/2009/10/28/scripting-network-tcp-connections-in-powershell/
Send-TcpRequest.ps1
I was able ot use that script/ example along with
the notes on this page to test access to a proxy.
http://tuxbaby.blogspot.com/2009/04/testing-squid-proxy-via-telnet.html
Exchange 2010 SP1 - Help File
Microsoft released Exchange 2010 Service Pack 1 Help File
Download Link:
http://www.microsoft.com/download/en/details.aspx?id=1573
Download Link:
http://www.microsoft.com/download/en/details.aspx?id=1573
Exchange 2010 Visio Stencils
Here is the download link for the Exchange 2010 Stencils
http://www.microsoft.com/download/en/confirmation.aspx?id=6977
http://www.microsoft.com/download/en/confirmation.aspx?id=6977
Wednesday, December 22, 2010
Exchange 2010 and requirement to export csv multivalue properties
EmailAddresses is a multivalue property.
I found the following page to be a great help in getting the fields I wanted exported to csv file.
https://exchangeshare.wordpress.com/2008/12/10/powershell-export-multivalued-properties/
powershell
I found the following page to be a great help in getting the fields I wanted exported to csv file.
https://exchangeshare.wordpress.com/2008/12/10/powershell-export-multivalued-properties/
powershell
Wednesday, November 17, 2010
Copyable Google Search Result URLs
I had issues trying to copy urls from google search resutls....here is how I solved it.
Greese Monkey
with
Google Search Remove Redirection
http://userscripts.org/scripts/show/57679
Followed suggestions at - http://www.consumingexperience.com/2009/10/google-search-results-redirection.html
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.com
Greese Monkey
with
Google Search Remove Redirection
http://userscripts.org/scripts/show/57679
Followed suggestions at - http://www.consumingexperience.com/2009/10/google-search-results-redirection.html
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.com
Wednesday, October 27, 2010
Windows Updates required by Microsoft Exchange 2010 Service Pack 1
When 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...
I found the following patches were required:
KB977020
KB979744
KB982867
KB983440
I found the following patches were required:
KB977020
KB979744
KB982867
KB983440
Microsoft Exchange Build Number and Release Dates
Microsoft 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.
How to view the build numbers:
With Exchange Management Shell : get-exchangeserver
With Exchange Management Console : Expand till you see servers, right click , properties.
How to determine the version number, the build number, and the service pack level of Exchange Server
http://support.microsoft.com/kb/152439
Build Numbers:
Exchange 2010 RTM 14.00.0639.21
Exchange 2010 Rollup 1 14.00.0682.1
Exchange 2010 Rollup 2 14.00.0689.0
Exchange 2010 Rollup 3 14.00.0694.0
Exchange 2010 Rollup 4 14.00.0702.1
Exchange 2010 SP 1 14.01.0218.15
Exchange 2010 SP 1 Rollup 1 14.01.0255.2
!!Updated
Exchange 2010 SP 1 Rollup 2 14.1.270.1
Exchange 2010 SP 1 Rollup 3 - was released them pulled.
!!Update
Please post if you see any information missing.
From newest to oldest.
Description of Update Rollup 1 for Exchange Server 2010 Service Pack 1
http://support.microsoft.com/kb/2407028
The following file is available for download from the Microsoft Download Center:
Download the Exchange2010-KB2407028-EN-x64 package now. (http://www.microsoft.com/downloads/details.aspx?FamilyID=a371fa96-e85b-4a4f-8242-15d56595d0ec)
Release Date: September 30, 2010
Exchange 2010 Service Pack 1
https://www.microsoft.com/downloads/en/details.aspx?FamilyID=50b32685-4356-49cc-8b37-d9c9d4ea3f5b
Exchange2010-SP1-x64.exe
522.2MB
Download
Quick Details
Version:
14.01.0218.015
Date Published:
8/24/2010
Description of Update Rollup 4 for Microsoft Exchange Server 2010 Release To Manufacturing
http://support.microsoft.com/kb/982639
Download the Exchange2010-KB982639-EN-x64 package now. (http://www.microsoft.com/downloads/details.aspx?FamilyID=09b4973e-3a80-4fb9-9f60-5c6e2b7a2727&displaylang=en)
Release Date: June 10, 2010
Description of Update Rollup 3 for Microsoft Exchange Server 2010 Release to Manufacturing
http://support.microsoft.com/kb/981401
Download the Exchange2010-KB981401-EN package now. (http://www.microsoft.com/downloads/details.aspx?FamilyID=7dcf2390-dff7-4e3a-acca-03f4d43fb79a)
Release Date: April 13, 2010
Description of Update Rollup 2 for Exchange Server 2010: February 18, 2010
http://support.microsoft.com/kb/979611
Download
Download the Exchange2010-KB979611-EN-x64 package now. (http://www.microsoft.com/downloads/details.aspx?FamilyID=6d3ae3e0-3982-46d6-9e9c-7d7d63fae565&displaylang=en)
February 18, 2010
Description of Update Rollup 1 for Exchange Server 2010
http://support.microsoft.com/kb/976573
Download the Exchange2010-KB976573-EN-x64 package now. (http://www.microsoft.com/downloads/details.aspx?FamilyID=371add31-d7a0-4c8b-8325-a6fced2d05e6&displaylang=en)
Release Date: December 9, 2009
Exchange 2010 hits RTM
Microsoft Exchange messaging server due for availability on Nov. 9
Build numbers and release dates for Exchange Server
http://support.microsoft.com/kb/158530
other outdated listings ( as of 10/27/2010 ):
http://www.howexchangeworks.com/2010/05/exchange-server-and-update-rollups.html
http://www.petri.co.il/exchange-server-build-numbers.htm
And of course as I completed this I found a completed list:
http://social.technet.microsoft.com/wiki/contents/articles/exchange-server-and-update-rollups-builds-numbers.aspx
Also Blackberry maintains a list, along with some powershell commands to get build numbers from all of the Exchange servers on a network.
How to check the version of a Microsoft Exchange Server
http://www.blackberry.com/btsc/search.do?cmd=displayKC&docType=kc&externalId=KB20412
How to view the build numbers:
With Exchange Management Shell : get-exchangeserver
With Exchange Management Console : Expand till you see servers, right click , properties.
How to determine the version number, the build number, and the service pack level of Exchange Server
http://support.microsoft.com/kb/152439
Build Numbers:
Exchange 2010 RTM 14.00.0639.21
Exchange 2010 Rollup 1 14.00.0682.1
Exchange 2010 Rollup 2 14.00.0689.0
Exchange 2010 Rollup 3 14.00.0694.0
Exchange 2010 Rollup 4 14.00.0702.1
Exchange 2010 SP 1 14.01.0218.15
Exchange 2010 SP 1 Rollup 1 14.01.0255.2
!!Updated
Exchange 2010 SP 1 Rollup 2 14.1.270.1
Exchange 2010 SP 1 Rollup 3 - was released them pulled.
!!Update
Please post if you see any information missing.
From newest to oldest.
Description of Update Rollup 1 for Exchange Server 2010 Service Pack 1
http://support.microsoft.com/kb/2407028
The following file is available for download from the Microsoft Download Center:
Download the Exchange2010-KB2407028-EN-x64 package now. (http://www.microsoft.com/downloads/details.aspx?FamilyID=a371fa96-e85b-4a4f-8242-15d56595d0ec)
Release Date: September 30, 2010
Exchange 2010 Service Pack 1
https://www.microsoft.com/downloads/en/details.aspx?FamilyID=50b32685-4356-49cc-8b37-d9c9d4ea3f5b
Exchange2010-SP1-x64.exe
522.2MB
Download
Quick Details
Version:
14.01.0218.015
Date Published:
8/24/2010
Description of Update Rollup 4 for Microsoft Exchange Server 2010 Release To Manufacturing
http://support.microsoft.com/kb/982639
Download the Exchange2010-KB982639-EN-x64 package now. (http://www.microsoft.com/downloads/details.aspx?FamilyID=09b4973e-3a80-4fb9-9f60-5c6e2b7a2727&displaylang=en)
Release Date: June 10, 2010
Description of Update Rollup 3 for Microsoft Exchange Server 2010 Release to Manufacturing
http://support.microsoft.com/kb/981401
Download the Exchange2010-KB981401-EN package now. (http://www.microsoft.com/downloads/details.aspx?FamilyID=7dcf2390-dff7-4e3a-acca-03f4d43fb79a)
Release Date: April 13, 2010
Description of Update Rollup 2 for Exchange Server 2010: February 18, 2010
http://support.microsoft.com/kb/979611
Download
Download the Exchange2010-KB979611-EN-x64 package now. (http://www.microsoft.com/downloads/details.aspx?FamilyID=6d3ae3e0-3982-46d6-9e9c-7d7d63fae565&displaylang=en)
February 18, 2010
Description of Update Rollup 1 for Exchange Server 2010
http://support.microsoft.com/kb/976573
Download the Exchange2010-KB976573-EN-x64 package now. (http://www.microsoft.com/downloads/details.aspx?FamilyID=371add31-d7a0-4c8b-8325-a6fced2d05e6&displaylang=en)
Release Date: December 9, 2009
Exchange 2010 hits RTM
Microsoft Exchange messaging server due for availability on Nov. 9
Build numbers and release dates for Exchange Server
http://support.microsoft.com/kb/158530
other outdated listings ( as of 10/27/2010 ):
http://www.howexchangeworks.com/2010/05/exchange-server-and-update-rollups.html
http://www.petri.co.il/exchange-server-build-numbers.htm
And of course as I completed this I found a completed list:
http://social.technet.microsoft.com/wiki/contents/articles/exchange-server-and-update-rollups-builds-numbers.aspx
Also Blackberry maintains a list, along with some powershell commands to get build numbers from all of the Exchange servers on a network.
How to check the version of a Microsoft Exchange Server
http://www.blackberry.com/btsc/search.do?cmd=displayKC&docType=kc&externalId=KB20412
Thursday, September 09, 2010
Great Blog posting with information about Backup Exec 2010 R2
http://blog.lewan.com/2010/08/09/release-backup-exec-2010-r2/
Subscribe to:
Posts (Atom)