- Community Home
- >
- Servers and Operating Systems
- >
- ProLiant
- >
- ProLiant Servers (ML,DL,SL)
- >
- Re: HPE-Extract-CustomSppDrivers.ps1 - Script outp...
-
- Forums
-
Blogs
- Hybrid Cloud
- Edge
- Data & AI
- Working in Tech
- AI Insights
- Alliances
- Around the Storage Block
- Behind the scenes at Labs
- Careers in Tech
- HPE Storage Tech Insiders
- Inspiring Progress
- IoT at the Edge
- My Learning Certification
- OEM Solutions
- Servers: The Right Compute
- Shifting to Software-Defined
- Telecom IQ
- Transforming IT
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Russia
- HPE Blog, UK & Ireland
- Blogs
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2 weeks ago
2 weeks ago
HPE-Extract-CustomSppDrivers.ps1 - Script output issues
Hi,
I was trying to perform the steps specified in this white paper:
https://support.hpe.com/hpsc/doc/public/display?docId=a00037535en_us
I have successfully created a custom baselin, but when running the script "HPE-Extract-CustomSppDrivers.ps1" it does not extract the drivers to my specified output folder. It generates a sub folder inside my custom baseline folder for some reason.
This is how i use the script: .\HPE-Extract-CustomSppDrivers.ps1 "C:\Program Files\7-Zip" -CustomSPPOutputFolder "F:\2019Custom" -OutputFolderLocation "F:\2019CustomExtracted"
(By the way, -OutputFolderLocation "F:\2019CustomExtracted" folder is empty..)
I am then presented with a question to overwrite files?
"7-Zip [64] 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
Processing archive: F:\2019Custom\cp034635.exe
file F:\2019Custom\[0]~\cp034635.xml
already exists. Overwrite with
cp034635.xml?
(Y)es / (N)o / (A)lways / (S)kip all / A(u)to rename all / (Q)uit? A"
If pressing Y, it would appear that files are now extracted into a sub-folder of my -CustomSPPOutputFolder "F:\2019Custom" (Which is supposed to be my source folder?!)
Another funny thing, when using the parameter -7ZipExecutablePath "C:\Program Files\7-Zip", it fails with:
F:\sccm-scvmm-osdeployment-master\HPE-Extract-CustomSppDrivers.ps1 : A positional parameter cannot be found that accepts argument 'C:\Program Files\7-Zip'.
I also tried running the script without specifying any switches, as the Example suggest e.g.
.\HPE-Extract-CustomSppDrivers.ps1 "C:\Program Files\7-Zip" "F:\2019Custom" "F:\2019CustomExtracted"
I am using a Windows Server 2012R2 with powershell 5 installed.
Any help would be appreciated, and sorry if it is posted in the incorrect board.
/Merrild
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2 weeks ago
2 weeks ago
Re: HPE-Extract-CustomSppDrivers.ps1 - Script output issues
Hello,
As per example given in the document
.\HPE-Extract-CustomSppDrivers.ps1 “C:\Program Files\7-Zip” “C:\CustomSPP\2019Custom”
“C:\HPEDrivers”
This example reads all of the components from custom SPP created in the output folder ‘C:\CustomSPP\2019Custom’ and will extract the drivers to the C:\HPEDrivers folder.
you will need to place the 2019Custom in a subfolder to prevent overwrite
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
a week ago
a week ago
Re: HPE-Extract-CustomSppDrivers.ps1 - Script output issues
erhm what? I don't follow you..
The output folder "C:\HPEDrivers" is already a completely different folder?
"C:\CustomSPP\2019Custom" is my folder i've extracted the Custom SPP to. aka. the Source folder
Anyways, i found a different script that did the same thing, and i was able to import the drivers into SCCM.
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2019 Hewlett Packard Enterprise Development LP