Skip to content

Instantly share code, notes, and snippets.

@shurick81
Created April 15, 2019 13:38
Show Gist options
  • Save shurick81/435f6559509536b3fb5d2426691a867c to your computer and use it in GitHub Desktop.
Save shurick81/435f6559509536b3fb5d2426691a867c to your computer and use it in GitHub Desktop.
PowerShell 6.2.0
Copyright (c) Microsoft Corporation. All rights reserved.
https://aka.ms/pscore6-docs
Type 'help' to get help.
PS C:\Users\asapozhkov> npm install http-server -g
C:\Users\asapozhkov\AppData\Roaming\npm\hs -> C:\Users\asapozhkov\AppData\Roaming\npm\node_modules\http-server\bin\http-server
C:\Users\asapozhkov\AppData\Roaming\npm\http-server -> C:\Users\asapozhkov\AppData\Roaming\npm\node_modules\http-server\bin\http-server
+ http-server@0.11.1
added 26 packages from 28 contributors in 2.802s
PS C:\Users\asapozhkov> Install-Package InvokeUplift -Force
>>
Name Version Source Summary
---- ------- ------ -------
InvokeUplift 0.2.1903.65 PSGallery Helpers for the uplift project - battle-tested vagran…
PS C:\Users\asapozhkov> Invoke-Uplift resource download ms-dynamics-crm90-server-en
>>
uplift v0.2.1903.65
2019-04-15 08:58:24.012 : Found 1 resource(s) matching id: ms-dynamics-crm90-server-en
2019-04-15 08:58:24.026 : [1/1] resource: ms-dynamics-crm90-server-en
2019-04-15 08:58:24.082 : [~] checking if file was already downloaded
2019-04-15 08:58:24.087 : [~] downloading file
2019-04-15 08:59:58.122 : [~] validating file checksum
2019-04-15 09:00:08.034 : [~] moving /download-staging to /latest
2019-04-15 09:00:08.061 : [~] writing metadata
2019-04-15 09:00:08.077 : [+] completed!
PS C:\Users\asapozhkov> Invoke-Uplift resource download ms-dynamics-crm90-server-en
>>
uplift v0.2.1903.65
2019-04-15 09:01:55.844 : Found 1 resource(s) matching id: ms-dynamics-crm90-server-en
2019-04-15 09:01:55.849 : [1/1] resource: ms-dynamics-crm90-server-en
2019-04-15 09:01:55.866 : [+] /latest is OK, won't download
2019-04-15 09:01:55.869 : [+] completed!
PS C:\Users\asapozhkov> git clone https://github.com/SubPointSolutions/uplift-contrib C:\projects\uplift-contrib
>> . C:\projects\uplift-contrib\uplift-vagrant\.build-helpers.ps1
>> Start-LocalHttpServer 8080 $env:HOMEDRIVE$env:HOMEPATH\uplift-local-repository
>> cd C:\projects\uplift-contrib\uplift-vagrant\crm-dev
>>
Cloning into 'C:\projects\uplift-contrib'...
remote: Enumerating objects: 110, done.
remote: Counting objects: 100% (110/110), done.
remote: Compressing objects: 100% (65/65), done.
remote: Total 110 (delta 50), reused 90 (delta 34), pack-reused 0R
Receiving objects: 100% (110/110), 29.83 KiB | 3.31 MiB/s, done.
Resolving deltas: 100% (50/50), done.
[~] Starting http-server to serve packer/vagrant builds
- port : 8080
- local: localhost:8080
- vm : 10.0.2.2:8080
- path : C:\Users\asapozhkov\uplift-local-repository
Pause 5 sec allowing http-server to start...
[~] checking url: http://localhost:8080
[+] StatusCode: 200 for url: http://localhost:8080
Id Name PSJobTypeName State HasMoreData Location Command
-- ---- ------------- ----- ----------- -------- -------
1 Job1 BackgroundJob Running True localhost Microsoft.PowerShell.Man…
PS C:\projects\uplift-contrib\uplift-vagrant\crm-dev> vagrant up
>>
Using http-server on: http://10.0.2.2:8080
Vagrant failed to initialize at a very early stage:
There was an error loading a Vagrantfile. The file being loaded
and the error message are shown below. This is usually caused by
a syntax error.
Path: C:/projects/uplift-contrib/uplift-vagrant/crm-dev/Vagrantfile
Line number: 44
Message: NameError: uninitialized constant VagrantPlugins::Uplift
PS C:\projects\uplift-contrib\uplift-vagrant\crm-dev> vagrant plugin install vagrant-uplift
>>
==> vagrant: A new version of Vagrant is available: 2.2.4 (installed version: 2.2.3)!
==> vagrant: To upgrade visit: https://www.vagrantup.com/downloads.html
Installing the 'vagrant-uplift' plugin. This can take a few minutes...
Fetching: vagrant-uplift-0.2.1902.49.gem (100%)
Installed the plugin 'vagrant-uplift (0.2.1902.49)'!
PS C:\projects\uplift-contrib\uplift-vagrant\crm-dev> vagrant up
>>
Using http-server on: http://10.0.2.2:8080
vagrant-uplift: vagrant-uplift v0.2.1902.49
vagrant-uplift: dc: synced folders config
vagrant-uplift: dc: 2Gb RAM, 2 CPU
vagrant-uplift: dc: setting hostname: dc
vagrant-uplift: dc: private dc network
vagrant-uplift: - ip: 192.168.16.5, gateway: 192.168.16.1
vagrant-uplift: dc: [-] provision checkpoint: dsc-soe
vagrant-uplift: dc: dsc soe config
vagrant-uplift: - pester test: soe.dsc.modules.Tests.ps1
vagrant-uplift: - pester test: soe.dsc.os.Tests.ps1
vagrant-uplift: dc: [-] provision checkpoint: dc-creation
vagrant-uplift: dc: domain controller setup
vagrant-uplift: - dc provision
vagrant-uplift: - pester test: dc.dsc.Tests.ps1
vagrant-uplift: - domain users
vagrant-uplift: dc: [-] provision checkpoint: dsc-shortcuts
vagrant-uplift: dc: dsc soe shortcuts
vagrant-uplift: dc: [-] provision checkpoint: crm-ps-modules
vagrant-uplift: dc: [-] provision checkpoint: crm-domain-users
vagrant-uplift: crm: synced folders config
vagrant-uplift: crm: 4Gb RAM, 4 CPU
vagrant-uplift: crm: setting hostname: crm
vagrant-uplift: - private network: ip: 192.168.16.6 gateway: 192.168.16.1
vagrant-uplift: - fixing secondary network interface: ip: 192.168.16.6 dns: 192.168.16.5
vagrant-uplift: crm: [-] provision checkpoint: dsc-soe
vagrant-uplift: crm: dsc soe config
vagrant-uplift: - pester test: soe.dsc.modules.Tests.ps1
vagrant-uplift: - pester test: soe.dsc.os.Tests.ps1
vagrant-uplift: crm: [-] provision checkpoint: dc-join
vagrant-uplift: crm: domain join
vagrant-uplift: - dc_ip: 192.168.16.5
vagrant-uplift: crm: [-] provision checkpoint: dsc-shortcuts
vagrant-uplift: crm: dsc soe shortcuts
vagrant-uplift: crm: [-] provision checkpoint: sql-complete-image
vagrant-uplift: crm: SQL 2016: image completion
vagrant-uplift: - pester test: sql16.dsc.Tests.ps1
vagrant-uplift: crm: [-] provision checkpoint: sql-optimize
vagrant-uplift: crm: SQL 2016: optimization
vagrant-uplift: crm: [-] provision checkpoint: crm-ps-modules
vagrant-uplift: crm: [-] provision checkpoint: crm-cred-ssp
vagrant-uplift: crm: [-] provision checkpoint: crm-local-admin-group
vagrant-uplift: crm: [-] provision checkpoint: crm-ssl-self-signed-cert
vagrant-uplift: crm: [-] provision checkpoint: sql-rs-config
vagrant-uplift: crm: [-] provision checkpoint: crm-sql-accounts
vagrant-uplift: crm: [-] provision checkpoint: crm-install-media
vagrant-uplift: crm: [-] provision checkpoint: crm-install-provision
vagrant-uplift: crm: [-] provision checkpoint: crm-default-webs
vagrant-uplift: crm: [-] provision checkpoint: crm-default-webs-shortcuts
Bringing machine 'dc' up with 'virtualbox' provider...
Bringing machine 'crm' up with 'virtualbox' provider...
==> dc: Box 'SubPointSolutions/win-2016-datacenter-soe-latest' could not be found. Attempting to find and install...
dc: Box Provider: virtualbox
dc: Box Version: >= 0
==> dc: Loading metadata for box 'SubPointSolutions/win-2016-datacenter-soe-latest'
dc: URL: https://vagrantcloud.com/SubPointSolutions/win-2016-datacenter-soe-latest
==> dc: Adding box 'SubPointSolutions/win-2016-datacenter-soe-latest' (v1902.18) for provider: virtualbox
dc: Downloading: https://vagrantcloud.com/SubPointSolutions/boxes/win-2016-datacenter-soe-latest/versions/1902.18/providers/virtualbox.box
dc: Download redirected to host: vagrantcloud-files-production.s3.amazonaws.com
dc:
==> dc: Successfully added box 'SubPointSolutions/win-2016-datacenter-soe-latest' (v1902.18) for 'virtualbox'!
==> dc: Importing base box 'SubPointSolutions/win-2016-datacenter-soe-latest'...
==> dc: Matching MAC address for NAT networking...
==> dc: Checking if box 'SubPointSolutions/win-2016-datacenter-soe-latest' version '1902.18' is up to date...
==> dc: Setting the name of the VM: crm-dev_dc_1555313202387_71771
==> dc: Clearing any previously set network interfaces...
==> dc: Preparing network interfaces based on configuration...
dc: Adapter 1: nat
dc: Adapter 2: hostonly
==> dc: Forwarding ports...
dc: 3389 (guest) => 3389 (host) (adapter 1)
dc: 5985 (guest) => 55985 (host) (adapter 1)
dc: 5986 (guest) => 55986 (host) (adapter 1)
dc: 22 (guest) => 2222 (host) (adapter 1)
==> dc: Running 'pre-boot' VM customizations...
==> dc: Booting VM...
==> dc: Waiting for machine to boot. This may take a few minutes...
dc: WinRM address: 127.0.0.1:55985
dc: WinRM username: vagrant
dc: WinRM execution_time_limit: PT2H
dc: WinRM transport: plaintext
==> dc: Machine booted and ready!
==> dc: Checking for guest additions in VM...
dc: The guest additions on this VM do not match the installed version of
dc: VirtualBox! In most cases this is fine, but in rare cases it can
dc: prevent things such as shared folders from working properly. If you see
dc: shared folder errors, please make sure the guest additions within the
dc: virtual machine match the version of VirtualBox you have installed on
dc: your host and reload your VM.
dc:
dc: Guest Additions Version: 5.2.22
dc: VirtualBox Version: 6.0
==> dc: Setting hostname...
==> dc: Configuring and enabling network interfaces...
==> dc: Running provisioner: shell...
dc: Running: script: soe.dsc.ps1
dc: UPLIFT : 04-15-2019 07:35:07.680 : INFO : DC/vagrant : Running windows SOE config...
dc: UPLIFT : 04-15-2019 07:35:07.819 : INFO : DC/vagrant : Running as: DC\vagrant
dc: UPLIFT : 04-15-2019 07:35:07.819 : INFO : DC/vagrant : Uplift environmanet variables:
dc: UPLIFT : 04-15-2019 07:35:07.927 : INFO : DC/vagrant : [ENV:UPLF_BOX_METADATA_GIT_BRANCH]: dev
dc: UPLIFT : 04-15-2019 07:35:07.927 : INFO : DC/vagrant : [ENV:UPLF_BOX_METADATA_GIT_COMMIT]: c8d137e
dc: UPLIFT : 04-15-2019 07:35:07.943 : INFO : DC/vagrant : [ENV:UPLF_DSC_CHECK]: 1
dc: UPLIFT : 04-15-2019 07:35:07.943 : INFO : DC/vagrant : Disabling Firewalls...
dc: UPLIFT : 04-15-2019 07:35:10.627 : INFO : DC/vagrant : [~] cannot find env variable by name: UPLF_SOE_TIME_ZONE_NAME - , will try default value if provided
dc: UPLIFT : 04-15-2019 07:35:10.642 : INFO : DC/vagrant : - using default value
dc: UPLIFT : 04-15-2019 07:35:10.719 : INFO : DC/vagrant : [ENV:UPLF_SOE_TIME_ZONE_NAME]: AUS Eastern Standard Time
dc: UPLIFT : 04-15-2019 07:35:10.767 : INFO : DC/vagrant : [~] cannot find env variable by name: UPLF_DSC_CONFIG_PATH - default value, will try default value if provided
dc: UPLIFT : 04-15-2019 07:35:10.781 : INFO : DC/vagrant : - using default value
dc: UPLIFT : 04-15-2019 07:35:10.781 : INFO : DC/vagrant : [ENV:UPLF_DSC_CONFIG_PATH]: C:/_uplift_dsc
dc: UPLIFT : 04-15-2019 07:35:10.797 : INFO : DC/vagrant : [~] ensuring folder: C:/_uplift_dsc for config: Configure_WinSOE
dc: UPLIFT : 04-15-2019 07:35:10.812 : INFO : DC/vagrant : [~] previous configuration dose not exist: C:/_uplift_dsc\Configure_WinSOE
dc: UPLIFT : 04-15-2019 07:35:10.812 : INFO : DC/vagrant : Compiling new configuration: Configure_WinSOE
dc: UPLIFT : 04-15-2019 07:35:13.982 : INFO : DC/vagrant : Starting configuration: Configure_WinSOE
dc: UPLIFT : 04-15-2019 07:35:23.736 : INFO : DC/vagrant : Completed in: 9783
dc: UPLIFT : 04-15-2019 07:35:23.736 : INFO : DC/vagrant : Testing configuration: Configure_WinSOE
dc: UPLIFT : 04-15-2019 07:35:32.423 : INFO : DC/vagrant : Expecting DSC [Configure_WinSOE] in a desired state
dc: UPLIFT : 04-15-2019 07:35:32.423 : INFO : DC/vagrant : [+] DSC: Configure_WinSOE is in a desired state
dc: UPLIFT : 04-15-2019 07:35:32.626 : INFO : DC/vagrant : ResourcesInDesiredState
dc: UPLIFT : 04-15-2019 07:35:32.766 : INFO : DC/vagrant : [+] [User]Vagrant
dc: UPLIFT : 04-15-2019 07:35:32.766 : INFO : DC/vagrant : [+] [TimeZone]TimeZone
dc: UPLIFT : 04-15-2019 07:35:32.781 : INFO : DC/vagrant : [+] [WindowsFeature]ADDSInstall
dc: UPLIFT : 04-15-2019 07:35:32.781 : INFO : DC/vagrant : [+] [WindowsFeature]ADDSRSAT
dc: UPLIFT : 04-15-2019 07:35:32.781 : INFO : DC/vagrant : [+] [WindowsFeature]RSAT
dc: UPLIFT : 04-15-2019 07:35:32.781 : INFO : DC/vagrant : [+] [Registry]WindowsUpdate_NoAutoUpdate
dc: UPLIFT : 04-15-2019 07:35:32.797 : INFO : DC/vagrant : [+] [Registry]WindowsUpdate_AUOptions
dc: UPLIFT : 04-15-2019 07:35:32.797 : INFO : DC/vagrant : [+] [Registry]Windows_RemoteConnections
dc: UPLIFT : 04-15-2019 07:35:32.797 : INFO : DC/vagrant : [+] [Registry]IEEscKey::[xIEEsc]Disable_IEEsc
dc: UPLIFT : 04-15-2019 07:35:32.797 : INFO : DC/vagrant :
dc: UPLIFT : 04-15-2019 07:35:32.797 : INFO : DC/vagrant : ResourcesNotInDesiredState
dc: PSComputerName ResourcesInDesiredState ResourcesNotInDesiredState InDesiredState
dc: -------------- ----------------------- -------------------------- --------------
dc: localhost {[User]Vagrant, [TimeZone]T... True
==> dc: Running provisioner: file...
dc: D:/.vagrant.d/gems/2.4.4/gems/vagrant-uplift-0.2.1902.49/lib/scripts/vagrant/uplift.vagrant.win12soe/tests/soe.dsc.modules.Tests.ps1 => c:/windows/temp/tests/soe.dsc.modules.Tests.ps1
==> dc: Running provisioner: shell...
dc: Running: script: c:/windows/temp/tests/soe.dsc.modules.Tests.ps1
dc: Executing all tests in 'c:/windows/temp/tests/soe.dsc.modules.Tests.ps1'
dc: Executing script c:/windows/temp/tests/soe.dsc.modules.Tests.ps1
dc: Describing PowerShell DCS
dc: Context Modules
dc: [+] cChoco 1.34s
dc: [+] cFirewall 237ms
dc: [+] SharePointDSC 57ms
dc: [+] MS_xVisualStudio 55ms
dc: [+] xActiveDirectory 34ms
dc: [+] xSQLServer 28ms
dc: [+] xDSCFirewall 30ms
dc: [+] xNetworking 28ms
dc: [+] xTimeZone 37ms
dc: [+] xWebAdministration 37ms
dc: [+] xPendingReboot 26ms
dc: [+] xComputerManagement 35ms
dc: [+] Pester 38ms
dc: [+] xSystemSecurity 28ms
dc: [+] DSCR_Shortcut 28ms
dc: [+] PSWindowsUpdate 76ms
dc: Tests completed in 2.12s
dc: Tests Passed: 16, Failed: 0, Skipped: 0, Pending: 0, Inconclusive: 0
==> dc: Running provisioner: file...
dc: D:/.vagrant.d/gems/2.4.4/gems/vagrant-uplift-0.2.1902.49/lib/scripts/vagrant/uplift.vagrant.win12soe/tests/soe.dsc.os.Tests.ps1 => c:/windows/temp/tests/soe.dsc.os.Tests.ps1
==> dc: Running provisioner: shell...
dc: Running: script: c:/windows/temp/tests/soe.dsc.os.Tests.ps1
dc: Executing all tests in 'c:/windows/temp/tests/soe.dsc.os.Tests.ps1'
dc: Executing script c:/windows/temp/tests/soe.dsc.os.Tests.ps1
dc: Describing OS
dc: Context Settings
dc: [+] AUS Eastern Standard Time 2.63s
dc: [+] NoAutoUpdate = 1 429ms
dc: [+] AUOptions = 1 27ms
dc: Context Features
dc: [+] AD-Domain-Services 3.83s
dc: [+] RSAT-ADDS-Tools 1.59s
dc: [+] RSAT 900ms
dc: Context Firewall
dc: [+] domain is OFF 121ms
dc: [+] public is OFF 24ms
dc: [+] private is OFF 22ms
dc: Context Tools
dc: [+] choco is installed 78ms
dc: [+] 7zip is installed 17ms
dc: [+] git is installed 23ms
dc: [+] curl is installed 18ms
dc: [+] wget is installed 24ms
dc: [+] pwsh is installed 33ms
dc: Tests completed in 9.78s
dc: Tests Passed: 15, Failed: 0, Skipped: 0, Pending: 0, Inconclusive: 0
==> dc: Running provisioner: uplift_checkpoint...
==> dc: Running provisioner: reload...
==> dc: Attempting graceful shutdown of VM...
==> dc: Checking if box 'SubPointSolutions/win-2016-datacenter-soe-latest' version '1902.18' is up to date...
==> dc: Clearing any previously set forwarded ports...
==> dc: Clearing any previously set network interfaces...
==> dc: Preparing network interfaces based on configuration...
dc: Adapter 1: nat
dc: Adapter 2: hostonly
==> dc: Forwarding ports...
dc: 3389 (guest) => 3389 (host) (adapter 1)
dc: 5985 (guest) => 55985 (host) (adapter 1)
dc: 5986 (guest) => 55986 (host) (adapter 1)
dc: 22 (guest) => 2222 (host) (adapter 1)
==> dc: Running 'pre-boot' VM customizations...
==> dc: Booting VM...
==> dc: Waiting for machine to boot. This may take a few minutes...
dc: WinRM address: 127.0.0.1:55985
dc: WinRM username: vagrant
dc: WinRM execution_time_limit: PT2H
dc: WinRM transport: plaintext
==> dc: Machine booted and ready!
==> dc: Checking for guest additions in VM...
dc: The guest additions on this VM do not match the installed version of
dc: VirtualBox! In most cases this is fine, but in rare cases it can
dc: prevent things such as shared folders from working properly. If you see
dc: shared folder errors, please make sure the guest additions within the
dc: virtual machine match the version of VirtualBox you have installed on
dc: your host and reload your VM.
dc:
dc: Guest Additions Version: 5.2.22
dc: VirtualBox Version: 6.0
==> dc: Setting hostname...
==> dc: Configuring and enabling network interfaces...
==> dc: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> dc: flag to force provisioning. Provisioners marked to run always will still run.
==> dc: Running provisioner: shell...
dc: Running: script: dc.dsc.ps1
dc: UPLIFT : 04-15-2019 17:40:02.959 : INFO : DC/vagrant : Installing primary controller...
dc: UPLIFT : 04-15-2019 17:40:03.180 : INFO : DC/vagrant : Running as: DC\vagrant
dc: UPLIFT : 04-15-2019 17:40:03.180 : INFO : DC/vagrant : Uplift environmanet variables:
dc: UPLIFT : 04-15-2019 17:40:03.306 : INFO : DC/vagrant : [ENV:UPLF_BOX_METADATA_GIT_BRANCH]: dev
dc: UPLIFT : 04-15-2019 17:40:03.306 : INFO : DC/vagrant : [ENV:UPLF_BOX_METADATA_GIT_COMMIT]: c8d137e
dc: UPLIFT : 04-15-2019 17:40:03.306 : INFO : DC/vagrant : [ENV:UPLF_DC_DOMAIN_ADMIN_NAME]: admin
dc: UPLIFT : 04-15-2019 17:40:03.321 : INFO : DC/vagrant : [ENV:UPLF_DC_DOMAIN_ADMIN_PASSWORD]: ******
dc: UPLIFT : 04-15-2019 17:40:03.321 : INFO : DC/vagrant : [ENV:UPLF_DC_DOMAIN_NAME]: uplift.local
dc: UPLIFT : 04-15-2019 17:40:03.321 : INFO : DC/vagrant : [ENV:UPLF_DSC_CHECK_SKIP]: 1
dc: UPLIFT : 04-15-2019 17:40:03.352 : INFO : DC/vagrant : [ENV:UPLF_DC_DOMAIN_NAME]: uplift.local
dc: UPLIFT : 04-15-2019 17:40:03.368 : INFO : DC/vagrant : [ENV:UPLF_DC_DOMAIN_ADMIN_NAME]: admin
dc: UPLIFT : 04-15-2019 17:40:03.368 : INFO : DC/vagrant : [ENV:UPLF_DC_DOMAIN_ADMIN_PASSWORD]: ******
dc: UPLIFT : 04-15-2019 17:40:03.694 : INFO : DC/vagrant : Fixing DC promo settings...
dc: UPLIFT : 04-15-2019 17:40:03.709 : INFO : DC/vagrant : Executing 'net user Administrator /passwordreq:yes' to bypass dcpromo errors
dc: The command completed successfully.
dc: UPLIFT : 04-15-2019 17:40:03.818 : INFO : DC/vagrant : Checking exit code: 0 with allowed values: 0
dc: UPLIFT : 04-15-2019 17:40:03.833 : INFO : DC/vagrant : [+] exit code is: 0 within allowed values: 0
dc: UPLIFT : 04-15-2019 17:40:03.942 : INFO : DC/vagrant : [~] cannot find env variable by name: UPLF_DSC_CONFIG_PATH - default value, will try default value if provided
dc: UPLIFT : 04-15-2019 17:40:03.942 : INFO : DC/vagrant : - using default value
dc: UPLIFT : 04-15-2019 17:40:03.942 : INFO : DC/vagrant : [ENV:UPLF_DSC_CONFIG_PATH]: C:/_uplift_dsc
dc: UPLIFT : 04-15-2019 17:40:03.957 : INFO : DC/vagrant : [~] ensuring folder: C:/_uplift_dsc for config: Install_DomainController
dc: UPLIFT : 04-15-2019 17:40:04.005 : INFO : DC/vagrant : [~] previous configuration dose not exist: C:/_uplift_dsc\Install_DomainController
dc: UPLIFT : 04-15-2019 17:40:04.005 : INFO : DC/vagrant : Compiling new configuration: Install_DomainController
dc: UPLIFT : 04-15-2019 17:40:08.040 : INFO : DC/vagrant : Starting configuration: Install_DomainController
dc: WARNING: [DC]: [[xADDomain]PrimaryDomainController] Windows Server 2016 domain controllers
dc: have a default for the security setting named "Allow cryptography algorithms compatible with Windows NT 4.0" that
dc: prevents weaker cryptography algorithms when establishing security channel sessions.
dc: For more information about this setting, see Knowledge Base article 942564
dc: (http://go.microsoft.com/fwlink/?LinkId=104751).
dc: WARNING: [DC]: [[xADDomain]PrimaryDomainController] This computer has at least one physical
dc: network adapter that does not have static IP address(es) assigned to its IP Properties. If both IPv4 and IPv6 are
dc: enabled for a network adapter, both IPv4 and IPv6 static IP addresses should be assigned to both IPv4 and IPv6
dc: Properties of the physical network adapter. Such static IP address(es) assignment should be done to all the physical
dc: network adapters for reliable Domain Name System (DNS) operation.
dc: WARNING: [DC]: [[xADDomain]PrimaryDomainController] A delegation for this DNS server cannot
dc: be created because the authoritative parent zone cannot be found or it does not run Windows DNS server. If you are
dc: integrating with an existing DNS infrastructure, you should manually create a delegation to this DNS server in the
dc: parent zone to ensure reliable name resolution from outside the domain "uplift.local". Otherwise, no action is
dc: required.
dc: WARNING: [DC]: [[xADDomain]PrimaryDomainController] Windows Server 2016 domain controllers
dc: have a default for the security setting named "Allow cryptography algorithms compatible with Windows NT 4.0" that
dc: prevents weaker cryptography algorithms when establishing security channel sessions.
dc: For more information about this setting, see Knowledge Base article 942564
dc: (http://go.microsoft.com/fwlink/?LinkId=104751).
dc: WARNING: [DC]: [[xADDomain]PrimaryDomainController] This computer has at least one physical
dc: network adapter that does not have static IP address(es) assigned to its IP Properties. If both IPv4 and IPv6 are
dc: enabled for a network adapter, both IPv4 and IPv6 static IP addresses should be assigned to both IPv4 and IPv6
dc: Properties of the physical network adapter. Such static IP address(es) assignment should be done to all the physical
dc: network adapters for reliable Domain Name System (DNS) operation.
dc: WARNING: [DC]: [[xADDomain]PrimaryDomainController] A delegation for this DNS server cannot
dc: be created because the authoritative parent zone cannot be found or it does not run Windows DNS server. If you are
dc: integrating with an existing DNS infrastructure, you should manually create a delegation to this DNS server in the
dc: parent zone to ensure reliable name resolution from outside the domain "uplift.local". Otherwise, no action is
dc: required.
dc: WARNING: [DC]: [] A reboot is required to progress further. Please reboot the system.
dc: UPLIFT : 04-15-2019 17:47:15.358 : INFO : DC/vagrant : Completed in: 426069
dc: UPLIFT : 04-15-2019 17:47:15.374 : INFO : DC/vagrant : [+] Skipping testing configuration: Install_DomainController
==> dc: Running provisioner: reload...
==> dc: Attempting graceful shutdown of VM...
==> dc: Checking if box 'SubPointSolutions/win-2016-datacenter-soe-latest' version '1902.18' is up to date...
==> dc: Clearing any previously set forwarded ports...
==> dc: Clearing any previously set network interfaces...
==> dc: Preparing network interfaces based on configuration...
dc: Adapter 1: nat
dc: Adapter 2: hostonly
==> dc: Forwarding ports...
dc: 3389 (guest) => 3389 (host) (adapter 1)
dc: 5985 (guest) => 55985 (host) (adapter 1)
dc: 5986 (guest) => 55986 (host) (adapter 1)
dc: 22 (guest) => 2222 (host) (adapter 1)
==> dc: Running 'pre-boot' VM customizations...
==> dc: Booting VM...
==> dc: Waiting for machine to boot. This may take a few minutes...
dc: WinRM address: 127.0.0.1:55985
dc: WinRM username: vagrant
dc: WinRM execution_time_limit: PT2H
dc: WinRM transport: plaintext
==> dc: Machine booted and ready!
==> dc: Checking for guest additions in VM...
dc: The guest additions on this VM do not match the installed version of
dc: VirtualBox! In most cases this is fine, but in rare cases it can
dc: prevent things such as shared folders from working properly. If you see
dc: shared folder errors, please make sure the guest additions within the
dc: virtual machine match the version of VirtualBox you have installed on
dc: your host and reload your VM.
dc:
dc: Guest Additions Version: 5.2.22
dc: VirtualBox Version: 6.0
==> dc: Setting hostname...
==> dc: Configuring and enabling network interfaces...
==> dc: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> dc: flag to force provisioning. Provisioners marked to run always will still run.
==> dc: Running provisioner: file...
dc: D:/.vagrant.d/gems/2.4.4/gems/vagrant-uplift-0.2.1902.49/lib/scripts/vagrant/uplift.vagrant.dc12/tests/dc.dsc.Tests.ps1 => c:/windows/temp/tests/dc.dsc.Tests.ps1
==> dc: Running provisioner: shell...
dc: Running: script: c:/windows/temp/tests/dc.dsc.Tests.ps1
dc: Executing all tests in 'c:/windows/temp/tests/dc.dsc.Tests.ps1'
dc: Executing script c:/windows/temp/tests/dc.dsc.Tests.ps1
dc: WARNING: Error initializing default drive: 'Unable to find a default server with Active Directory Web Services
dc: running.'.
dc: Describing Domain Controller
dc: Context Network
dc: [+] ipconfig like "192.168.*.*" 3.08s
dc: Context Features
dc: [+] AD-Domain-Services 1.33s
dc: [+] DNS 645ms
dc: Context Services
dc: [+] DNS Server 93ms
dc: [+] Active Directory Domain Services 62ms
dc: [+] Active Directory Web Services 12ms
dc: Context AD Module warm up
dc: [+] AD module warn up 469ms
dc: Context Users
dc: Context Domain Controller
dc: [+] domain: *.local 106ms
dc: [+] vm name: *.local 100ms
dc: Tests completed in 5.9s
dc: Tests Passed: 9, Failed: 0, Skipped: 0, Pending: 0, Inconclusive: 0
==> dc: Running provisioner: shell...
dc: Running: script: dc.users.dsc.ps1
dc: UPLIFT : 04-15-2019 17:50:33.908 : INFO : uplift/vagrant : Installing new domain controller...
dc: UPLIFT : 04-15-2019 17:50:34.002 : INFO : uplift/vagrant : Running as: uplift\vagrant
dc: UPLIFT : 04-15-2019 17:50:34.018 : INFO : uplift/vagrant : Uplift environmanet variables:
dc: UPLIFT : 04-15-2019 17:50:34.143 : INFO : uplift/vagrant : [ENV:UPLF_BOX_METADATA_GIT_BRANCH]: dev
dc: UPLIFT : 04-15-2019 17:50:34.143 : INFO : uplift/vagrant : [ENV:UPLF_BOX_METADATA_GIT_COMMIT]: c8d137e
dc: UPLIFT : 04-15-2019 17:50:34.143 : INFO : uplift/vagrant : [ENV:UPLF_DC_DOMAIN_ADMIN_NAME]: admin
dc: UPLIFT : 04-15-2019 17:50:34.143 : INFO : uplift/vagrant : [ENV:UPLF_DC_DOMAIN_ADMIN_PASSWORD]: ******
dc: UPLIFT : 04-15-2019 17:50:34.158 : INFO : uplift/vagrant : [ENV:UPLF_DC_DOMAIN_NAME]: uplift
dc: UPLIFT : 04-15-2019 17:50:34.158 : INFO : uplift/vagrant : [ENV:UPLF_VAGRANT_USER_NAME]: vagrant
dc: UPLIFT : 04-15-2019 17:50:34.158 : INFO : uplift/vagrant : [ENV:UPLF_VAGRANT_USER_PASSWORD]: ******
dc: UPLIFT : 04-15-2019 17:50:34.175 : INFO : uplift/vagrant : [ENV:UPLF_DC_DOMAIN_NAME]: uplift
dc: UPLIFT : 04-15-2019 17:50:34.189 : INFO : uplift/vagrant : [ENV:UPLF_VAGRANT_USER_NAME]: vagrant
dc: UPLIFT : 04-15-2019 17:50:34.189 : INFO : uplift/vagrant : [ENV:UPLF_VAGRANT_USER_PASSWORD]: ******
dc: UPLIFT : 04-15-2019 17:50:34.189 : INFO : uplift/vagrant : [ENV:UPLF_DC_DOMAIN_ADMIN_NAME]: admin
dc: UPLIFT : 04-15-2019 17:50:34.189 : INFO : uplift/vagrant : [ENV:UPLF_DC_DOMAIN_ADMIN_PASSWORD]: ******
dc: UPLIFT : 04-15-2019 17:50:34.189 : INFO : uplift/vagrant : Starting NTDS service...
dc: UPLIFT : 04-15-2019 17:50:34.299 : INFO : uplift/vagrant : Starting ADWS service...
dc: UPLIFT : 04-15-2019 17:50:34.299 : INFO : uplift/vagrant : Waiting for host to apply setting and make AD available...
dc: UPLIFT : 04-15-2019 17:50:34.330 : INFO : uplift/vagrant : [0/60] waiting for AD services to come online, resolving user: [vagrant]
dc: UPLIFT : 04-15-2019 17:50:34.706 : INFO : uplift/vagrant : Failed with Unable to find a default server with Active Directory Web Services running.
dc: UPLIFT : 04-15-2019 17:50:34.706 : INFO : uplift/vagrant : Sleeping [30000] milliseconds...
dc: UPLIFT : 04-15-2019 17:51:04.721 : INFO : uplift/vagrant : [1/60] waiting for AD services to come online, resolving user: [vagrant]
dc: UPLIFT : 04-15-2019 17:51:04.721 : INFO : uplift/vagrant : Failed with Unable to find a default server with Active Directory Web Services running.
dc: UPLIFT : 04-15-2019 17:51:04.721 : INFO : uplift/vagrant : Sleeping [30000] milliseconds...
dc: UPLIFT : 04-15-2019 17:51:34.752 : INFO : uplift/vagrant : [2/60] waiting for AD services to come online, resolving user: [vagrant]
dc: UPLIFT : 04-15-2019 17:51:34.752 : INFO : uplift/vagrant : Failed with Unable to find a default server with Active Directory Web Services running.
dc: UPLIFT : 04-15-2019 17:51:34.752 : INFO : uplift/vagrant : Sleeping [30000] milliseconds...
dc: UPLIFT : 04-15-2019 17:52:04.752 : INFO : uplift/vagrant : [3/60] waiting for AD services to come online, resolving user: [vagrant]
dc: UPLIFT : 04-15-2019 17:52:04.752 : INFO : uplift/vagrant : Failed with Unable to find a default server with Active Directory Web Services running.
dc: UPLIFT : 04-15-2019 17:52:04.752 : INFO : uplift/vagrant : Sleeping [30000] milliseconds...
dc: UPLIFT : 04-15-2019 17:52:34.768 : INFO : uplift/vagrant : [4/60] waiting for AD services to come online, resolving user: [vagrant]
dc: UPLIFT : 04-15-2019 17:52:34.783 : INFO : uplift/vagrant : Failed with Unable to find a default server with Active Directory Web Services running.
dc: UPLIFT : 04-15-2019 17:52:34.783 : INFO : uplift/vagrant : Sleeping [30000] milliseconds...
dc: UPLIFT : 04-15-2019 17:53:04.784 : INFO : uplift/vagrant : [5/60] waiting for AD services to come online, resolving user: [vagrant]
dc: UPLIFT : 04-15-2019 17:53:04.784 : INFO : uplift/vagrant : Failed with Unable to find a default server with Active Directory Web Services running.
dc: UPLIFT : 04-15-2019 17:53:04.799 : INFO : uplift/vagrant : Sleeping [30000] milliseconds...
dc: UPLIFT : 04-15-2019 17:53:34.815 : INFO : uplift/vagrant : [6/60] waiting for AD services to come online, resolving user: [vagrant]
dc: UPLIFT : 04-15-2019 17:53:34.815 : INFO : uplift/vagrant : Failed with Unable to find a default server with Active Directory Web Services running.
dc: UPLIFT : 04-15-2019 17:53:34.815 : INFO : uplift/vagrant : Sleeping [30000] milliseconds...
dc: UPLIFT : 04-15-2019 17:54:04.846 : INFO : uplift/vagrant : [7/60] waiting for AD services to come online, resolving user: [vagrant]
dc: UPLIFT : 04-15-2019 17:54:07.768 : INFO : uplift/vagrant : [7/60] No error! Nice!
dc: UPLIFT : 04-15-2019 17:54:08.471 : INFO : uplift/vagrant : [~] cannot find env variable by name: UPLF_DSC_CONFIG_PATH - default value, will try default value if provided
dc: UPLIFT : 04-15-2019 17:54:08.471 : INFO : uplift/vagrant : - using default value
dc: UPLIFT : 04-15-2019 17:54:08.471 : INFO : uplift/vagrant : [ENV:UPLF_DSC_CONFIG_PATH]: C:/_uplift_dsc
dc: UPLIFT : 04-15-2019 17:54:08.486 : INFO : uplift/vagrant : [~] ensuring folder: C:/_uplift_dsc for config: Configure_DomainUsers
dc: UPLIFT : 04-15-2019 17:54:08.534 : INFO : uplift/vagrant : [~] previous configuration dose not exist: C:/_uplift_dsc\Configure_DomainUsers
dc: UPLIFT : 04-15-2019 17:54:08.534 : INFO : uplift/vagrant : Compiling new configuration: Configure_DomainUsers
dc: UPLIFT : 04-15-2019 17:54:10.924 : INFO : uplift/vagrant : Starting configuration: Configure_DomainUsers
dc: UPLIFT : 04-15-2019 17:54:13.002 : INFO : uplift/vagrant : Completed in: 2036
dc: UPLIFT : 04-15-2019 17:54:13.002 : INFO : uplift/vagrant : Testing configuration: Configure_DomainUsers
dc: UPLIFT : 04-15-2019 17:54:13.158 : INFO : uplift/vagrant : [+] No check for DSC [Configure_DomainUsers] is done. Skipping.
dc: PSComputerName ResourcesInDesiredState ResourcesNotInDesiredState InDesiredState
dc: -------------- ----------------------- -------------------------- --------------
dc: localhost {[xADUser]DomainAdmin} True
dc: UPLIFT : 04-15-2019 17:54:14.252 : INFO : uplift/vagrant : Ensuring group memberships...
dc: UPLIFT : 04-15-2019 17:54:14.252 : INFO : uplift/vagrant : [1/2] Ensuring group memberships...
==> dc: Running provisioner: uplift_checkpoint...
==> dc: Running provisioner: shell...
dc: Running: script: soe.shortcuts.dsc.ps1
dc: UPLIFT : 04-15-2019 17:54:37.362 : INFO : uplift/vagrant : Running DSC Configure_Shortcuts...
dc: UPLIFT : 04-15-2019 17:54:37.596 : INFO : uplift/vagrant : [~] cannot find env variable by name: UPLF_DSC_CONFIG_PATH - default value, will try default value if provided
dc: UPLIFT : 04-15-2019 17:54:37.611 : INFO : uplift/vagrant : - using default value
dc: UPLIFT : 04-15-2019 17:54:37.611 : INFO : uplift/vagrant : [ENV:UPLF_DSC_CONFIG_PATH]: C:/_uplift_dsc
dc: UPLIFT : 04-15-2019 17:54:37.627 : INFO : uplift/vagrant : [~] ensuring folder: C:/_uplift_dsc for config: SOE_Shortcuts
dc: UPLIFT : 04-15-2019 17:54:37.674 : INFO : uplift/vagrant : [~] previous configuration dose not exist: C:/_uplift_dsc\SOE_Shortcuts
dc: UPLIFT : 04-15-2019 17:54:37.674 : INFO : uplift/vagrant : Compiling new configuration: SOE_Shortcuts
dc: UPLIFT : 04-15-2019 17:54:40.189 : INFO : uplift/vagrant : Starting configuration: SOE_Shortcuts
dc: UPLIFT : 04-15-2019 17:54:41.189 : INFO : uplift/vagrant : Completed in: 996
dc: UPLIFT : 04-15-2019 17:54:41.189 : INFO : uplift/vagrant : Testing configuration: SOE_Shortcuts
dc: UPLIFT : 04-15-2019 17:54:41.689 : INFO : uplift/vagrant : Expecting DSC [SOE_Shortcuts] in a desired state
dc: UPLIFT : 04-15-2019 17:54:41.689 : INFO : uplift/vagrant : [+] DSC: SOE_Shortcuts is in a desired state
dc: UPLIFT : 04-15-2019 17:54:41.972 : INFO : uplift/vagrant : ResourcesInDesiredState
dc: UPLIFT : 04-15-2019 17:54:41.986 : INFO : uplift/vagrant : [+] [cShortcut]IE_Desktop
dc: UPLIFT : 04-15-2019 17:54:41.986 : INFO : uplift/vagrant : [+] [cShortcut]PowerShell_ISE_Desktop
dc: UPLIFT : 04-15-2019 17:54:41.986 : INFO : uplift/vagrant : [+] [cShortcut]PowerShell_6_Desktop
dc: UPLIFT : 04-15-2019 17:54:41.986 : INFO : uplift/vagrant : [+] [cShortcut]ADUsers
dc: UPLIFT : 04-15-2019 17:54:41.986 : INFO : uplift/vagrant : [+] [cShortcut]ServerManager
dc: UPLIFT : 04-15-2019 17:54:42.002 : INFO : uplift/vagrant : [+] [cShortcut]Services
dc: UPLIFT : 04-15-2019 17:54:42.002 : INFO : uplift/vagrant :
dc: UPLIFT : 04-15-2019 17:54:42.002 : INFO : uplift/vagrant : ResourcesNotInDesiredState
dc: PSComputerName ResourcesInDesiredState ResourcesNotInDesiredState InDesiredState
dc: -------------- ----------------------- -------------------------- --------------
dc: localhost {[cShortcut]IE_Desktop, [cS... True
==> dc: Running provisioner: uplift_checkpoint...
==> dc: Running provisioner: shell...
dc: Running: script: crm-ps-modules
dc: UPLIFT : 04-15-2019 17:55:05.674 : INFO : uplift/vagrant : Installing PowerShell Modules...
dc: UPLIFT : 04-15-2019 17:55:05.768 : INFO : uplift/vagrant : Uplift environmanet variables:
dc: UPLIFT : 04-15-2019 17:55:05.861 : INFO : uplift/vagrant : [ENV:UPLF_BOX_METADATA_GIT_BRANCH]: dev
dc: UPLIFT : 04-15-2019 17:55:05.861 : INFO : uplift/vagrant : [ENV:UPLF_BOX_METADATA_GIT_COMMIT]: c8d137e
dc: UPLIFT : 04-15-2019 17:55:05.877 : INFO : uplift/vagrant : Installing DSC modules: System.Collections.Hashtable
dc: UPLIFT : 04-15-2019 17:55:05.955 : INFO : uplift/vagrant : [1/5] ensuring package: xActiveDirectory 2.21.0.0
dc: UPLIFT : 04-15-2019 17:55:05.955 : INFO : uplift/vagrant : checking if package exists: xActiveDirectory 2.21.0.0
dc: UPLIFT : 04-15-2019 17:55:09.689 : INFO : uplift/vagrant : package does not exist (PS), installing: xActiveDirectory 2.21.0.0
dc: Name Version Source Summary
dc: ---- ------- ------ -------
dc: xActiveDirectory 2.21.0.0 PSGallery The xActiveDirectory module is originally part of t...
dc: UPLIFT : 04-15-2019 17:55:20.096 : INFO : uplift/vagrant : [1/5] finished ensuring package: xActiveDirectory 2.21.0.0
==> dc: Running provisioner: uplift_checkpoint...
==> dc: Running provisioner: shell...
dc: Running: script: crm-domain-users
dc: UPLIFT : 04-15-2019 17:55:42.830 : INFO : uplift/vagrant : Configuring DC with CRM specific settings
dc: UPLIFT : 04-15-2019 17:55:42.908 : INFO : uplift/vagrant : Running as: uplift\vagrant
dc: UPLIFT : 04-15-2019 17:55:42.908 : INFO : uplift/vagrant : Uplift environmanet variables:
dc: UPLIFT : 04-15-2019 17:55:43.002 : INFO : uplift/vagrant : [ENV:UPLF_BOX_METADATA_GIT_BRANCH]: dev
dc: UPLIFT : 04-15-2019 17:55:43.002 : INFO : uplift/vagrant : [ENV:UPLF_BOX_METADATA_GIT_COMMIT]: c8d137e
dc: UPLIFT : 04-15-2019 17:55:43.174 : INFO : uplift/vagrant : [~] cannot find env variable by name: UPLF_DSC_CONFIG_PATH - default value, will try default value if provided
dc: UPLIFT : 04-15-2019 17:55:43.189 : INFO : uplift/vagrant : - using default value
dc: UPLIFT : 04-15-2019 17:55:43.189 : INFO : uplift/vagrant : [ENV:UPLF_DSC_CONFIG_PATH]: C:/_uplift_dsc
dc: UPLIFT : 04-15-2019 17:55:43.206 : INFO : uplift/vagrant : [~] ensuring folder: C:/_uplift_dsc for config: ConfigureDomainForCRM
dc: UPLIFT : 04-15-2019 17:55:43.236 : INFO : uplift/vagrant : [~] previous configuration dose not exist: C:/_uplift_dsc\ConfigureDomainForCRM
dc: UPLIFT : 04-15-2019 17:55:43.252 : INFO : uplift/vagrant : Compiling new configuration: ConfigureDomainForCRM
dc: WARNING: It is not recommended to use domain credential for node 'localhost'. In order to suppress the warning, you can
dc: add a property named 'PSDscAllowDomainUser' with a value of $true to your DSC configuration data for node 'localhost'.
dc: UPLIFT : 04-15-2019 17:55:46.877 : INFO : uplift/vagrant : Starting configuration: ConfigureDomainForCRM
dc: UPLIFT : 04-15-2019 17:55:53.096 : INFO : uplift/vagrant : Completed in: 6205
dc: UPLIFT : 04-15-2019 17:55:53.096 : INFO : uplift/vagrant : Testing configuration: ConfigureDomainForCRM
dc: UPLIFT : 04-15-2019 17:55:54.580 : INFO : uplift/vagrant : Expecting DSC [ConfigureDomainForCRM] in a desired state
dc: UPLIFT : 04-15-2019 17:55:54.580 : INFO : uplift/vagrant : [+] DSC: ConfigureDomainForCRM is in a desired state
dc: UPLIFT : 04-15-2019 17:55:54.893 : INFO : uplift/vagrant : ResourcesInDesiredState
dc: UPLIFT : 04-15-2019 17:55:54.908 : INFO : uplift/vagrant : [+] [xADUser]SqlRSAccountCredentialUser
dc: UPLIFT : 04-15-2019 17:55:54.908 : INFO : uplift/vagrant : [+] [xADUser]CRMInstallAccountUser
dc: UPLIFT : 04-15-2019 17:55:54.924 : INFO : uplift/vagrant : [+] [xADUser]CRMServiceAccountUser
dc: UPLIFT : 04-15-2019 17:55:54.924 : INFO : uplift/vagrant : [+] [xADUser]DeploymentServiceAccountUser
dc: UPLIFT : 04-15-2019 17:55:54.924 : INFO : uplift/vagrant : [+] [xADUser]SandboxServiceAccountUser
dc: UPLIFT : 04-15-2019 17:55:54.924 : INFO : uplift/vagrant : [+] [xADUser]VSSWriterServiceAccountUser
dc: UPLIFT : 04-15-2019 17:55:54.924 : INFO : uplift/vagrant : [+] [xADUser]AsyncServiceAccountUser
dc: UPLIFT : 04-15-2019 17:55:54.939 : INFO : uplift/vagrant : [+] [xADUser]MonitoringServiceAccountUser
dc: UPLIFT : 04-15-2019 17:55:54.939 : INFO : uplift/vagrant : [+] [xADOrganizationalUnit]CRMGroupsOU
dc: UPLIFT : 04-15-2019 17:55:54.939 : INFO : uplift/vagrant : [+] [xADGroup]CRMPrivUserGroup
dc: UPLIFT : 04-15-2019 17:55:54.939 : INFO : uplift/vagrant : [+] [xADObjectPermissionEntry]OUPermissions
dc: UPLIFT : 04-15-2019 17:55:54.939 : INFO : uplift/vagrant : [+] [xADGroup]CRMSQLAccessGroup
dc: UPLIFT : 04-15-2019 17:55:54.939 : INFO : uplift/vagrant : [+] [xADGroup]CRMUserGroup
dc: UPLIFT : 04-15-2019 17:55:54.955 : INFO : uplift/vagrant : [+] [xADGroup]CRMReportingGroup
dc: UPLIFT : 04-15-2019 17:55:54.955 : INFO : uplift/vagrant : [+] [xADGroup]CRMPrivReportingGroup
dc: UPLIFT : 04-15-2019 17:55:54.955 : INFO : uplift/vagrant : [+] [xADGroup]EnterpriseAdminGroup
dc: UPLIFT : 04-15-2019 17:55:54.955 : INFO : uplift/vagrant : [+] [xADGroup]DomainAdminGroup
dc: UPLIFT : 04-15-2019 17:55:54.955 : INFO : uplift/vagrant : [+] [xADGroup]Administrators
dc: UPLIFT : 04-15-2019 17:55:54.971 : INFO : uplift/vagrant :
dc: UPLIFT : 04-15-2019 17:55:54.971 : INFO : uplift/vagrant : ResourcesNotInDesiredState
dc: PSComputerName ResourcesInDesiredState ResourcesNotInDesiredState InDesiredState
dc: -------------- ----------------------- -------------------------- --------------
dc: localhost {[xADUser]SqlRSAccountCrede... True
==> dc: Running provisioner: uplift_checkpoint...
==> crm: Box 'SubPointSolutions/win-2016-datacenter-app-sql16-sp2' could not be found. Attempting to find and install...
crm: Box Provider: virtualbox
crm: Box Version: >= 0
==> crm: Loading metadata for box 'SubPointSolutions/win-2016-datacenter-app-sql16-sp2'
crm: URL: https://vagrantcloud.com/SubPointSolutions/win-2016-datacenter-app-sql16-sp2
==> crm: Adding box 'SubPointSolutions/win-2016-datacenter-app-sql16-sp2' (v1902.18) for provider: virtualbox
crm: Downloading: https://vagrantcloud.com/SubPointSolutions/boxes/win-2016-datacenter-app-sql16-sp2/versions/1902.18/providers/virtualbox.box
crm: Download redirected to host: vagrantcloud-files-production.s3.amazonaws.com
crm:
==> crm: Successfully added box 'SubPointSolutions/win-2016-datacenter-app-sql16-sp2' (v1902.18) for 'virtualbox'!
==> crm: Importing base box 'SubPointSolutions/win-2016-datacenter-app-sql16-sp2'...
==> crm: Matching MAC address for NAT networking...
==> crm: Setting the name of the VM: crm-dev_crm_1555316783584_78597
==> crm: Fixed port collision for 3389 => 3389. Now on port 2200.
==> crm: Fixed port collision for 5985 => 55985. Now on port 2201.
==> crm: Fixed port collision for 5986 => 55986. Now on port 2202.
==> crm: Fixed port collision for 22 => 2222. Now on port 2203.
==> crm: Clearing any previously set network interfaces...
==> crm: Preparing network interfaces based on configuration...
crm: Adapter 1: nat
crm: Adapter 2: hostonly
==> crm: Forwarding ports...
crm: 3389 (guest) => 2200 (host) (adapter 1)
crm: 5985 (guest) => 2201 (host) (adapter 1)
crm: 5986 (guest) => 2202 (host) (adapter 1)
crm: 22 (guest) => 2203 (host) (adapter 1)
==> crm: Running 'pre-boot' VM customizations...
==> crm: Booting VM...
==> crm: Waiting for machine to boot. This may take a few minutes...
crm: WinRM address: 127.0.0.1:2201
crm: WinRM username: vagrant
crm: WinRM execution_time_limit: PT2H
crm: WinRM transport: plaintext
==> crm: Machine booted and ready!
==> crm: Checking for guest additions in VM...
crm: The guest additions on this VM do not match the installed version of
crm: VirtualBox! In most cases this is fine, but in rare cases it can
crm: prevent things such as shared folders from working properly. If you see
crm: shared folder errors, please make sure the guest additions within the
crm: virtual machine match the version of VirtualBox you have installed on
crm: your host and reload your VM.
crm:
crm: Guest Additions Version: 5.2.22
crm: VirtualBox Version: 6.0
==> crm: Setting hostname...
==> crm: Configuring and enabling network interfaces...
==> crm: Running provisioner: shell...
crm: Running: D:/.vagrant.d/gems/2.4.4/gems/vagrant-uplift-0.2.1902.49/lib/scripts/vagrant/uplift.vagrant.core/uplift.fix-second-network.ps1 as c:\tmp\vagrant-shell.ps1
crm: UPLIFT : 04-15-2019 08:33:49.136 : INFO : CRM/vagrant : Fixing up network settings...
crm: UPLIFT : 04-15-2019 08:33:49.230 : INFO : CRM/vagrant : Running as: CRM\vagrant
crm: UPLIFT : 04-15-2019 08:33:49.230 : INFO : CRM/vagrant : Uplift environmanet variables:
crm: UPLIFT : 04-15-2019 08:33:49.355 : INFO : CRM/vagrant : [ENV:UPLF_BOX_METADATA_GIT_BRANCH]: dev
crm: UPLIFT : 04-15-2019 08:33:49.355 : INFO : CRM/vagrant : [ENV:UPLF_BOX_METADATA_GIT_COMMIT]: 3ef49c1
crm: UPLIFT : 04-15-2019 08:33:49.370 : INFO : CRM/vagrant : - ip : 192.168.16.6
crm: UPLIFT : 04-15-2019 08:33:49.370 : INFO : CRM/vagrant : - subnet: 192.168.16
crm: UPLIFT : 04-15-2019 08:33:51.257 : INFO : CRM/vagrant : Set IP address to 192.168.16.6 of interface Ethernet 2
crm: UPLIFT : 04-15-2019 08:33:51.387 : INFO : CRM/vagrant : Checking exit code: 0 with allowed values: 0 1
crm: UPLIFT : 04-15-2019 08:33:51.387 : INFO : CRM/vagrant : [+] exit code is: 0 within allowed values: 0 1
crm: UPLIFT : 04-15-2019 08:33:51.387 : INFO : CRM/vagrant : Set DNS server address to 192.168.16.5 of interface Ethernet 2
crm: The configured DNS server is incorrect or does not exist.
crm: UPLIFT : 04-15-2019 08:34:01.657 : INFO : CRM/vagrant : Checking exit code: 0 with allowed values: 0 1
crm: UPLIFT : 04-15-2019 08:34:01.657 : INFO : CRM/vagrant : [+] exit code is: 0 within allowed values: 0 1
==> crm: Running provisioner: shell...
crm: Running: script: soe.dsc.ps1
crm: UPLIFT : 04-15-2019 08:34:31.113 : INFO : CRM/vagrant : Running windows SOE config...
crm: UPLIFT : 04-15-2019 08:34:31.207 : INFO : CRM/vagrant : Running as: CRM\vagrant
crm: UPLIFT : 04-15-2019 08:34:31.222 : INFO : CRM/vagrant : Uplift environmanet variables:
crm: UPLIFT : 04-15-2019 08:34:31.316 : INFO : CRM/vagrant : [ENV:UPLF_BOX_METADATA_GIT_BRANCH]: dev
crm: UPLIFT : 04-15-2019 08:34:31.331 : INFO : CRM/vagrant : [ENV:UPLF_BOX_METADATA_GIT_COMMIT]: 3ef49c1
crm: UPLIFT : 04-15-2019 08:34:31.331 : INFO : CRM/vagrant : [ENV:UPLF_DSC_CHECK]: 1
crm: UPLIFT : 04-15-2019 08:34:31.331 : INFO : CRM/vagrant : Disabling Firewalls...
crm: UPLIFT : 04-15-2019 08:34:34.203 : INFO : CRM/vagrant : [~] cannot find env variable by name: UPLF_SOE_TIME_ZONE_NAME - , will try default value if provided
crm: UPLIFT : 04-15-2019 08:34:34.203 : INFO : CRM/vagrant : - using default value
crm: UPLIFT : 04-15-2019 08:34:34.203 : INFO : CRM/vagrant : [ENV:UPLF_SOE_TIME_ZONE_NAME]: AUS Eastern Standard Time
crm: UPLIFT : 04-15-2019 08:34:34.281 : INFO : CRM/vagrant : [~] cannot find env variable by name: UPLF_DSC_CONFIG_PATH - default value, will try default value if provided
crm: UPLIFT : 04-15-2019 08:34:34.281 : INFO : CRM/vagrant : - using default value
crm: UPLIFT : 04-15-2019 08:34:34.281 : INFO : CRM/vagrant : [ENV:UPLF_DSC_CONFIG_PATH]: C:/_uplift_dsc
crm: UPLIFT : 04-15-2019 08:34:34.313 : INFO : CRM/vagrant : [~] ensuring folder: C:/_uplift_dsc for config: Configure_WinSOE
crm: UPLIFT : 04-15-2019 08:34:34.375 : INFO : CRM/vagrant : [~] previous configuration dose not exist: C:/_uplift_dsc\Configure_WinSOE
crm: UPLIFT : 04-15-2019 08:34:34.375 : INFO : CRM/vagrant : Compiling new configuration: Configure_WinSOE
crm: UPLIFT : 04-15-2019 08:34:39.698 : INFO : CRM/vagrant : Starting configuration: Configure_WinSOE
crm: UPLIFT : 04-15-2019 08:34:58.354 : INFO : CRM/vagrant : Completed in: 18514
crm: UPLIFT : 04-15-2019 08:34:58.354 : INFO : CRM/vagrant : Testing configuration: Configure_WinSOE
crm: UPLIFT : 04-15-2019 08:35:09.421 : INFO : CRM/vagrant : Expecting DSC [Configure_WinSOE] in a desired state
crm: UPLIFT : 04-15-2019 08:35:09.421 : INFO : CRM/vagrant : [+] DSC: Configure_WinSOE is in a desired state
crm: UPLIFT : 04-15-2019 08:35:09.593 : INFO : CRM/vagrant : ResourcesInDesiredState
crm: UPLIFT : 04-15-2019 08:35:09.624 : INFO : CRM/vagrant : [+] [User]Vagrant
crm: UPLIFT : 04-15-2019 08:35:09.624 : INFO : CRM/vagrant : [+] [TimeZone]TimeZone
crm: UPLIFT : 04-15-2019 08:35:09.624 : INFO : CRM/vagrant : [+] [WindowsFeature]ADDSInstall
crm: UPLIFT : 04-15-2019 08:35:09.624 : INFO : CRM/vagrant : [+] [WindowsFeature]ADDSRSAT
crm: UPLIFT : 04-15-2019 08:35:09.624 : INFO : CRM/vagrant : [+] [WindowsFeature]RSAT
crm: UPLIFT : 04-15-2019 08:35:09.624 : INFO : CRM/vagrant : [+] [Registry]WindowsUpdate_NoAutoUpdate
crm: UPLIFT : 04-15-2019 08:35:09.640 : INFO : CRM/vagrant : [+] [Registry]WindowsUpdate_AUOptions
crm: UPLIFT : 04-15-2019 08:35:09.640 : INFO : CRM/vagrant : [+] [Registry]Windows_RemoteConnections
crm: UPLIFT : 04-15-2019 08:35:09.640 : INFO : CRM/vagrant : [+] [Registry]IEEscKey::[xIEEsc]Disable_IEEsc
crm: UPLIFT : 04-15-2019 08:35:09.655 : INFO : CRM/vagrant :
crm: UPLIFT : 04-15-2019 08:35:09.655 : INFO : CRM/vagrant : ResourcesNotInDesiredState
crm: PSComputerName ResourcesInDesiredState ResourcesNotInDesiredState InDesiredState
crm: -------------- ----------------------- -------------------------- --------------
crm: localhost {[User]Vagrant, [TimeZone]T... True
==> crm: Running provisioner: file...
crm: D:/.vagrant.d/gems/2.4.4/gems/vagrant-uplift-0.2.1902.49/lib/scripts/vagrant/uplift.vagrant.win12soe/tests/soe.dsc.modules.Tests.ps1 => c:/windows/temp/tests/soe.dsc.modules.Tests.ps1
==> crm: Running provisioner: shell...
crm: Running: script: c:/windows/temp/tests/soe.dsc.modules.Tests.ps1
crm: Executing all tests in 'c:/windows/temp/tests/soe.dsc.modules.Tests.ps1'
crm: Executing script c:/windows/temp/tests/soe.dsc.modules.Tests.ps1
crm: Describing PowerShell DCS
crm: Context Modules
crm: [+] cChoco 1.31s
crm: [+] cFirewall 202ms
crm: [+] SharePointDSC 38ms
crm: [+] MS_xVisualStudio 52ms
crm: [+] xActiveDirectory 49ms
crm: [+] xSQLServer 37ms
crm: [+] xDSCFirewall 32ms
crm: [+] xNetworking 46ms
crm: [+] xTimeZone 29ms
crm: [+] xWebAdministration 33ms
crm: [+] xPendingReboot 25ms
crm: [+] xComputerManagement 27ms
crm: [+] Pester 33ms
crm: [+] xSystemSecurity 26ms
crm: [+] DSCR_Shortcut 34ms
crm: [+] PSWindowsUpdate 66ms
crm: Tests completed in 2.05s
crm: Tests Passed: 16, Failed: 0, Skipped: 0, Pending: 0, Inconclusive: 0
==> crm: Running provisioner: file...
crm: D:/.vagrant.d/gems/2.4.4/gems/vagrant-uplift-0.2.1902.49/lib/scripts/vagrant/uplift.vagrant.win12soe/tests/soe.dsc.os.Tests.ps1 => c:/windows/temp/tests/soe.dsc.os.Tests.ps1
==> crm: Running provisioner: shell...
crm: Running: script: c:/windows/temp/tests/soe.dsc.os.Tests.ps1
crm: Executing all tests in 'c:/windows/temp/tests/soe.dsc.os.Tests.ps1'
crm: Executing script c:/windows/temp/tests/soe.dsc.os.Tests.ps1
crm: Describing OS
crm: Context Settings
crm: [+] AUS Eastern Standard Time 2.57s
crm: [+] NoAutoUpdate = 1 895ms
crm: [+] AUOptions = 1 24ms
crm: Context Features
crm: [+] AD-Domain-Services 4.12s
crm: [+] RSAT-ADDS-Tools 844ms
crm: [+] RSAT 1.88s
crm: Context Firewall
crm: [+] domain is OFF 102ms
crm: [+] public is OFF 14ms
crm: [+] private is OFF 16ms
crm: Context Tools
crm: [+] choco is installed 487ms
crm: [+] 7zip is installed 18ms
crm: [+] git is installed 17ms
crm: [+] curl is installed 23ms
crm: [+] wget is installed 20ms
crm: [+] pwsh is installed 27ms
crm: Tests completed in 11.07s
crm: Tests Passed: 15, Failed: 0, Skipped: 0, Pending: 0,
==> crm: Running provisioner: uplift_checkpoint...
==> crm: Running provisioner: shell...
crm: Running: D:/.vagrant.d/gems/2.4.4/gems/vagrant-uplift-0.2.1902.49/lib/scripts/vagrant/uplift.vagrant.dcjoin/dc.join.dsc.ps1 as c:\tmp\vagrant-shell.ps1
crm: UPLIFT : 04-15-2019 18:37:39.679 : INFO : CRM/vagrant : Running windows SOE config...
crm: UPLIFT : 04-15-2019 18:37:39.835 : INFO : CRM/vagrant : Running as: CRM\vagrant
crm: UPLIFT : 04-15-2019 18:37:39.835 : INFO : CRM/vagrant : Uplift environmanet variables:
crm: UPLIFT : 04-15-2019 18:37:39.960 : INFO : CRM/vagrant : [ENV:UPLF_BOX_METADATA_GIT_BRANCH]: dev
crm: UPLIFT : 04-15-2019 18:37:39.976 : INFO : CRM/vagrant : [ENV:UPLF_BOX_METADATA_GIT_COMMIT]: 3ef49c1
crm: UPLIFT : 04-15-2019 18:37:39.976 : INFO : CRM/vagrant : [ENV:UPLF_DC_DOMAIN_HOST_IP]: 192.168.16.5
crm: UPLIFT : 04-15-2019 18:37:39.976 : INFO : CRM/vagrant : [ENV:UPLF_DC_DOMAIN_NAME]: uplift
crm: UPLIFT : 04-15-2019 18:37:39.976 : INFO : CRM/vagrant : [ENV:UPLF_DC_JOIN_USER_NAME]: admin
crm: UPLIFT : 04-15-2019 18:37:39.976 : INFO : CRM/vagrant : [ENV:UPLF_DC_JOIN_USER_PASSWORD]: ******
crm: UPLIFT : 04-15-2019 18:37:40.023 : INFO : CRM/vagrant : [ENV:UPLF_DC_DOMAIN_NAME]: uplift
crm: UPLIFT : 04-15-2019 18:37:40.023 : INFO : CRM/vagrant : [ENV:UPLF_DC_JOIN_USER_NAME]: admin
crm: UPLIFT : 04-15-2019 18:37:40.023 : INFO : CRM/vagrant : [ENV:UPLF_DC_JOIN_USER_PASSWORD]: ******
crm: UPLIFT : 04-15-2019 18:37:40.040 : INFO : CRM/vagrant : [ENV:UPLF_DC_DOMAIN_HOST_IP]: 192.168.16.5
crm: UPLIFT : 04-15-2019 18:37:40.040 : INFO : CRM/vagrant : Joining computer [CRM] to domain [uplift] under user [admin]
crm: UPLIFT : 04-15-2019 18:37:40.040 : INFO : CRM/vagrant : Running as :[CRM/vagrant] on CRM
crm: UPLIFT : 04-15-2019 18:37:40.125 : INFO : CRM/vagrant : Importing ActiveDirectory module...
crm: WARNING: Error initializing default drive: 'Unable to find a default server with Active Directory Web Services
crm: running.'.
crm: UPLIFT : 04-15-2019 18:37:40.588 : INFO : CRM/vagrant : Joining current computer to domain...
crm: UPLIFT : 04-15-2019 18:37:40.997 : INFO : CRM/vagrant : ipconfig /flushdns
crm: Windows IP Configuration
crm: Successfully flushed the DNS Resolver Cache.
crm: UPLIFT : 04-15-2019 18:37:41.028 : INFO : CRM/vagrant : pinging dc: 192.168.16.5
crm: Pinging 192.168.16.5 with 32 bytes of data:
crm: Reply from 10.190.0.226: Destination net unreachable.
crm: Reply from 10.190.0.226: Destination net unreachable.
crm: Reply from 10.190.0.226: Destination net unreachable.
crm: Reply from 10.190.0.226: Destination net unreachable.
crm: Ping statistics for 192.168.16.5:
crm: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
crm: UPLIFT : 04-15-2019 18:37:44.085 : INFO : CRM/vagrant : Deleting old computer from the domain...
crm: UPLIFT : 04-15-2019 18:37:44.116 : INFO : CRM/vagrant : Fetching computer from Active Directory: CRM
crm: UPLIFT : 04-15-2019 18:38:50.617 : INFO : CRM/vagrant : There was an error while fetching computer from Active Directory:[CRM]
crm: UPLIFT : 04-15-2019 18:38:50.617 : INFO : CRM/vagrant : Mostlikely, computer CRM has never been added to Active Directory yet
crm: UPLIFT : 04-15-2019 18:38:50.617 : INFO : CRM/vagrant : Unable to contact the server. This may be because this server does not exist, it is currently down, or it does not have the Active Directory Web Services running.
crm: UPLIFT : 04-15-2019 18:38:50.635 : INFO : CRM/vagrant : Microsoft.ActiveDirectory.Management.ADServerDownException: Unable to contact the server. This may be because this server does not exist, it is currently down, or it does not have the Active Directory Web Services running. ---> System.ServiceModel.EndpointNotFoundException: Could not connect to net.tcp://192.168.16.5:9389/ActiveDirectoryWebServices/Windows/Resource. The connection attempt lasted for a time span of 00:00:20.9348028. TCP error code 10060: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.16.5:9389. ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.16.5:9389
crm: at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
crm: at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
crm: at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
crm: --- End of inner exception stack trace ---
crm: Server stack trace:
crm: at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
crm: at System.ServiceModel.Channels.BufferedConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
crm: at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)
crm: at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)
crm: at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
crm: at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
crm: at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
crm: at System.ServiceModel.Channels.ServiceChannel.CallOpenOnce.System.ServiceModel.Channels.ServiceChannel.ICallOnce.Call(ServiceChannel channel, TimeSpan timeout)
crm: at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)
crm: at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)
crm: at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
crm: at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
crm: at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
crm: Exception rethrown at [0]:
crm: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
crm: at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
crm: at Microsoft.ActiveDirectory.WebServices.Proxy.Resource.Get(Message request)
crm: at Microsoft.ActiveDirectory.Management.AdwsConnection.SearchAnObject(ADSearchRequest request)
crm: --- End of inner exception stack trace ---
crm: at Microsoft.ActiveDirectory.Management.AdwsConnection.InitializeForAutoReconnect[TChannel](Boolean& isAutoReconnecting, TChannel& channel, ChannelFactory`1& chFactory, String endpointName, CommunicationException& commException)
crm: at Microsoft.ActiveDirectory.Management.AdwsConnection.SearchAnObject(ADSearchRequest request)
crm: at Microsoft.ActiveDirectory.Management.AdwsConnection.Search(ADSearchRequest request)
crm: at Microsoft.ActiveDirectory.Management.ADWebServiceStoreAccess.Microsoft.ActiveDirectory.Management.IADSyncOperations.Search(ADSessionHandle handle, ADSearchRequest request)
crm: at Microsoft.ActiveDirectory.Management.ADObjectSearcher.GetRootDSE()
crm: at Microsoft.ActiveDirectory.Management.Commands.ADCmdletBase`1.GetRootDSE()
crm: at Microsoft.ActiveDirectory.Management.Commands.ADCmdletBase`1.GetConnectedStore()
crm: at Microsoft.ActiveDirectory.Management.Commands.ADCmdletBase`1.GetCmdletSessionInfo()
crm: at Microsoft.ActiveDirectory.Management.Commands.ADGetCmdletBase`3.ADGetCmdletBaseProcessCSRoutine()
crm: at Microsoft.ActiveDirectory.Management.CmdletSubroutinePipeline.Invoke()
crm: at Microsoft.ActiveDirectory.Management.Commands.ADCmdletBase`1.ProcessRecord()
crm: UPLIFT : 04-15-2019 18:38:50.635 : INFO : CRM/vagrant : No need to remove computer CRM from Active Directory
crm: UPLIFT : 04-15-2019 18:38:50.652 : INFO : CRM/vagrant : Joining computer to the domain...
crm: UPLIFT : 04-15-2019 18:38:50.652 : INFO : CRM/vagrant : Joining computer [CRM] to domain [uplift]
crm: UPLIFT : 04-15-2019 18:38:55.517 : INFO : CRM/vagrant : Error while adding ccomputer [CRM] to domain [uplift]
crm: UPLIFT : 04-15-2019 18:38:55.517 : INFO : CRM/vagrant : Computer 'crm' failed to join domain 'uplift' from its current workgroup 'WORKGROUP' with following error message: The specified domain either does not exist or could not be contacted.
crm: Add-Computer : Computer 'crm' failed to join domain 'uplift' from its current workgroup 'WORKGROUP' with following
crm: error message: The specified domain either does not exist or could not be contacted.
crm: At C:\tmp\vagrant-shell.ps1:106 char:13
crm: + Add-Computer -DomainName $domainName `
crm: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
crm: + CategoryInfo : OperationStopped: (crm:String) [Add-Computer], InvalidOperationException
crm: + FullyQualifiedErrorId : FailToJoinDomainFromWorkgroup,Microsoft.PowerShell.Commands.AddComputerCommand
The following WinRM command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
$env:UPLF_DC_DOMAIN_NAME = "uplift"; $env:UPLF_DC_JOIN_USER_NAME = "admin"; $env:UPLF_DC_JOIN_USER_PASSWORD = "uplift!QAZ"; $env:UPLF_DC_DOMAIN_HOST_IP = "192.168.16.5"; powershell -ExecutionPolicy Bypass -OutputFormat Text -file "c:\tmp\vagrant-shell.ps1"
Stdout from the command:
UPLIFT : 04-15-2019 18:37:39.679 : INFO : CRM/vagrant : Running windows SOE config...
UPLIFT : 04-15-2019 18:37:39.835 : INFO : CRM/vagrant : Running as: CRM\vagrant
UPLIFT : 04-15-2019 18:37:39.835 : INFO : CRM/vagrant : Uplift environmanet variables:
UPLIFT : 04-15-2019 18:37:39.960 : INFO : CRM/vagrant : [ENV:UPLF_BOX_METADATA_GIT_BRANCH]: dev
UPLIFT : 04-15-2019 18:37:39.976 : INFO : CRM/vagrant : [ENV:UPLF_BOX_METADATA_GIT_COMMIT]: 3ef49c1
UPLIFT : 04-15-2019 18:37:39.976 : INFO : CRM/vagrant : [ENV:UPLF_DC_DOMAIN_HOST_IP]: 192.168.16.5
UPLIFT : 04-15-2019 18:37:39.976 : INFO : CRM/vagrant : [ENV:UPLF_DC_DOMAIN_NAME]: uplift
UPLIFT : 04-15-2019 18:37:39.976 : INFO : CRM/vagrant : [ENV:UPLF_DC_JOIN_USER_NAME]: admin
UPLIFT : 04-15-2019 18:37:39.976 : INFO : CRM/vagrant : [ENV:UPLF_DC_JOIN_USER_PASSWORD]: ******
UPLIFT : 04-15-2019 18:37:40.023 : INFO : CRM/vagrant : [ENV:UPLF_DC_DOMAIN_NAME]: uplift
UPLIFT : 04-15-2019 18:37:40.023 : INFO : CRM/vagrant : [ENV:UPLF_DC_JOIN_USER_NAME]: admin
UPLIFT : 04-15-2019 18:37:40.023 : INFO : CRM/vagrant : [ENV:UPLF_DC_JOIN_USER_PASSWORD]: ******
UPLIFT : 04-15-2019 18:37:40.040 : INFO : CRM/vagrant : [ENV:UPLF_DC_DOMAIN_HOST_IP]: 192.168.16.5
UPLIFT : 04-15-2019 18:37:40.040 : INFO : CRM/vagrant : Joining computer [CRM] to domain [uplift] under user [admin]
UPLIFT : 04-15-2019 18:37:40.040 : INFO : CRM/vagrant : Running as :[CRM/vagrant] on CRM
UPLIFT : 04-15-2019 18:37:40.125 : INFO : CRM/vagrant : Importing ActiveDirectory module...
WARNING: Error initializing default drive: 'Unable to find a default server with Active Directory Web Services
running.'.
UPLIFT : 04-15-2019 18:37:40.588 : INFO : CRM/vagrant : Joining current computer to domain...
UPLIFT : 04-15-2019 18:37:40.997 : INFO : CRM/vagrant : ipconfig /flushdns
Windows IP Configuration
Successfully flushed the DNS Resolver Cache.
UPLIFT : 04-15-2019 18:37:41.028 : INFO : CRM/vagrant : pinging dc: 192.168.16.5
Pinging 192.168.16.5 with 32 bytes of data:
Reply from 10.190.0.226: Destination net unreachable.
Reply from 10.190.0.226: Destination net unreachable.
Reply from 10.190.0.226: Destination net unreachable.
Reply from 10.190.0.226: Destination net unreachable.
Ping statistics for 192.168.16.5:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
UPLIFT : 04-15-2019 18:37:44.085 : INFO : CRM/vagrant : Deleting old computer from the domain...
UPLIFT : 04-15-2019 18:37:44.116 : INFO : CRM/vagrant : Fetching computer from Active Directory: CRM
UPLIFT : 04-15-2019 18:38:50.617 : INFO : CRM/vagrant : There was an error while fetching computer from Active Directory:[CRM]
UPLIFT : 04-15-2019 18:38:50.617 : INFO : CRM/vagrant : Mostlikely, computer CRM has never been added to Active Directory yet
UPLIFT : 04-15-2019 18:38:50.617 : INFO : CRM/vagrant : Unable to contact the server. This may be because this server does not exist, it is currently down, or it does not have the Active Directory Web Services running.
UPLIFT : 04-15-2019 18:38:50.635 : INFO : CRM/vagrant : Microsoft.ActiveDirectory.Management.ADServerDownException: Unable to contact the server. This may be because this server does not exist, it is currently down, or it does not have the Active Directory Web Services running. ---> System.ServiceModel.EndpointNotFoundException: Could not connect to net.tcp://192.168.16.5:9389/ActiveDirectoryWebServices/Windows/Resource. The connection attempt lasted for a time span of 00:00:20.9348028. TCP error code 10060: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.16.5:9389. ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.16.5:9389
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
--- End of inner exception stack trace ---
Server stack trace:
at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
at System.ServiceModel.Channels.BufferedConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)
at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.CallOpenOnce.System.ServiceModel.Channels.ServiceChannel.ICallOnce.Call(ServiceChannel channel, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)
at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.ActiveDirectory.WebServices.Proxy.Resource.Get(Message request)
at Microsoft.ActiveDirectory.Management.AdwsConnection.SearchAnObject(ADSearchRequest request)
--- End of inner exception stack trace ---
at Microsoft.ActiveDirectory.Management.AdwsConnection.InitializeForAutoReconnect[TChannel](Boolean& isAutoReconnecting, TChannel& channel, ChannelFactory`1& chFactory, String endpointName, CommunicationException& commException)
at Microsoft.ActiveDirectory.Management.AdwsConnection.SearchAnObject(ADSearchRequest request)
at Microsoft.ActiveDirectory.Management.AdwsConnection.Search(ADSearchRequest request)
at Microsoft.ActiveDirectory.Management.ADWebServiceStoreAccess.Microsoft.ActiveDirectory.Management.IADSyncOperations.Search(ADSessionHandle handle, ADSearchRequest request)
at Microsoft.ActiveDirectory.Management.ADObjectSearcher.GetRootDSE()
at Microsoft.ActiveDirectory.Management.Commands.ADCmdletBase`1.GetRootDSE()
at Microsoft.ActiveDirectory.Management.Commands.ADCmdletBase`1.GetConnectedStore()
at Microsoft.ActiveDirectory.Management.Commands.ADCmdletBase`1.GetCmdletSessionInfo()
at Microsoft.ActiveDirectory.Management.Commands.ADGetCmdletBase`3.ADGetCmdletBaseProcessCSRoutine()
at Microsoft.ActiveDirectory.Management.CmdletSubroutinePipeline.Invoke()
at Microsoft.ActiveDirectory.Management.Commands.ADCmdletBase`1.ProcessRecord()
UPLIFT : 04-15-2019 18:38:50.635 : INFO : CRM/vagrant : No need to remove computer CRM from Active Directory
UPLIFT : 04-15-2019 18:38:50.652 : INFO : CRM/vagrant : Joining computer to the domain...
UPLIFT : 04-15-2019 18:38:50.652 : INFO : CRM/vagrant : Joining computer [CRM] to domain [uplift]
UPLIFT : 04-15-2019 18:38:55.517 : INFO : CRM/vagrant : Error while adding ccomputer [CRM] to domain [uplift]
UPLIFT : 04-15-2019 18:38:55.517 : INFO : CRM/vagrant : Computer 'crm' failed to join domain 'uplift' from its current workgroup 'WORKGROUP' with following error message: The specified domain either does not exist or could not be contacted.
Stderr from the command:
Add-Computer : Computer 'crm' failed to join domain 'uplift' from its current workgroup 'WORKGROUP' with following
error message: The specified domain either does not exist or could not be contacted.
At C:\tmp\vagrant-shell.ps1:106 char:13
+ Add-Computer -DomainName $domainName `
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (crm:String) [Add-Computer], InvalidOperationException
+ FullyQualifiedErrorId : FailToJoinDomainFromWorkgroup,Microsoft.PowerShell.Commands.AddComputerCommand
PS C:\projects\uplift-contrib\uplift-vagrant\crm-dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment