Prepare for SPC11 with SharePoint IW Demo

SharePoint

This is a cross-post from SharePointEduTech.

By now, many people have already blogged about the availability of the new SharePoint Information Worker (IW) Demo with Service Pack 1.

Here’s the link: http://www.microsoft.com/download/en/details.aspx?id=27417

There’s about 30 download buttons!! So for anyone that wants an easier way to download all of those links, here’s a PowerShell script that I used (below). It’ll use BITS to transfer the files to a folder you specify. That means, it’ll automatically queue and resume stopped/suspended downloads.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
#############################################
# Title: Download-IWDemoSP1.ps1		
# Author: Wahid Saleemi			
# Twitter: @wahidsaleemi		
# Reference: http://www.wahidsaleemi.com
#############################################
 
# Description: Retrieves the SharePoint Information Worker Demo SP1.
# Define our variables
 
Import-Module BitsTransfer
 
$urlList = @(
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10a.part01.exe", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10a.part02.rar", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10a.part03.rar", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10a.part04.rar", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10a.part05.rar", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10a.part06.rar", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10a.part07.rar", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10a.part08.rar", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10a.part09.rar", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10a.part10.rar", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10a.part11.rar", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10a.part12.rar", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10a.part13.rar", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10a.part14.rar", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10a.part15.rar", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10a.part16.rar", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10a.part17.rar", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10a.part18.rar", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10a.part19.rar", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10a.part20.rar", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10a.part21.rar", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10a.part22.rar", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10a.part23.rar", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10a.sfv", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10b.part01.exe", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10b.part02.rar", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10b.part03.rar", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10b.part04.rar", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10b.part05.rar", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10b.part06.rar", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10b.part07.rar", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10b.sfv", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10c.part01.exe", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10c.part02.rar", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10c.part03.rar", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10c.part04.rar", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10c.part05.rar", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10c.part06.rar", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10c.part07.rar", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10c.part08.rar", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10c.part09.rar", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10c.part10.rar", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10c.part11.rar", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/2010-10c.sfv", 
"http://download.microsoft.com/download/6/B/6/6B63BAC2-8CCF-4A45-9E4E-AA3BE0E735C7/Virtual%20Machine%20Setup%20Guide.docx"
)
 
 
# ====================================================================================
# Func: WriteLine
# Desc: Writes a nice line of dashes across the screen
# ====================================================================================
Function WriteLine
{
	Write-Host -ForegroundColor White "--------------------------------------------------------------"
}
# End Function
 
# ===================================================================================
# Func: Pause
# Desc: Wait for user to press a key - normally used after an error has occured
# ===================================================================================
Function Pause
{
	#From http://www.microsoft.com/technet/scriptcenter/resources/pstips/jan08/pstip0118.mspx
	Write-Host "Press any key to exit..."
	$null = $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown")
}
# End Function
 
# ===================================================================================
# Func: Start-Download
# Desc: Starts the download.
# ===================================================================================
Function Start-Download([array]$urlList)
{
	WriteLine
	foreach ($url in $urlList) {
	Write-Host "Starting Download of $url"
	$DestFileName = $Url.Split('/')[-1]
	Try
	{
	## Check if destination file already exists
	If (!(Test-Path "$DestFolder\$DestFileName"))
		{
			## Begin download
			Start-BitsTransfer -Source $Url -Destination $DestFolder\$DestFileName -DisplayName "Downloading `'$DestFileName`' to $DestFolder" -Priority High -Description "From $Url..." -ErrorVariable err
			If ($err) {Throw ""}
		}
	Else
		{
			Write-Host " - File $DestFileName already exists, skipping..."
		}
		}
	Catch
		{
			Write-Warning " - An error occurred downloading `'$DestFileName`'"
			break
		}
	}
}
# End Function
 
 
##### END Functions : Start actual script
 
## Prompt for the destination path
$DestPath = Read-Host -Prompt "- Enter the destination path for downloaded files"
## Check that the path entered is valid
If (Test-Path "$DestPath" -Verbose)
{
	## If destination path is valid, create folder if it doesn't already exist
	$DestFolder = "$DestPath\IWDemoSP1"
	New-Item -ItemType Directory $DestFolder -ErrorAction SilentlyContinue
}
Else
{
	Write-Warning " - Destination path appears to be invalid."
	## Pause
	Write-Host " - Please check the path, and try running the script again."
	Pause
	break
}
 
# Start Downloads
Start-Download $urlList
 
 
# View the downloaded files in Windows Explorer
Invoke-Item $DestFolder
Pause

Copy and paste this into a file with a .ps1 extension (I use Download-IWDemoSP1.ps1). Then, make sure the folder you’d like to download to exists. Finally, run your .ps1 file in a Windows PowerShell window like so:

.\\Download-IWDemoSP1.ps1

Alternatively (and perhaps faster), you can try grabbing the torrent over here:

http://extratorrent.com/torrent/2508339/

The torrent is a good way to grab a copy of a corrupt or missing file or if you just need a subset of what the IW Demo provides.

With SharePoint Conference 2011 coming up very soon, you’ll want your IW virtual machine installed and ready to go. In 2009, there were tons of hands on labs, tons of information, tips, tricks and more at the conference that everyone wanted to try out.

Even if you’re not going to the conference, you’ll want to prepare. You can be sure there will be tons of freely available information in press releases, blogs, twitter and other social networks. Watch for Microsoft partners and SharePoint vendors to ramp up webinars, events, and free training during and after the event.

email
0 comments… add one

Leave a Comment

%d bloggers like this: