Thanks, I'll give it a shot next week. From: [email protected] [mailto:[email protected]] On Behalf Of Ryan Sent: Friday, July 19, 2013 1:42 PM To: [email protected] Subject: Re: [mssms] Prestage content in SCCM 2012.
Heh, I'm running a script right now that does the same thing. I run it every day to keep my content up to date since we are sending out our hard drives next week. Here is what this script does, it grabs the app/package/whatever's name and ID and then comes up with a filename. It checks if the file exists, if the file exists it compares the date created time with the date modified time on the app/package/whatever and determines if the app is newer. If it is, it deletes the old file and then pre-stages the new. The file name cannot be a UNC path, so I mapped the network location to drive P. It stores Applications in the folder Applications, Packages in the folder Packages, Driver Packages in DriverPkgs, Software Update Packages in DeploymentPkgs, Boot Images in BootImages, and OS Images in OSImages. My driver loop actually stores all the drivers in one file to save storage space. This needs to be run from an x86 powershell prompt since it uses the CM2012 cmdlets. The content needs to be distributed to the DP you specify in $DPName. I went through and took out all of my companies server information. Let me know if I took out too much and it's now erroring or something. On Fri, Jul 19, 2013 at 1:07 PM, Richard Zuraff <[email protected]<mailto:[email protected]>> wrote: Is there an easy way to create one Prestige content file for all your packages, drivers, updates, ect for SCCM 2012? We need to preload all of our sites for our upgrade and need to send out the content file on a usb hard drive to about a 130 sites. I found a PowerShell script, but it only does a folder that you have your packages in and we would like to do all of our content. Thanks

