Thursday, December 12, 2013

Powershell to insert at start of line and end of line

When I was creating the post Facebook Domain Name Sets for ISA I needed to insert data at the start and end of a line.  I used powershell to do this, and this is what I came up with:
Get-Content DNSList.txt | ForEach-Object {“%PREPEND%”+$_+”%APPEND%”}
where:
DNSList.txt contains a list of text;
%PREPEND% is the data to add at the start of the line;
%APPEND% is the data to add to the end of the line.
In the Facebook ISA example, the actual code was (one line):
Get-Content | list.txt | ForEach-Obect {“<fpc4:Str dt:dt=`”string`”>*.”+$_”</fpc4:Str> “}
Notice the backticks infront of the “string” component.  This is to escape the quote marks to allow them to be included.
The output can be pasted into the relevant XML file and imported into ISA.

Thursday, November 28, 2013

Facebook Domain Name Sets for ISA

Blocking / Allowing Facebook using Microsoft ISA can be difficult.  I have created a Domain Name Set for ISA that you can import.  They can be found:
ISA 2004 SP3:  here (zip file)
ISA 2006 SP1:  here (zip file)
Plain Text:  here (zip file)
It is very possible there are some non Facebook related websites in this list, so please verify these are suitable for use in your environment.  These domains can change over time, so if you find any that aren’t in the list, please let me know.

Thursday, November 14, 2013

Group Policy Preferences Drive Mapping error 0x80070035 or 0x80070043

Using group policy preferences to map network fails on workstations with error:
The user ‘%DRIVE_LETTER%’ preference item in the ‘%GROUP_POLICY_NAME% %GUID%’ Group Policy object did not apply because it failed with error code ‘0x80070035 The network path was not found.’ This error was suppressed.



or

The user ‘%DRIVE_LETTER%’ preference item in the ‘%GROUP_POLICY_NAME% %GUID%’ Group Policy object did not apply because it failed with error code ‘0x80070043 The network name cannot be found.’ This error was suppressed.



After double checking the path in the group policy in question, it turns out that the group policy preferences drive mapping doesn’t work if you put a trailing slash on the end of the path.  EG:
\\dc2010\qldfinance\ doesn’t work



however

\\dc2010\qldfinance does.

Thursday, November 7, 2013

Add Internal Links Within Blogger Posts

In the post for Exchange Version numbers, I wanted to link to a point in the same post.  I found the instructions at http://blogknowhow.blogspot.com.au/2010/11/add-internal-links-within-blogger-posts.html very simple to follow.

One downside to this is if you create the links, using HTML mode in blogger, switching back to Compose mode will break your links.

Thursday, October 24, 2013

Exchange Version Numbers

Edit 26-11-13: Added 2010 SP3 UR3 and 2013 CU3
Edit 28-02-14: Added 2010 SP3 UR4, 5, 2007 SP3 UR10, 11, 12, 13 and 2013 UR3 and SP1

I often have trouble trying to determine which updates have been applied to an Exchange server.  There are a number of different methods for each server, and there are a number of different resources to find this information.  I have aggregated these into this post.

Exchange 5.5 – Exchange Administrator Method
Exchange 5.5 - File Version Method
Exchange 2000 - System Manager Method
Exchange 2000 - File Version Method
Exchange 2003 - System Manager Method
Exchange 2003 - File Version Method
Exchange 2007 – Exchange Management Console Method
Exchange 2007 – Exchange Management Shell Method
Exchange 2007 - File Version Method
Exchange 2010 – Outlook Web App Method
Exchange 2010 – Exchange Management Console Method
Exchange 2010 – Exchange Management Shell Method
Exchange 2010 - File Version Method
Exchange 2013 – Exchange Control Panel Method
Exchange 2013 – Exchange Management Shell Method
Exchange 2013 – File Version Method








Exchange 5.5
RTM 5.5.1460
Exchange 5.5 SP1 5.5.1960
Exchange 5.5 SP2 5.5.2448
Exchange 5.5 SP3 5.5.2650
Exchange 5.5 SP4 5.5.2653





Exchange 2000
RTM 6.0.4417
Exchange 2000 SP1 6.0.4712
Exchange 2000 SP2 6.0.5762
Exchange 2000 SP3 6.0.6249
Exchange 2000 Post-SP3 August 2008 6.0.6620.9





Exchange 2003
RTM 6.5.6944
Exchange 2003 SP1 6.5.7226
Exchange 2003 SP2 6.5.7638





Exchange 2007
SP3 Update Rollup 13 08.03.0348.2


