Skip to content
This repository was archived by the owner on Mar 19, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions _shared/.build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,18 @@ $srcFolder = "$dirPath/src"
# so that not all dotnet things are seen by the env/shell


function Confirm-PSModule($name) {
function Confirm-PSModule($name, $version) {
$module = Get-InstalledModule $name -ErrorAction SilentlyContinue

if ($null -eq $module) {
Write-Build Green "installing module: $name"
Install-Module -Name $name -Force

Write-Build Green "installing module: $name, version: $version"

if([string]::IsNullOrEmpty($version) -eq $False) {
Install-Module -Name $name -Force -RequiredVersion $version
} else {
Module -Name $name -Force
}
}
else {
Write-Build Green "module installed: $name"
Expand All @@ -33,8 +39,8 @@ function Confirm-PSModule($name) {
Enter-Build {
Write-Build Green "Preparing env..."

Confirm-PSModule "PSScriptAnalyzer"
Confirm-PSModule "Pester"
Confirm-PSModule "PSScriptAnalyzer" "1.17.1"
Confirm-PSModule "Pester" "4.7.1"
}

# Synopsis: Cleans current build directories
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"resources": [
{
"id": "ms-exchange2013-update-2018.06.19-KB4099855-cu21",
"uri": "https://download.microsoft.com/download/9/4/1/94166586-5D17-414A-97DA-CCD069BC11A2/Exchange2013-x64-cu21.exe",

"checksum": "F7FBEFA1DA457C58B7F6615B057BB8587A80F4DAEE25004696E205C6A108276E",
"checksum_type": "sha256",
"metadata": {
"help_link": "https://www.microsoft.com/en-us/download/details.aspx?id=57069",
"versions_link": "https://docs.microsoft.com/en-us/exchange/new-features/build-numbers-and-release-dates?view=exchserver-2019"
}
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"resources": [
{
"id": "ms-exchange2013-update-2019.02.12-KB4345836-cu22",
"uri": "https://download.microsoft.com/download/7/9/8/7982ED00-C0F5-44BB-8B40-768951AE4CC7/Exchange2013-x64-cu22.exe",

"checksum": "A91D853A5A449391DD4436F09B5F1686FEBEC769279375F886CA252ADE75C872",
"checksum_type": "sha256",
"metadata": {
"help_link": "https://www.microsoft.com/en-us/download/details.aspx?id=57826",
"versions_link": "https://docs.microsoft.com/en-us/exchange/new-features/build-numbers-and-release-dates?view=exchserver-2019"
}
}
]
}
15 changes: 15 additions & 0 deletions invoke-uplift/src/resource-files/ms-exchange-2013.resource.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"resources": [
{
"id": "ms-exchange2013-rtm",
"uri": "http://download.microsoft.com/download/8/1/1/811B7C54-DA45-48AF-A912-0AA2B6FDA02C/Exchange-x64.exe",

"checksum": "C36BDFA38589B3FE6DF0EFDEAC589F9E0483C02C9B3AA60D67C8963F43D6D2E6",
"checksum_type": "sha256",
"metadata": {
"help_link": "https://www.microsoft.com/en-us/evalcenter/evaluate-exchange-server-2013",
"versions_link": "https://docs.microsoft.com/en-us/exchange/new-features/build-numbers-and-release-dates?view=exchserver-2019"
}
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"resources": [
{
"id": "ms-exchange2016-prerequisites-ucma4",
"uri": "https://download.microsoft.com/download/2/C/4/2C47A5C1-A1F3-4843-B9FE-84C0032C61EC/UcmaRuntimeSetup.exe",

"checksum": "0EFA33E079FFB62A8CFD76AC16C775FFAF9E1144BE6B675745B6A77CFFCBB63A",
"checksum_type": "sha256",
"metadata": {
"help_link": "https://www.microsoft.com/en-us/download/details.aspx?id=34992"
}
},

{
"id": "ms-exchange2016-prerequisites-kb3206632",
"uri": "http://download.windowsupdate.com/d/msdownload/update/software/secu/2016/12/windows10.0-kb3206632-x64_b2e20b7e1aa65288007de21e88cd21c3ffb05110.msu",

"checksum": "7339A55CC57C2AE8F068D91BCC5F95685216B835DFE0571817B4819B240DB90A",
"checksum_type": "sha256",
"metadata": {
"help_link": "https://www.catalog.update.microsoft.com/Search.aspx?q=kb3206632"
}
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"resources": [
{
"id": "ms-exchange2016-update-2018.06.19-KB4099852-cu10",
"uri": "https://download.microsoft.com/download/B/C/9/BC9C77DA-97D9-43D8-A3F8-50D8AF89E3FA/ExchangeServer2016-x64-cu10.iso",

"checksum": "3AA97953200E54F5BA3513B5D5E43BA5E4B7138BCC29BFE7549E7A74563362E2",
"checksum_type": "sha256",
"metadata": {
"help_link": "https://www.microsoft.com/en-us/download/details.aspx?id=57068",
"versions_link": "https://docs.microsoft.com/en-us/exchange/new-features/build-numbers-and-release-dates?view=exchserver-2019"
}
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"resources": [
{
"id": "ms-exchange2016-update-2018.10.16-KB4134118-cu11",
"uri": "https://download.microsoft.com/download/6/6/F/66F70200-E2E8-4E73-88F9-A1F6E3E04650/ExchangeServer2016-x64-cu11.iso",

"checksum": "B7EE419A8B1DF3774C98843F7D15253AE4A5E4FEBF761093E306A8EFBA5C3CF8",
"checksum_type": "sha256",
"metadata": {
"help_link": "https://www.microsoft.com/en-us/download/details.aspx?id=57388",
"versions_link": "https://docs.microsoft.com/en-us/exchange/new-features/build-numbers-and-release-dates?view=exchserver-2019"
}
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"resources": [
{
"id": "ms-exchange2016-update-2019.02.12-KB4471392-cu12",
"uri": "https://download.microsoft.com/download/2/5/8/258D30CF-CA4C-433A-A618-FB7E6BCC4EEE/ExchangeServer2016-x64-cu12.iso",

"checksum": "9F295F77C4CDD738C0F8DE8CCBF2D32FE49CDA7502692C9B87F1609E19E41AD3",
"checksum_type": "sha256",
"metadata": {
"help_link": "https://www.microsoft.com/en-us/download/details.aspx?id=57827",
"versions_link": "https://docs.microsoft.com/en-us/exchange/new-features/build-numbers-and-release-dates?view=exchserver-2019"
}
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"resources": [
{
"id": "ms-exchange2016-rtm",
"uri": "https://download.microsoft.com/download/3/9/B/39B8DDA8-509C-4B9E-BCE9-4CD8CDC9A7DA/Exchange2016-x64.exe",

"checksum": "131520F0F703956643A1887B384F54D4D765BEB882F201C2905A5C7E20410DB5",
"checksum_type": "sha256",
"metadata": {
"help_link": "https://www.microsoft.com/en-us/download/details.aspx?id=49161",
"versions_link": "https://docs.microsoft.com/en-us/exchange/new-features/build-numbers-and-release-dates?view=exchserver-2019",
"comment": "Looks like this download not available anymore. Always - We're sorry, this download is no longer available."
}
}
]
}