- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- ProLiant Servers (ML,DL,SL)
- >
- HPE-Extract-CustomSppDrivers.ps1 - Script output i...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2019 08:34 AM
тАО11-25-2019 08:34 AM
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
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2019 11:15 PM
тАО12-01-2019 11:15 PM
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
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2019 05:46 AM
тАО12-03-2019 05:46 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-10-2020 11:18 AM - last edited on тАО07-12-2020 11:23 PM by Parvez_Admin
тАО07-10-2020 11:18 AM - last edited on тАО07-12-2020 11:23 PM by Parvez_Admin
Re: HPE-Extract-CustomSppDrivers.ps1 - Script output issues
"Anyways, i found a different script that did the same thing, and i was able to import the drivers into SCCM"
Can you point me to this other script. I am having issues with the original too.
Thanks,