Skip to content

Commit 3a4a2ed

Browse files
committed
Updated module manifests
1 parent 0954531 commit 3a4a2ed

File tree

14 files changed

+94
-88
lines changed

14 files changed

+94
-88
lines changed
76 Bytes
Binary file not shown.

AutomatedLab.Ships/AutomatedLab.Ships.psd1

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
@{
22
RootModule = 'AutomatedLab.Ships.psm1'
3-
CompatiblePSEditions = 'Core', 'Desktop'
3+
CompatiblePSEditions = 'Core', 'Desktop'
44
ModuleVersion = '1.0.0'
55
GUID = 'fc08e0e1-d274-41a3-afdd-09247e497c08'
66
Author = 'Raimund Andree, Per Pedersen, Jan-Hendrik Peters'
77
CompanyName = 'AutomatedLab Team'
88
Description = 'The SHiPS module to mount a lab drive containing all lab data'
9-
PowerShellVersion = '5.0'
9+
PowerShellVersion = '5.1'
1010
DotNetFrameworkVersion = '4.0'
1111
CLRVersion = '4.0'
1212
RequiredModules = @('SHiPS')

AutomatedLab/AutomatedLab.psd1

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@
33

44
ModuleVersion = '1.0.0'
55

6-
CompatiblePSEditions = 'Core', 'Desktop'
6+
CompatiblePSEditions = 'Core', 'Desktop'
77

88
GUID = '6ee6d36f-7914-4bf6-9e3b-c0131669e808'
99

1010
Author = 'Raimund Andree, Per Pedersen, Jan-Hendrik Peters'
1111

1212
CompanyName = 'AutomatedLab Team'
1313

14-
Copyright = '2018'
14+
Copyright = '2019'
1515

1616
Description = 'The module creates a Hyper-V visual lab automatically as defined in the XML files.'
1717

18-
PowerShellVersion = '5.0'
18+
PowerShellVersion = '5.1'
1919

2020
DotNetFrameworkVersion = '4.0'
2121

AutomatedLab/AutomatedLabInternals.psm1

+1-1
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ function Get-LabInternetFile
475475
}
476476
else
477477
{
478-
if (-not (Get-NetConnectionProfile | Where-Object { $_.IPv4Connectivity -eq 'Internet' -or $_.IPv6Connectivity -eq 'Internet' }))
478+
if (-not (Get-NetConnectionProfile -ErrorAction SilentlyContinue | Where-Object { $_.IPv4Connectivity -eq 'Internet' -or $_.IPv6Connectivity -eq 'Internet' }))
479479
{
480480
#machine does not have internet connectivity
481481
if (-not $offlineNode)

AutomatedLabDefinition/AutomatedLabDefinition.psd1

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
@{
22
RootModule = 'AutomatedLabDefinition.psm1'
33

4-
ModuleVersion = '1.0.0'
4+
ModuleVersion = '1.0.0'
55

6-
CompatiblePSEditions = 'Core', 'Desktop'
6+
CompatiblePSEditions = 'Core', 'Desktop'
77

88
GUID = 'e85df8ec-4ce6-4ecc-9720-1d08e14f27ad'
99

1010
Author = 'Raimund Andree, Per Pedersen, Jan-Hendrik Peters'
1111

1212
CompanyName = 'AutomatedLab Team'
1313

14-
Copyright = '2018'
14+
Copyright = '2019'
1515

1616
Description = 'The module creates the lab and machine definition for the AutomatedLab module saved in XML'
1717

18-
PowerShellVersion = '4.0'
18+
PowerShellVersion = '5.1'
1919

2020
DotNetFrameworkVersion = '4.0'
2121

AutomatedLabNotifications/AutomatedLabNotifications.psd1

+7-7
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55

66
CompanyName = 'AutomatedLab Team'
77

8-
CompatiblePSEditions = 'Core', 'Desktop'
8+
CompatiblePSEditions = 'Core', 'Desktop'
99

10-
Copyright = '2018'
10+
Copyright = '2019'
1111

1212
Description = 'The module creates a Hyper-V visual lab automatically as defined in the XML files.'
1313

14-
PowerShellVersion = '5.0'
14+
PowerShellVersion = '5.1'
1515

1616
DotNetFrameworkVersion = '4.0'
1717

@@ -21,19 +21,19 @@
2121

2222
GUID = '35afbbac-f3d2-49a1-ad6e-abb89aac4349'
2323

24-
FunctionsToExport = '*'
24+
FunctionsToExport = 'Send-ALNotification'
2525

26-
CmdletsToExport = 'Send-ALNotification'
26+
CmdletsToExport = @()
2727

28-
VariablesToExport = '*'
28+
VariablesToExport = @()
2929

3030
AliasesToExport = @()
3131

3232
FileList = @(
3333
"Public\Send-ALNotification.ps1"
3434
)
3535

36-
PrivateData = @{ }
36+
PrivateData = @{ }
3737

3838
# HelpInfo URI of this module
3939
# HelpInfoURI = ''
+14-14
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
11
@{
2-
RootModule = 'AutomatedLabTest.psm1'
2+
RootModule = 'AutomatedLabTest.psm1'
33

4-
ModuleVersion = '1.0.0'
4+
ModuleVersion = '1.0.0'
55

6-
CompatiblePSEditions = 'Core', 'Desktop'
6+
CompatiblePSEditions = 'Core', 'Desktop'
77

8-
GUID = '16580260-aab3-4f4c-a7ca-75cd310e4f0b'
8+
GUID = '16580260-aab3-4f4c-a7ca-75cd310e4f0b'
99

10-
Author = 'Raimund Andree, Per Pedersen'
10+
Author = 'Raimund Andree, Per Pedersen'
1111

12-
CompanyName = 'AutomatedLab Team'
12+
CompanyName = 'AutomatedLab Team'
1313

14-
Copyright = '2018'
14+
Copyright = '2019'
1515

16-
Description = 'The module is for testing AutomatedLab'
16+
Description = 'The module is for testing AutomatedLab'
1717

18-
PowerShellVersion = '4.0'
18+
PowerShellVersion = '5.1'
1919

2020
DotNetFrameworkVersion = '4.0'
2121

22-
CLRVersion = '4.0'
22+
CLRVersion = '4.0'
2323

24-
FormatsToProcess = @('AutomatedLabTest.format.ps1xml')
24+
FormatsToProcess = @('AutomatedLabTest.format.ps1xml')
2525

26-
FunctionsToExport = @('Test-LabDeployment', 'Import-LabTestResult')
26+
FunctionsToExport = @('Test-LabDeployment', 'Import-LabTestResult')
2727

28-
FileList = @('AutomatedLabTest.format.ps1xml', 'AutomatedLabTest.psm1', 'AutomatedLabTest.psd1')
28+
FileList = @('AutomatedLabTest.format.ps1xml', 'AutomatedLabTest.psm1', 'AutomatedLabTest.psd1')
2929

30-
PrivateData = @{}
30+
PrivateData = @{ }
3131
}
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
@{
2-
RootModule = 'AutomatedLabUnattended.psm1'
2+
RootModule = 'AutomatedLabUnattended.psm1'
33

4-
ModuleVersion = '1.0.0'
4+
ModuleVersion = '1.0.0'
55

6-
CompatiblePSEditions = 'Core', 'Desktop'
6+
CompatiblePSEditions = 'Core', 'Desktop'
77

8-
GUID = 'b20c8df3-3f74-4537-a40b-b53186084dd5'
8+
GUID = 'b20c8df3-3f74-4537-a40b-b53186084dd5'
99

10-
Author = 'Raimund Andree, Per Pedersen'
10+
Author = 'Raimund Andree, Per Pedersen'
1111

12-
CompanyName = 'AutomatedLab Team'
12+
CompanyName = 'AutomatedLab Team'
1313

14-
Copyright = '2018'
14+
Copyright = '2019'
1515

16-
Description = 'The module is managing settings inside an unattended.xml file'
16+
Description = 'The module is managing settings inside an unattended.xml file'
1717

18-
PowerShellVersion = '3.0'
18+
PowerShellVersion = '5.1'
1919

20-
DotNetFrameworkVersion = '4.0'
20+
DotNetFrameworkVersion = '4.0'
2121

22-
ModuleList = @('AutomatedLabUnattended')
22+
ModuleList = @('AutomatedLabUnattended')
2323

24-
FileList = @('AutomatedLabUnattended.psm1')
24+
FileList = @('AutomatedLabUnattended.psm1')
2525
}
2626

2727

+17-17
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,37 @@
11
@{
2-
RootModule = 'AutomatedLabWorker.psm1'
2+
RootModule = 'AutomatedLabWorker.psm1'
33

4-
ModuleVersion = '1.0.0'
4+
ModuleVersion = '1.0.0'
55

6-
CompatiblePSEditions = 'Core', 'Desktop'
6+
CompatiblePSEditions = 'Core', 'Desktop'
77

8-
GUID = '3addac35-cd7a-4bd2-82f5-ab9c83a48246'
8+
GUID = '3addac35-cd7a-4bd2-82f5-ab9c83a48246'
99

10-
Author = 'Raimund Andree, Per Pedersen, Jan-Hendrik Peters'
10+
Author = 'Raimund Andree, Per Pedersen, Jan-Hendrik Peters'
1111

12-
CompanyName = 'AutomatedLab Team'
12+
CompanyName = 'AutomatedLab Team'
1313

14-
Copyright = '2018'
14+
Copyright = '2019'
1515

16-
Description = 'This module encapsulates all the work activities to prepare the lab'
16+
Description = 'This module encapsulates all the work activities to prepare the lab'
1717

18-
PowerShellVersion = '5.0'
18+
PowerShellVersion = '5.1'
1919

2020
DotNetFrameworkVersion = '4.0'
2121

22-
ModuleList = @('AutomatedLabWorker')
22+
ModuleList = @('AutomatedLabWorker')
2323

24-
RequiredModules = @(
24+
RequiredModules = @(
2525
'AutomatedLabUnattended',
2626
'PSLog',
2727
'PSFileTransfer',
2828
@{
29-
ModuleName = "AutomatedLab.Common";
29+
ModuleName = "AutomatedLab.Common";
3030
ModuleVersion = "1.1.87";
3131
}
3232
)
3333

34-
NestedModules = @(
34+
NestedModules = @(
3535
'AutomatedLabWorkerInternals.psm1',
3636
'AutomatedLabWorkerADCS.psm1',
3737
'AutomatedLabWorkerDisks.psm1',
@@ -40,9 +40,9 @@
4040
'AutomatedLabAzureWorkerNetwork.psm1',
4141
'AutomatedLabAzureWorkerVirtualMachines.psm1',
4242
'AutomatedLabVMWareWorkerVirtualMachines.psm1',
43-
'AutomatedLabVMWareWorkerNetwork.psm1')
43+
'AutomatedLabVMWareWorkerNetwork.psm1')
4444

45-
FileList = @('AutomatedLabWorker.psm1',
45+
FileList = @('AutomatedLabWorker.psm1',
4646
'AutomatedLabWorkerInternals.psm1',
4747
'AutomatedLabWorkerADCS.psm1',
4848
'AutomatedLabWorkerDisks.psm1',
@@ -51,7 +51,7 @@
5151
'AutomatedLabAzureWorkerNetwork.psm1',
5252
'AutomatedLabAzureWorkerVirtualMachines.psm1',
5353
'AutomatedLabVMWareWorkerVirtualMachines.psm1',
54-
'AutomatedLabVMWareWorkerNetwork.psm1')
54+
'AutomatedLabVMWareWorkerNetwork.psm1')
5555

56-
PrivateData = @{ }
56+
PrivateData = @{ }
5757
}

HostsFile/HostsFile.psd1

+14-12
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,27 @@
11
@{
2-
RootModule = 'HostsFile.psm1'
2+
RootModule = 'HostsFile.psm1'
33

4-
ModuleVersion = '1.0.0'
4+
ModuleVersion = '1.0.0'
55

6-
GUID = '8dc3dd5c-5ae8-4198-a8f2-2157ab6b725c'
6+
CompatiblePSEditions = 'Core', 'Desktop'
77

8-
Author = 'Raimund Andree, Per Pedersen'
8+
GUID = '8dc3dd5c-5ae8-4198-a8f2-2157ab6b725c'
99

10-
CompanyName = 'AutomatedLab Team'
10+
Author = 'Raimund Andree, Per Pedersen'
1111

12-
Copyright = '2018'
12+
CompanyName = 'AutomatedLab Team'
1313

14-
Description = 'This module provides management of hosts file content'
14+
Copyright = '2019'
1515

16-
PowerShellVersion = '3.0'
16+
Description = 'This module provides management of hosts file content'
1717

18-
DotNetFrameworkVersion = '4.0'
18+
PowerShellVersion = '5.1'
19+
20+
DotNetFrameworkVersion = '4.0'
1921

20-
ModuleList = @('HostsFile')
22+
ModuleList = @('HostsFile')
2123

22-
FunctionsToExport = 'Add-HostEntry', 'Clear-HostFile', 'Get-HostEntry', 'Open-HostFile', 'Remove-HostEntry', 'Save-HostFile'
24+
FunctionsToExport = 'Add-HostEntry', 'Clear-HostFile', 'Get-HostEntry', 'Open-HostFile', 'Remove-HostEntry', 'Save-HostFile'
2325

24-
FileList = @('HostsFile.psm1', 'HostsFile.psd1')
26+
FileList = @('HostsFile.psm1', 'HostsFile.psd1')
2527
}

LabSources/CustomRoles/LabBuilder/PolarisLabBuilder.ps1

+2-1
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,5 @@ New-PolarisDeleteRoute -Path /Lab -ScriptBlock {
108108
}
109109

110110
Start-Polaris -Port 80
111-
Read-Host
111+
while ($true)
112+
{ sleep 1 }

PSFileTransfer/PSFileTransfer.psd1

+14-12
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,27 @@
11
@{
2-
RootModule = 'PSFileTransfer.psm1'
2+
RootModule = 'PSFileTransfer.psm1'
33

4-
ModuleVersion = '1.0.0'
4+
ModuleVersion = '1.0.0'
55

6-
GUID = '789c9c76-4756-4489-a74f-31ca64488c7b'
6+
CompatiblePSEditions = 'Core', 'Desktop'
77

8-
Author = 'Raimund Andree, Per Pedersen'
8+
GUID = '789c9c76-4756-4489-a74f-31ca64488c7b'
99

10-
CompanyName = 'AutomatedLab Team'
10+
Author = 'Raimund Andree, Per Pedersen'
1111

12-
Copyright = '2018'
12+
CompanyName = 'AutomatedLab Team'
1313

14-
Description = 'This module packages functions created by Lee Holmes for transfering files over PowerShell Remoting'
14+
Copyright = '2019'
1515

16-
PowerShellVersion = '3.0'
16+
Description = 'This module packages functions created by Lee Holmes for transfering files over PowerShell Remoting'
1717

18-
DotNetFrameworkVersion = '2.0'
18+
PowerShellVersion = '5.1'
19+
20+
DotNetFrameworkVersion = '2.0'
1921

20-
ModuleList = @('PSFileTransfer')
22+
ModuleList = @('PSFileTransfer')
2123

22-
FunctionsToExport = 'Copy-LabFileItem', 'Send-Directory', 'Send-File', 'Receive-Directory', 'Receive-File'
24+
FunctionsToExport = 'Copy-LabFileItem', 'Send-Directory', 'Send-File', 'Receive-Directory', 'Receive-File'
2325

24-
FileList = @('PSFileTransfer.psm1', 'PSFileTransfer.psd1')
26+
FileList = @('PSFileTransfer.psm1', 'PSFileTransfer.psd1')
2527
}

PSLog/PSLog.psd1

+4-2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
RootModule = 'PSLog.psm1'
33

44
ModuleVersion = '1.0.0'
5+
6+
CompatiblePSEditions = 'Core', 'Desktop'
57

68
GUID = 'cd303a6c-f405-4dcb-b1ce-fbc2c52264e9'
79

@@ -11,9 +13,9 @@
1113

1214
CompanyName = 'AutomatedLab Team'
1315

14-
Copyright = '2018'
16+
Copyright = '2019'
1517

16-
PowerShellVersion = '2.0'
18+
PowerShellVersion = '5.1'
1719

1820
DotNetFrameworkVersion = '3.5'
1921

Tests/Integration/Get-LabConfigurationItem.tests.ps1

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ Copy-Item -Path $configurationPath -Destination (Join-Path (Get-Module Automated
77

88
if (-not (Get-Module -List PSFramework)) {Install-Module -Name PSFramework -Force -SkipPublisherCheck -AllowClobber}
99
if (-not (Get-Module -List Newtonsoft.Json)) {Install-Module -Name Newtonsoft.Json -Force -SkipPublisherCheck -AllowClobber}
10-
if (-not (Get-Module -List powershell-yaml)) {Install-Module -Name powershell-yaml -Force -SkipPublisherCheck -AllowClobber}
1110

1211
Import-Module -Name Newtonsoft.Json, PSFramework
1312
Import-Module -Name "$rootpath\..\..\AutomatedLab.Common\AutomatedLab.Common\AutomatedLab.Common.psd1" -Force -Verbose

0 commit comments

Comments
 (0)