Exchange 2007
SP3 Update Rollup 12 08.03.0342.004


Exchange 2007
SP3 Update Rollup 11 08.03.0327.001


Exchange 2007
SP3 Update Rollup 10 08.03.0298.001


Exchange 2007
SP3 Update Rollup 9 08.03.0297.002
Exchange 2007 SP3 Update Rollup 8-v3 08.03.0279.006
Exchange 2007 SP3 Update Rollup 8-v2 08.03.0279.005
Exchange 2007 SP3 Update Rollup 8 08.03.0279.003
Exchange 2007 SP3 Update Rollup 7 08.03.0264.000
Exchange 2007 SP3 Update Rollup 6 8.03.0245.002
Exchange 2007 SP3 Update Rollup 5 8.03.0213.001
Exchange 2007 SP3 Update Rollup 4 8.03.0192.001
Exchange 2007 SP3 Update Rollup 3-v2 8.03.0159.002
Exchange 2007 SP3 Update Rollup 2 8.03.0137.003
Exchange 2007 SP3 Update Rollup 1 8.03.0106.002
Exchange 2007 SP3 8.03.0083.006
Exchange 2007 SP2 Update Rollup 5 8.2.305.3
Exchange 2007 SP2 Update Rollup 4 8.2.254.0
Exchange 2007 SP2 Update Rollup 3 8.2.247.2
Exchange 2007 SP2 Update Rollup 2 8.2.234.1
Exchange 2007 SP2 Update Rollup 1 8.2.217.3
Exchange 2007 SP2 8.02.0176.002
Exchange 2007 SP1 Update Rollup 10 8.1.436.0
Exchange 2007 SP1 Update Rollup 9 8.1.393.1
Exchange 2007 SP1 Update Rollup 8 8.1.375.2
Exchange 2007 SP1 Update Rollup 7 8.1.359.2
Exchange 2007 SP1 Update Rollup 6 8.1.340.1
Exchange 2007 SP1 Update Rollup 5 8.1.336.1
Exchange 2007 SP1 Update Rollup 4 8.1.311.3
Exchange 2007 SP1 Update Rollup 3 8.1.291.2
Exchange 2007 SP1 Update Rollup 2 8.1.278.2
Exchange 2007 SP1 Update Rollup 1 8.1.263.1
Exchange 2007 SP1 8.01.0240.006
Exchange 2007 RTM Update Rollup 7 8.0.813.0
Exchange 2007 RTM Update Rollup 6 8.0.783.2
Exchange 2007 RTM Update Rollup 5 8.0.754.0
Exchange 2007 RTM Update Rollup 4 8.0.744.0
Exchange 2007 RTM Update Rollup 3 8.0.730.1
Exchange 2007 RTM Update Rollup 2 8.0.711.2
Exchange 2007 RTM Update Rollup 1 8.0.708.3
Exchange 2007 RTM 8.0.685.25





Exchange 2010
RTM 14.0.639.21
Exchange 2010 RTM Update Rollup 1 14.0.682.1
Exchange 2010 RTM Update Rollup 2 14.0.689.0
Exchange 2010 RTM Update Rollup 3 14.0.694.0
Exchange 2010 RTM Update Rollup 4 14.0.702.1
Exchange 2010 RTM Update Rollup 5 14.0.726.0
Exchange 2010 SP1 Update Rollup 14.1.218.15
Exchange 2010 SP1 Update Rollup 1 14.1.255.2
Exchange 2010 SP1 Update Rollup 2 14.1.270.1
Exchange 2010 SP1 Update Rollup 3 14.1.289.3
Exchange 2010 SP1 Update Rollup 3-v3 14.1.289.7
Exchange 2010 SP1 Update Rollup 4 14.1.323.1
Exchange 2010 SP1 Update Rollup 4-v2 14.1.323.6
Exchange 2010 SP1 Update Rollup 5 14.1.339.1
Exchange 2010 SP1 Update Rollup 6 14.1.355.2
Exchange 2010 SP1 Update Rollup 7 14.1.421.0
Exchange 2010 SP1 Update Rollup 7-v2 14.1.421.2
Exchange 2010 SP1 Update Rollup 7-v3 14.1.421.3
Exchange 2010 SP1 Update Rollup 8 14.1.438.0
Exchange 2010 SP2 14.2.247.5
Exchange 2010 SP2 Update Rollup 1 14.2.283.3
Exchange 2010 SP2 Update Rollup 2 14.2.298.4
Exchange 2010 SP2 Update Rollup 3 14.2.309.2
Exchange 2010 SP2 Update Rollup 4 14.2.318.2
Exchange 2010 SP2 Update Rollup 4-v2 14.2.318.4
Exchange 2010 SP2 Update Rollup 5 14.2.328.5
Exchange 2010 SP2 Update Rollup 5-v2 14.2.328.10
Exchange 2010 SP2 Update Rollup 6 14.2.342.3
Exchange 2010 SP2 Update Rollup 7 14.2.375.0
Exchange 2010 SP3 14.3.123.4
Exchange 2010 SP3 Update Rollup 1 14.3.146.0
Exchange 2010 SP3 Update Rollup 2 14.3.158.1
Exchange 2010 SP3 Update Rollup 3 14.3.169.1
Exchange 2010 SP3 Update Rollup 4 14.03.174.001
Exchange 2010 SP3 Update Rollup 5 14.03.0181.006





