· 8 years ago · Nov 24, 2017, 11:32 AM
1PS E:\> .\Invoke-CMApplyDriverPackage.ps1 -URI "http://900-sccm-01.akershus-fk.no/ConfigMgrWebService/ConfigMgr.asmx" -SecretKey "2d97b482-3230-4c73-a726-04834766ba73" -Fil
2ter "Driver" | Out-File output.log -Append
3[ OSDDownloadContent.exe ]
4OSDDownloadDownloadPackages = AFK0024F
5OSDDownloadDestinationLocationType = Custom
6OSDDownloadContinueDownloadOnError = 0
7Packages will be downloaded to custom download location: 'D:\_SMSTaskSequence\DriverPackage'
8Getting package content: AFK0024F, version: 0
9GetPackageContent:
10Resolving content for SMS Package AFK0024F
11Site Code AFK
12MP http://900-SCCS-01.akershus-fk.no
13TSPkgVar _SMSTSAFK0024F
14RunFromDPEnabled true
15ForceRunFromNet: 0
16 Setting URL = http://900-SCCS-01.akershus-fk.no, Ports = 80,443, CRL = false
17 Setting Server Certificates.
18 Setting Authenticator.
19Set authenticator in transport
20 Setting Media Certificate.
21Getting local network information.
22DhcpGetOriginalSubnetMask entry point is supported.
23Begin checking Alternate Network Configuration
24spNamespace.Open(sNamespacePath), HRESULT=8004100e (e:\cm1706_rtm\sms\framework\ccmutillib\ccmiputil.cpp,1109)
25Finished checking Alternate Network Configuration
26Adapter {BD8889CA-BB93-400D-B419-4BF3E5C2B7DF} is DHCP enabled. Checking quarantine status.
27Content location request:
28 Package : AFK0024F.0
29 Client : GUID:90873308-D558-4C61-BA12-39BB37FCDC46
30 Local : 1
31 Remote : 1
32 Internet: 0
33Sending RequestContentLocations for AFK0024F
34Setting message signatures.
35Setting the authenticator.
36CLibSMSMessageWinHttpTransport::Send: URL: 900-SCCS-01.akershus-fk.no:80 CCM_POST /ccm_system/request
37Request was successful.
38::DecompressBuffer(65536)
39Decompression (zlib) succeeded: original size 701, uncompressed size 3474.
40Location Reply:
41<![CDATA[<ContentLocationReply SchemaVersion="1.00"><BoundaryGroups BoundaryGroupListRetrieveTime="2017-11-24T11:17:13.957"><BoundaryGroup GroupID="16777225"/></BoundaryGroups><ContentInfo PackageFlags="160"><ContentHashValues/></ContentInfo><Sites><Site><MPSite SiteCode="AFK" MasterSiteCode="AFK" SiteLocality="LOCAL" IISPreferedPort="80" IISSSLPreferedPort="443"/><LocationRecords><LocationRecord><SMBPath Name="\\051-dpas-02.akershus-fk.no\SMSPKGD$\AFK0024F\"/><URL Name="http://051-dpas-02.akershus-fk.no/SMS_DP_SMSPKG$/AFK0024F" Signature="http://051-dpas-02.akershus-fk.no/SMS_DP_SMSSIG$/AFK0024F"/><ADSite Name=""/><IPSubnets><IPSubnet Address="148.83.249.0"/><IPSubnet Address=""/></IPSubnets><Metric Value=""/><Version>8540</Version><Capabilities SchemaVersion="1.0"><Property Name="SSLState" Value="0"/></Capabilities><ServerRemoteName>051-dpas-02.akershus-fk.no</ServerRemoteName><DPType>SERVER</DPType><Windows Trust="0"/><Locality>LOCAL</Locality></LocationRecord><LocationRecord><SMBPath Name="\\900-DPAS-01.akershus-fk.no\SMSPKGD$\AFK0024F\"/><URL Name="http://900-DPAS-01.akershus-fk.no/SMS_DP_SMSPKG$/AFK0024F" Signature="http://900-DPAS-01.akershus-fk.no/SMS_DP_SMSSIG$/AFK0024F"/><ADSite Name=""/><IPSubnets><IPSubnet Address="148.83.249.0"/><IPSubnet Address=""/></IPSubnets><Metric Value=""/><Version>8540</Version><Capabilities SchemaVersion="1.0"><Property Name="SSLState" Value="0"/></Capabilities><ServerRemoteName>900-DPAS-01.akershus-fk.no</ServerRemoteName><DPType>SERVER</DPType><Windows Trust="0"/><Locality>LOCAL</Locality></LocationRecord></LocationRecords></Site><Site><MPSite SiteCode="AFK" MasterSiteCode="AFK" SiteLocality="LOCAL"/><LocationRecords/></Site></Sites><RelatedContentIDs/></ContentLocationReply>]]>
42MCS server:
43Found location: http://051-dpas-02.akershus-fk.no/SMS_DP_SMSPKG$/AFK0024F
44Local=1
45MCS server:
46Found location: http://900-DPAS-01.akershus-fk.no/SMS_DP_SMSPKG$/AFK0024F
47Local=1
48Processing 2 locations.
49Processing remote location:
50 Flags: 000000a0
51 URLs : 1
52 SMB : \\051-dpas-02.akershus-fk.no\SMSPKGD$\AFK0024F\
53 MCS :
54Adding SMB location item 3 3 00000d09 00000000 \\051-dpas-02.akershus-fk.no\SMSPKGD$\AFK0024F\
55Adding URL location item 3 2 00000178 00000000 http://051-dpas-02.akershus-fk.no/SMS_DP_SMSPKG$/AFK0024F
56Processing remote location:
57 Flags: 000000a0
58 URLs : 1
59 SMB : \\900-DPAS-01.akershus-fk.no\SMSPKGD$\AFK0024F\
60 MCS :
61Adding SMB location item 3 3 0000797c 00000001 \\900-DPAS-01.akershus-fk.no\SMSPKGD$\AFK0024F\
62Adding URL location item 3 2 0000028b 00000001 http://900-DPAS-01.akershus-fk.no/SMS_DP_SMSPKG$/AFK0024F
63No static content server.
64Prioritized locations:
65 http://051-dpas-02.akershus-fk.no/SMS_DP_SMSPKG$/AFK0024F
66 http://900-DPAS-01.akershus-fk.no/SMS_DP_SMSPKG$/AFK0024F
67 \\051-dpas-02.akershus-fk.no\SMSPKGD$\AFK0024F\
68 \\900-DPAS-01.akershus-fk.no\SMSPKGD$\AFK0024F\
69Got Content Location List . . .
70Finding content location for SMS package AFK0024F successful
71Resolved and downloaded package AFK0024F to
72Moving package: AFK0024F to destination location 'D:\_SMSTaskSequence\DriverPackage\AFK0024F' from download location ''
73pszNewPath[0] != L'\0', HRESULT=80070057 (e:\qfe\nts\sms\framework\core\ccmcore\path.cpp,469)
74pathSrc.assign(szSource), HRESULT=80070057 (e:\qfe\nts\sms\framework\core\ccmcore\ccmfile.cpp,1499)
75Failed to move package AFK0024F from '' to 'D:\_SMSTaskSequence\DriverPackage\AFK0024F' (0x80070057)
76Failed to download package AFK0024F, cannot continue (0x80070057)
77PS E:\>