New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import-module is very slow, take from 7-16 seconds #35

Open
McAndersDK opened this Issue Aug 15, 2017 · 3 comments

Comments

Projects
None yet
2 participants
@McAndersDK
Contributor

McAndersDK commented Aug 15, 2017

Resolutions:

  • Merge all functions into the PSM1 file at build time.
    • This step alone could remove atleast 6 seconds from the load time.
  • split the module to smaller modules, with one "Umbrella" module for all.
@splatteredbits

This comment has been minimized.

Contributor

splatteredbits commented Dec 13, 2017

I added some timings to the Carbon.psm1 file and it turns out the entire import time is taken up by checking if the Win32_OptionalFeature is installed, about 19 seconds in this attempt. Dot-sourcing all the function files only takes a second.

DEBUG: [12/13/2017 1:29:10 AM]  [00:00:00.0019996]  BEGIN
DEBUG: [12/13/2017 1:29:10 AM]  [00:00:00.0159968]  After include functions needed.
DEBUG: [12/13/2017 1:29:10 AM]  [00:00:00.0199960]  Adding System.Security assembly.
DEBUG: [12/13/2017 1:29:10 AM]  [00:00:00.0289942]  Adding Ionic.Zip assembly.
DEBUG: [12/13/2017 1:29:10 AM]  [00:00:00.0449910]  Adding System.Web assembly.
DEBUG: [12/13/2017 1:29:10 AM]  [00:00:00.0559888]  Adding Microsoft.Web.Administration assembly.
DEBUG: [12/13/2017 1:29:10 AM]  [00:00:00.0669866]  Adding Carbon.Iis assembly.
DEBUG: [12/13/2017 1:29:10 AM]  [00:00:00.1079784]  Updating Microsoft.Web.Administration.Site type data.
DEBUG: [12/13/2017 1:29:10 AM]  [00:00:00.1139772]  Updating Microsoft.Web.Administration.Application type data.
DEBUG: [12/13/2017 1:29:10 AM]  [00:00:00.1149770]  Adding System.ServiceProcess assembly.
DEBUG: [12/13/2017 1:29:10 AM]  [00:00:00.1189762]  Adding System.Messaging assembly.
DEBUG: [12/13/2017 1:29:10 AM]  [00:00:00.1259748]  Adding System.ServiceProcess assembly.
DEBUG: [12/13/2017 1:29:10 AM]  [00:00:00.1279744]  Adding System.DirectoryServices.AccountManagement assembly.
DEBUG: [12/13/2017 1:29:10 AM]  [00:00:00.1369726]  Checking if servermanagercmd.exe exists.
DEBUG: [12/13/2017 1:29:10 AM]  [00:00:00.1699660]  Checking if Win32_OptionalFeature WMI class is available.
DEBUG: [12/13/2017 1:29:30 AM]  [00:00:19.8730246]  Checking if ocsetup.exe exists.
DEBUG: [12/13/2017 1:29:30 AM]  [00:00:19.9090174]  Updating System.IO.FileInfo type data (GetCarbonFileInfo).
DEBUG: [12/13/2017 1:29:30 AM]  [00:00:19.9150162]  Updating System.IO.FileInfo type data (FileIndex).
DEBUG: [12/13/2017 1:29:30 AM]  [00:00:19.9230146]  Updating System.IO.FileInfo type data (LinkCount).
DEBUG: [12/13/2017 1:29:30 AM]  [00:00:19.9290134]  Updating System.IO.FileInfo type data (ColumeSerialNumber).
DEBUG: [12/13/2017 1:29:30 AM]  [00:00:19.9300132]  Dot-sourcing functions.
DEBUG: [12/13/2017 1:29:31 AM]  [00:00:20.9948002]  Testing the module manifest.
DEBUG: [12/13/2017 1:29:31 AM]  [00:00:21.0157960]  Exporting module members.
DEBUG: [12/13/2017 1:29:31 AM]  [00:00:21.0357920]  DONE
@McAndersDK