Exchange 2013
Preview 15.0.466.13
Exchange 2013 RTM 15.0.516.32
Exchange 2013 CU1 15.0.620.29
Exchange 2013 CU2 15.0.712.22
Exchange 2013 CU2-V2 15.0.712.24
Exchange 2013 CU3 15.0.775.38
Exchange 2013 SP1 15.0.0847.032









EXCHANGE 5.5









Exchange 5.5 - Exchange Administrator Method

Open Microsoft Exchange Administrator

Expand the Domain, and select Servers
The version number is listed for each server.











Exchange 5.5 - File Version Method

Navigate to the exchsrvr\bin directory. Right click store.exe and select Properties

Select the Version tab










EXCHANGE 2000









Exchange 2000 - System Manager Method

Open Microsoft Exchange –> System Manager

Expand the Organization group, and select Servers
The version number is listed for each server.

This method will only show upto SP3.  Use the File Version method to verify later updates









Exchange 2000 - File Version Method

Navigate to the exchsrvr\bin directory.  Right click store.exe and select Properties

Select the Version tab

Update ‘Post-SP3 August 2008’ will show 6.0.6620.9 in the version section, however in the comments it displays ‘Service Pack 4’










EXCHANGE 2003









Exchange 2003 - System Manager Method

Open Microsoft Exchange –> System Manager

Expand the Organization group, and select Servers
The version number is listed for each server.










Exchange 2003 - File Version Method

Navigate to the program files\exchsrvr\bin directory. Right click store.exe and select Properties

Select the Version tab










EXCHANGE 2007









Exchange 2007 – Exchange Management Console Method

Open Microsoft Exchange Server 2007 –> Exchange Management Console

Select Help –> About Exchange Server 2007



You can also check the server version listed for each role by expanding the roles under Server Configuration.









Exchange 2007 – Exchange Management Shell Method

Open Microsoft Exchange Server 2007 –> Exchange Management Shell

Type the command:
Get- ExchangeServer | fl name,edition,admindisplayversion










Exchange 2007 - File Version Method

Navigate to the program files\microsoft\exchange\bin directory. Right click store.exe and select Properties

Select the Details tab.










EXCHANGE 2010









Exchange 2010 – Outlook Web App Method

Open Outlook Web App

Click the dropdown arrow next the question mark, and select about.

The version number is listed









 
Open Microsoft Exchange Server 2010 –> Exchange Management Console
Select Help –> About Exchange Server 2010
 You can also check the server version listed for each role by expanding the roles under Server Configuration.








 
Open Microsoft Exchange Server 2010 –> Exchange Management Shell
Type the command:
Get-ExchangeServer | fl name,edition,admindisplayversion







Navigate to the program files\microsoft\exchange server\v14\bin directory. Right click store.exe and select Properties
 
Select the Details tab.
 
 
 







Exchange 2013









Exchange 2013 – Exchange Control Panel Method

Open the Exchange Control Panel

Select Servers










Exchange 2013 – Exchange Management Shell Method

Open Exchange Management Shell
 
Type the command:
Get-ExchangeServer | fl name,edition,admindisplayversion









Exchange 2013 – File Version Method

Navigate to program files\microsoft\exchange server\v15\bin folder.  Right click ExSetup.exe and select Properties
Select the Details tab









Reference: http://support.microsoft.com/kb/158530
http://technet.microsoft.com/en-us/library/hh135098(v=exchg.141).aspx
http://social.technet.microsoft.com/wiki/contents/articles/240.exchange-server-and-update- rollups-build-numbers.aspx
http://social.technet.microsoft.com/wiki/contents/articles/15776.exchange-server-2013-and- cumulative-updates-cus-build-numbers.aspx
http://technet.microsoft.com/library/hh135098.aspx