en-us/about_AutomatedLab_sharepoint.help.txt

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
TOPIC
    about_automatedlab_sharepoint
 
SHORT DESCRIPTION
    Generic help about the Role 'sharepoint' in AutomatedLab
 
LONG DESCRIPTION
SharePoint Server
    The roles SharePoint2013, SharePoint2016 and SharePoint2019 install all
    required binaries for SharePoint. Currently, no farm or content is deployed.
    All preqrequisites are downloaded automatically, but can be prepared easily
    in an offline scenario.
    In order to really deploy SharePoint according to your needs, consider using
    SharePointDsc
    with
 
    -LabDscConfiguration
 
    .
 
    EXAMPLE
    The following example would install all three supported versions of
    SharePoint:
 
    $labName = 'SharingIsCaring'
     
    New-LabDefinition -Name $labName -DefaultVirtualizationEngine HyperV
    Add-LabVirtualNetworkDefinition -Name $labName -AddressSpace 192.168.30.0/24
    Add-LabDomainDefinition -Name contoso.com -AdminUser Install -AdminPassword Somepass1
    Set-LabInstallationCredential -Username Install -Password Somepass1
     
    $PSDefaultParameterValues = @{
        'Add-LabMachineDefinition:Network' = $labName
        'Add-LabMachineDefinition:ToolsPath'= "$labSources\Tools"
        'Add-LabMachineDefinition:DomainName' = 'contoso.com'
        'Add-LabMachineDefinition:DnsServer1' = '192.168.30.10'
        'Add-LabMachineDefinition:OperatingSystem' = 'Windows Server 2016 Datacenter (Desktop Experience)'
    }
     
     
    Add-LabIsoImageDefinition -Name SharePoint2013 -Path $labsources\ISOs\en_sharepoint_server_2013_with_sp1_x64_dvd_3823428.iso
    Add-LabIsoImageDefinition -Name SharePoint2016 -Path $labsources\ISOs\en_sharepoint_server_2016_x64_dvd_8419458.iso
    Add-LabIsoImageDefinition -Name SharePoint2019 -Path $labsources\ISOs\en_sharepoint_server_2019_x64_dvd_68e34c9e.iso
     
    Add-LabMachineDefinition -Name SPDC1 -Memory 2gB -Roles RootDC -IpAddress 192.168.30.10
    Add-LabMachineDefinition -Name SPSP1 -Memory 4gB -Roles SharePoint2013 -IpAddress 192.168.30.13 -OperatingSystem 'Windows Server 2012 R2 Datacenter (Server with a GUI)'
    Add-LabMachineDefinition -Name SPSP2 -Memory 4gB -Roles SharePoint2016 -IpAddress 192.168.30.16
    Add-LabMachineDefinition -Name SPSP3 -Memory 4gB -Roles SharePoint2019 -IpAddress 192.168.30.19
     
    Install-Lab
 
    PREREQUISITES
    We store a list of prerequisites with PSFramework, which means that you can
    customize this setting or use it to download and prepare the prerequisites!
    To do that, you can find a list of URIs with
 
    -LabConfigurationItem SharePoint2016Prerequisites # Adjust to your version
 
    .
Simply store the downloaded files without renaming them in
 
    $labsources\SoftwarePackages\SharePoint2016 # Adjust to your version
 
    . All files are picked up automatically even when no connection is
    available.