This comment has been minimized.

Contributor

McAndersDK commented Apr 17, 2018

Hey again,
I added your logging and ran it here:

DEBUG: [17-04-2018 10:06:12]  [00:00:00.0009997]  BEGIN
DEBUG: [17-04-2018 10:06:12]  [00:00:00.0040407]  Dot-sourcing Test-TypeDataMember.
DEBUG: [17-04-2018 10:06:12]  [00:00:00.0626084]  Dot-sourcing Use-CallerPreference.
DEBUG: [17-04-2018 10:06:12]  [00:00:00.1227680]  Adding System.Security assembly.
DEBUG: [17-04-2018 10:06:12]  [00:00:00.1262667]  Adding Ionic.Zip assembly.
DEBUG: [17-04-2018 10:06:12]  [00:00:00.1463303]  Adding System.Web assembly.
DEBUG: [17-04-2018 10:06:12]  [00:00:00.1628542]  Filtering out IIS functions.
DEBUG: [17-04-2018 10:06:12]  [00:00:00.1934125]  Adding System.ServiceProcess assembly.
DEBUG: [17-04-2018 10:06:12]  [00:00:00.1994377]  Adding System.Messaging assembly.
DEBUG: [17-04-2018 10:06:12]  [00:00:00.2094378]  Adding System.ServiceProcess assembly.
DEBUG: [17-04-2018 10:06:12]  [00:00:00.2134410]  Adding System.DirectoryServices.AccountManagement assembly.
DEBUG: [17-04-2018 10:06:12]  [00:00:00.2289758]  Checking if servermanagercmd.exe exists.
DEBUG: [17-04-2018 10:06:12]  [00:00:00.4117598]  Checking if Win32_OptionalFeature WMI class is available.
DEBUG: [17-04-2018 10:06:12]  [00:00:00.4292826]  Checking if ocsetup.exe exists.
DEBUG: [17-04-2018 10:06:13]  [00:00:00.6706978]  Dot-sourcing functions.
DEBUG: [17-04-2018 10:06:23]  [00:00:10.8882345]  Testing the module manifest.
DEBUG: [17-04-2018 10:06:23]  [00:00:10.9173477]  Exporting module members.
DEBUG: [17-04-2018 10:06:23]  [00:00:10.9468984]  DONE

as you can see the dot-sourcing is the slowdown here.

@McAndersDK

This comment has been minimized.

Contributor

McAndersDK commented Apr 17, 2018

And here for the complete log with timestamps on the dot sourcing:

DEBUG: [17-04-2018 10:11:54]  [00:00:00.0004975]  BEGIN
DEBUG: [17-04-2018 10:11:54]  [00:00:00.0030024]  Dot-sourcing Test-TypeDataMember.
DEBUG: [17-04-2018 10:11:54]  [00:00:00.0575747]  Dot-sourcing Use-CallerPreference.
DEBUG: [17-04-2018 10:11:54]  [00:00:00.1171577]  Adding System.Security assembly.
DEBUG: [17-04-2018 10:11:54]  [00:00:00.1206646]  Adding Ionic.Zip assembly.
DEBUG: [17-04-2018 10:11:54]  [00:00:00.1386842]  Adding System.Web assembly.
DEBUG: [17-04-2018 10:11:54]  [00:00:00.1441860]  Filtering out IIS functions.
DEBUG: [17-04-2018 10:11:54]  [00:00:00.1782464]  Adding System.ServiceProcess assembly.
DEBUG: [17-04-2018 10:11:54]  [00:00:00.1882580]  Adding System.Messaging assembly.
DEBUG: [17-04-2018 10:11:54]  [00:00:00.1982972]  Adding System.ServiceProcess assembly.
DEBUG: [17-04-2018 10:11:54]  [00:00:00.2067935]  Adding System.DirectoryServices.AccountManagement assembly.
DEBUG: [17-04-2018 10:11:54]  [00:00:00.2123222]  Checking if servermanagercmd.exe exists.
DEBUG: [17-04-2018 10:11:55]  [00:00:00.4070303]  Checking if Win32_OptionalFeature WMI class is available.
DEBUG: [17-04-2018 10:11:55]  [00:00:00.4265548]  Checking if ocsetup.exe exists.
DEBUG: [17-04-2018 10:11:55]  [00:00:00.6704033]  Dot-sourcing functions.
DEBUG: [17-04-2018 10:11:55]  [00:00:00.6799261]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Add-GroupMember.ps1.
DEBUG: [17-04-2018 10:11:55]  [00:00:00.7460259]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Add-TrustedHost.ps1.
DEBUG: [17-04-2018 10:11:55]  [00:00:00.8060914]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Assert-AdminPrivilege.ps1.
DEBUG: [17-04-2018 10:11:55]  [00:00:00.8681734]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Assert-FirewallConfigurable.ps1.
DEBUG: [17-04-2018 10:11:55]  [00:00:00.9287410]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Assert-Service.ps1.
DEBUG: [17-04-2018 10:11:55]  [00:00:00.9848131]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Assert-WindowsFeatureFunctionsSupported.ps1.
DEBUG: [17-04-2018 10:11:55]  [00:00:01.0428690]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Clear-DscLocalResourceCache.ps1.
DEBUG: [17-04-2018 10:11:55]  [00:00:01.0994591]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Clear-MofAuthoringMetadata.ps1.
DEBUG: [17-04-2018 10:11:55]  [00:00:01.1555284]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Clear-TrustedHost.ps1.
DEBUG: [17-04-2018 10:11:55]  [00:00:01.2136215]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Complete-Job.ps1.
DEBUG: [17-04-2018 10:11:55]  [00:00:01.2656781]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Compress-Item.ps1.
DEBUG: [17-04-2018 10:11:55]  [00:00:01.3232587]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Convert-SecureStringToString.ps1.
DEBUG: [17-04-2018 10:11:56]  [00:00:01.3893483]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Convert-XmlFile.ps1.
DEBUG: [17-04-2018 10:11:56]  [00:00:01.4554336]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\ConvertFrom-Base64.ps1.
DEBUG: [17-04-2018 10:11:56]  [00:00:01.5160217]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\ConvertTo-Base64.ps1.
DEBUG: [17-04-2018 10:11:56]  [00:00:01.5765838]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\ConvertTo-ContainerInheritanceFlags.ps1.
DEBUG: [17-04-2018 10:11:56]  [00:00:01.6316519]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\ConvertTo-InheritanceFlag.ps1.
DEBUG: [17-04-2018 10:11:56]  [00:00:01.6887414]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\ConvertTo-Key.ps1.
DEBUG: [17-04-2018 10:11:56]  [00:00:01.7453169]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\ConvertTo-PropagationFlag.ps1.
DEBUG: [17-04-2018 10:11:56]  [00:00:01.8003874]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\ConvertTo-ProviderAccessControlRights.ps1.
DEBUG: [17-04-2018 10:11:56]  [00:00:01.8739938]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\ConvertTo-SecurityIdentifier.ps1.
DEBUG: [17-04-2018 10:11:56]  [00:00:01.9295855]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Copy-DscResource.ps1.
DEBUG: [17-04-2018 10:11:56]  [00:00:01.9851459]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Disable-AclInheritance.ps1.
DEBUG: [17-04-2018 10:11:56]  [00:00:02.0442102]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Disable-FirewallStatefulFtp.ps1.
DEBUG: [17-04-2018 10:11:56]  [00:00:02.1007903]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Disable-IEEnhancedSecurityConfiguration.ps1.
DEBUG: [17-04-2018 10:11:56]  [00:00:02.1698764]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Disable-NtfsCompression.ps1.
DEBUG: [17-04-2018 10:11:56]  [00:00:02.2549765]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Enable-AclInheritance.ps1.
DEBUG: [17-04-2018 10:11:57]  [00:00:02.6537963]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Enable-FirewallStatefulFtp.ps1.
DEBUG: [17-04-2018 10:11:57]  [00:00:02.7824373]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Enable-IEActivationPermission.ps1.
DEBUG: [17-04-2018 10:11:57]  [00:00:02.8400306]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Enable-NtfsCompression.ps1.
DEBUG: [17-04-2018 10:11:57]  [00:00:02.9066223]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Expand-Item.ps1.
DEBUG: [17-04-2018 10:11:57]  [00:00:02.9762113]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Find-ADUser.ps1.
DEBUG: [17-04-2018 10:11:57]  [00:00:03.0272802]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Format-ADSearchFilterValue.ps1.
DEBUG: [17-04-2018 10:11:57]  [00:00:03.0778398]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Get-ADDomainController.ps1.
DEBUG: [17-04-2018 10:11:57]  [00:00:03.1339167]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Get-Certificate.ps1.
DEBUG: [17-04-2018 10:11:57]  [00:00:03.1914870]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Get-CertificateStore.ps1.
DEBUG: [17-04-2018 10:11:57]  [00:00:03.2520973]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Get-ComPermission.ps1.
DEBUG: [17-04-2018 10:11:57]  [00:00:03.3111611]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Get-ComSecurityDescriptor.ps1.
DEBUG: [17-04-2018 10:11:58]  [00:00:03.3722625]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Get-DscError.ps1.
DEBUG: [17-04-2018 10:11:58]  [00:00:03.4373469]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Get-DscWinEvent.ps1.
DEBUG: [17-04-2018 10:11:58]  [00:00:03.5104263]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Get-FileShare.ps1.
DEBUG: [17-04-2018 10:11:58]  [00:00:03.5670053]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Get-FileSharePermission.ps1.
DEBUG: [17-04-2018 10:11:58]  [00:00:03.6285769]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Get-FirewallRule.ps1.
DEBUG: [17-04-2018 10:11:58]  [00:00:03.6821531]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Get-Group.ps1.
DEBUG: [17-04-2018 10:11:58]  [00:00:03.7407191]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Get-HttpUrlAcl.ps1.
DEBUG: [17-04-2018 10:11:58]  [00:00:03.8002989]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Get-IdentityPrincipalContext.ps1.
DEBUG: [17-04-2018 10:11:58]  [00:00:03.8634043]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Get-IPAddress.ps1.
DEBUG: [17-04-2018 10:11:58]  [00:00:03.9194693]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Get-Msi.ps1.
DEBUG: [17-04-2018 10:11:58]  [00:00:03.9765359]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Get-MsmqMessageQueue.ps1.
DEBUG: [17-04-2018 10:11:58]  [00:00:04.0441197]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Get-MsmqMessageQueuePath.ps1.
DEBUG: [17-04-2018 10:11:58]  [00:00:04.1112085]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Get-PathProvider.ps1.
DEBUG: [17-04-2018 10:11:58]  [00:00:04.1662885]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Get-PathToHostsFile.ps1.
DEBUG: [17-04-2018 10:11:58]  [00:00:04.2293899]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Get-PerformanceCounter.ps1.
DEBUG: [17-04-2018 10:11:58]  [00:00:04.2864644]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Get-Permission.ps1.
DEBUG: [17-04-2018 10:11:58]  [00:00:04.3505575]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Get-PowerShellModuleInstallPath.ps1.
DEBUG: [17-04-2018 10:11:59]  [00:00:04.4091310]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Get-PowershellPath.ps1.
DEBUG: [17-04-2018 10:11:59]  [00:00:04.4596997]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Get-Privilege.ps1.
DEBUG: [17-04-2018 10:11:59]  [00:00:04.5087919]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Get-ProgramInstallInfo.ps1.
DEBUG: [17-04-2018 10:11:59]  [00:00:04.5567510]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Get-RegistryKeyValue.ps1.
DEBUG: [17-04-2018 10:11:59]  [00:00:04.6108672]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Get-ScheduledTask.ps1.
DEBUG: [17-04-2018 10:11:59]  [00:00:04.6587920]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Get-ServiceAcl.ps1.
DEBUG: [17-04-2018 10:11:59]  [00:00:04.7059252]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Get-ServiceConfiguration.ps1.
DEBUG: [17-04-2018 10:11:59]  [00:00:04.7591812]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Get-ServicePermission.ps1.
DEBUG: [17-04-2018 10:11:59]  [00:00:04.8078091]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Get-ServiceSecurityDescriptor.ps1.
DEBUG: [17-04-2018 10:11:59]  [00:00:04.8608764]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Get-SslCertificateBinding.ps1.
DEBUG: [17-04-2018 10:11:59]  [00:00:04.9089950]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Get-TrustedHost.ps1.
DEBUG: [17-04-2018 10:11:59]  [00:00:04.9601215]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Get-User.ps1.
DEBUG: [17-04-2018 10:11:59]  [00:00:05.0087099]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Get-WindowsFeature.ps1.
DEBUG: [17-04-2018 10:11:59]  [00:00:05.1383865]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Get-WmiLocalUserAccount.ps1.
DEBUG: [17-04-2018 10:11:59]  [00:00:05.2109878]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Grant-ComPermission.ps1.
DEBUG: [17-04-2018 10:11:59]  [00:00:05.2591052]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Grant-HttpUrlPermission.ps1.
DEBUG: [17-04-2018 10:11:59]  [00:00:05.3069230]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Grant-MsmqMessageQueuePermission.ps1.
DEBUG: [17-04-2018 10:11:59]  [00:00:05.3645083]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Grant-Permission.ps1.
DEBUG: [17-04-2018 10:12:00]  [00:00:05.4436754]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Grant-Privilege.ps1.
DEBUG: [17-04-2018 10:12:00]  [00:00:05.4953420]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Grant-ServiceControlPermission.ps1.
DEBUG: [17-04-2018 10:12:00]  [00:00:05.5464117]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Grant-ServicePermission.ps1.
DEBUG: [17-04-2018 10:12:00]  [00:00:05.6034803]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Initialize-Lcm.ps1.
DEBUG: [17-04-2018 10:12:00]  [00:00:05.6555942]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Install-Certificate.ps1.
DEBUG: [17-04-2018 10:12:00]  [00:00:05.7106651]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Install-Directory.ps1.
DEBUG: [17-04-2018 10:12:00]  [00:00:05.7582744]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Install-FileShare.ps1.
DEBUG: [17-04-2018 10:12:00]  [00:00:05.8153773]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Install-Group.ps1.
DEBUG: [17-04-2018 10:12:00]  [00:00:05.8744490]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Install-Junction.ps1.
DEBUG: [17-04-2018 10:12:00]  [00:00:05.9340423]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Install-Msi.ps1.
DEBUG: [17-04-2018 10:12:00]  [00:00:05.9906158]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Install-Msmq.ps1.
DEBUG: [17-04-2018 10:12:00]  [00:00:06.0441845]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Install-MsmqMessageQueue.ps1.
DEBUG: [17-04-2018 10:12:00]  [00:00:06.0927472]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Install-PerformanceCounter.ps1.
DEBUG: [17-04-2018 10:12:00]  [00:00:06.1424533]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Install-RegistryKey.ps1.
DEBUG: [17-04-2018 10:12:00]  [00:00:06.1966063]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Install-ScheduledTask.ps1.
DEBUG: [17-04-2018 10:12:00]  [00:00:06.2471777]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Install-Service.ps1.
DEBUG: [17-04-2018 10:12:00]  [00:00:06.3082408]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Install-User.ps1.
DEBUG: [17-04-2018 10:12:00]  [00:00:06.3663331]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Install-WindowsFeature.ps1.
DEBUG: [17-04-2018 10:12:01]  [00:00:06.4866065]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Invoke-AppCmd.ps1.
DEBUG: [17-04-2018 10:12:01]  [00:00:06.5456660]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Invoke-ConsoleCommand.ps1.
DEBUG: [17-04-2018 10:12:01]  [00:00:06.6027479]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Invoke-PowerShell.ps1.
DEBUG: [17-04-2018 10:12:01]  [00:00:06.6633392]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\New-Credential.ps1.
DEBUG: [17-04-2018 10:12:01]  [00:00:06.7108948]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\New-Junction.ps1.
DEBUG: [17-04-2018 10:12:01]  [00:00:06.7591623]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\New-RsaKeyPair.ps1.
DEBUG: [17-04-2018 10:12:01]  [00:00:06.8089911]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\New-TempDirectory.ps1.
DEBUG: [17-04-2018 10:12:01]  [00:00:06.8571962]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Protect-String.ps1.
DEBUG: [17-04-2018 10:12:01]  [00:00:06.9202865]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Read-File.ps1.
DEBUG: [17-04-2018 10:12:01]  [00:00:06.9843749]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Remove-DotNetAppSetting.ps1.
DEBUG: [17-04-2018 10:12:01]  [00:00:07.0484688]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Remove-EnvironmentVariable.ps1.
DEBUG: [17-04-2018 10:12:01]  [00:00:07.1090696]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Remove-GroupMember.ps1.
DEBUG: [17-04-2018 10:12:01]  [00:00:07.1686565]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Remove-HostsEntry.ps1.
DEBUG: [17-04-2018 10:12:01]  [00:00:07.2327496]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Remove-IniEntry.ps1.
DEBUG: [17-04-2018 10:12:01]  [00:00:07.3093518]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Remove-Junction.ps1.
DEBUG: [17-04-2018 10:12:02]  [00:00:07.3719395]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Remove-RegistryKeyValue.ps1.
DEBUG: [17-04-2018 10:12:02]  [00:00:07.4385289]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Remove-SslCertificateBinding.ps1.
DEBUG: [17-04-2018 10:12:02]  [00:00:07.5061187]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Reset-HostsFile.ps1.
DEBUG: [17-04-2018 10:12:02]  [00:00:07.5697029]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Reset-MsmqQueueManagerID.ps1.
DEBUG: [17-04-2018 10:12:02]  [00:00:07.6337901]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Resolve-FullPath.ps1.
DEBUG: [17-04-2018 10:12:02]  [00:00:07.6963846]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Resolve-Identity.ps1.
DEBUG: [17-04-2018 10:12:02]  [00:00:07.7524492]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Resolve-IdentityName.ps1.
DEBUG: [17-04-2018 10:12:02]  [00:00:07.8150437]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Resolve-NetPath.ps1.
DEBUG: [17-04-2018 10:12:02]  [00:00:07.8741407]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Resolve-PathCase.ps1.
DEBUG: [17-04-2018 10:12:02]  [00:00:07.9392386]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Resolve-RelativePath.ps1.
DEBUG: [17-04-2018 10:12:02]  [00:00:08.0028311]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Resolve-WindowsFeatureName.ps1.
DEBUG: [17-04-2018 10:12:02]  [00:00:08.0694264]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Restart-RemoteService.ps1.
DEBUG: [17-04-2018 10:12:02]  [00:00:08.1460262]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Revoke-ComPermission.ps1.
DEBUG: [17-04-2018 10:12:02]  [00:00:08.2030979]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Revoke-HttpUrlPermission.ps1.
DEBUG: [17-04-2018 10:12:02]  [00:00:08.2631653]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Revoke-Permission.ps1.
DEBUG: [17-04-2018 10:12:02]  [00:00:08.3219895]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Revoke-Privilege.ps1.
DEBUG: [17-04-2018 10:12:03]  [00:00:08.3880696]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Revoke-ServicePermission.ps1.
DEBUG: [17-04-2018 10:12:03]  [00:00:08.4501603]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Set-CryptoKeySecurity.ps1.
DEBUG: [17-04-2018 10:12:03]  [00:00:08.5112341]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Set-DotNetAppSetting.ps1.
DEBUG: [17-04-2018 10:12:03]  [00:00:08.5582891]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Set-DotNetConnectionString.ps1.
DEBUG: [17-04-2018 10:12:03]  [00:00:08.6093753]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Set-EnvironmentVariable.ps1.
DEBUG: [17-04-2018 10:12:03]  [00:00:08.6549613]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Set-HostsEntry.ps1.
DEBUG: [17-04-2018 10:12:03]  [00:00:08.7070306]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Set-IniEntry.ps1.
DEBUG: [17-04-2018 10:12:03]  [00:00:08.7606491]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Set-RegistryKeyValue.ps1.
DEBUG: [17-04-2018 10:12:03]  [00:00:08.8082055]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Set-ServiceAcl.ps1.
DEBUG: [17-04-2018 10:12:03]  [00:00:08.8628157]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Set-SslCertificateBinding.ps1.
DEBUG: [17-04-2018 10:12:03]  [00:00:08.9104183]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Set-TrustedHost.ps1.
DEBUG: [17-04-2018 10:12:03]  [00:00:08.9605637]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Split-Ini.ps1.
DEBUG: [17-04-2018 10:12:03]  [00:00:09.0201420]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Start-DscPullConfiguration.ps1.
DEBUG: [17-04-2018 10:12:03]  [00:00:09.0797376]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Start-PowerShellProcess.ps1.
DEBUG: [17-04-2018 10:12:03]  [00:00:09.1368002]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Test-AdminPrivilege.ps1.
DEBUG: [17-04-2018 10:12:03]  [00:00:09.1948716]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Test-DotNet.ps1.
DEBUG: [17-04-2018 10:12:03]  [00:00:09.2514510]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Test-DscTargetResource.ps1.
DEBUG: [17-04-2018 10:12:03]  [00:00:09.3135496]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Test-FileShare.ps1.
DEBUG: [17-04-2018 10:12:03]  [00:00:09.3676110]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Test-FirewallStatefulFtp.ps1.
DEBUG: [17-04-2018 10:12:04]  [00:00:09.4256922]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Test-Group.ps1.
DEBUG: [17-04-2018 10:12:04]  [00:00:09.4762542]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Test-GroupMember.ps1.
DEBUG: [17-04-2018 10:12:04]  [00:00:09.5214979]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Test-Identity.ps1.
DEBUG: [17-04-2018 10:12:04]  [00:00:09.5725762]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Test-IPAddress.ps1.
DEBUG: [17-04-2018 10:12:04]  [00:00:09.6265923]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Test-MsmqMessageQueue.ps1.
DEBUG: [17-04-2018 10:12:04]  [00:00:09.6732683]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Test-NtfsCompression.ps1.
DEBUG: [17-04-2018 10:12:04]  [00:00:09.7263139]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Test-OSIs32Bit.ps1.
DEBUG: [17-04-2018 10:12:04]  [00:00:09.7739181]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Test-OSIs64Bit.ps1.
DEBUG: [17-04-2018 10:12:04]  [00:00:09.8264868]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Test-PathIsJunction.ps1.
DEBUG: [17-04-2018 10:12:04]  [00:00:09.8738367]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Test-PerformanceCounter.ps1.
DEBUG: [17-04-2018 10:12:04]  [00:00:09.9269285]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Test-PerformanceCounterCategory.ps1.
DEBUG: [17-04-2018 10:12:04]  [00:00:09.9760432]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Test-Permission.ps1.
DEBUG: [17-04-2018 10:12:04]  [00:00:10.0232987]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Test-PowerShellIs32Bit.ps1.
DEBUG: [17-04-2018 10:12:04]  [00:00:10.0768694]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Test-PowerShellIs64Bit.ps1.
DEBUG: [17-04-2018 10:12:04]  [00:00:10.1264420]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Test-Privilege.ps1.
DEBUG: [17-04-2018 10:12:04]  [00:00:10.1743932]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Test-RegistryKeyValue.ps1.
DEBUG: [17-04-2018 10:12:04]  [00:00:10.2274633]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Test-ScheduledTask.ps1.
DEBUG: [17-04-2018 10:12:04]  [00:00:10.2740632]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Test-Service.ps1.
DEBUG: [17-04-2018 10:12:04]  [00:00:10.3287132]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Test-SslCertificateBinding.ps1.
DEBUG: [17-04-2018 10:12:05]  [00:00:10.3757947]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Test-TypeDataMember.ps1.
DEBUG: [17-04-2018 10:12:05]  [00:00:10.4251628]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Test-UncPath.ps1.
DEBUG: [17-04-2018 10:12:05]  [00:00:10.4819522]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Test-User.ps1.
DEBUG: [17-04-2018 10:12:05]  [00:00:10.5365490]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Test-WindowsFeature.ps1.
DEBUG: [17-04-2018 10:12:05]  [00:00:10.5876487]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Test-ZipFile.ps1.
DEBUG: [17-04-2018 10:12:05]  [00:00:10.6375999]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Uninstall-Certificate.ps1.
DEBUG: [17-04-2018 10:12:05]  [00:00:10.6887189]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Uninstall-Directory.ps1.
DEBUG: [17-04-2018 10:12:05]  [00:00:10.7393290]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Uninstall-FileShare.ps1.
DEBUG: [17-04-2018 10:12:05]  [00:00:10.7899025]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Uninstall-Group.ps1.
DEBUG: [17-04-2018 10:12:05]  [00:00:10.8419812]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Uninstall-Junction.ps1.
DEBUG: [17-04-2018 10:12:05]  [00:00:10.8970754]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Uninstall-MsmqMessageQueue.ps1.
DEBUG: [17-04-2018 10:12:05]  [00:00:10.9436350]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Uninstall-PerformanceCounterCategory.ps1.
DEBUG: [17-04-2018 10:12:05]  [00:00:10.9902143]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Uninstall-ScheduledTask.ps1.
DEBUG: [17-04-2018 10:12:05]  [00:00:11.0443116]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Uninstall-Service.ps1.
DEBUG: [17-04-2018 10:12:05]  [00:00:11.0904914]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Uninstall-User.ps1.
DEBUG: [17-04-2018 10:12:05]  [00:00:11.1480866]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Uninstall-WindowsFeature.ps1.
DEBUG: [17-04-2018 10:12:05]  [00:00:11.2628392]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Unprotect-String.ps1.
DEBUG: [17-04-2018 10:12:05]  [00:00:11.3139460]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Use-CallerPreference.ps1.
DEBUG: [17-04-2018 10:12:05]  [00:00:11.3615261]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Write-DscError.ps1.
DEBUG: [17-04-2018 10:12:06]  [00:00:11.4086371]  Importing function C:\Program Files\WindowsPowerShell\Modules\carbon\2.5.0\Functions\Write-File.ps1.
DEBUG: [17-04-2018 10:12:06]  [00:00:11.4602315]  Testing the module manifest.
DEBUG: [17-04-2018 10:12:06]  [00:00:11.4852851]  Exporting module members.
DEBUG: [17-04-2018 10:12:06]  [00:00:11.5032837]  DONE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment