This part makes me believe that it will remove it from the DPs, but I'm trying to be sure before I turn the script loose.
System Center 2012 Configuration Manager cannot delete a package from a distribution point if a user has locked a network file. Thanks Mike From: listsad...@lists.myitforum.com [mailto:listsad...@lists.myitforum.com] On Behalf Of Erno, Cynthia M (ITS) Sent: Wednesday, July 5, 2017 1:33 PM To: mssms@lists.myitforum.com Subject: [mssms] RE: Question about PoSh Remove-CMPackage Detailed Description The Remove-CMPackage cmdlet removes a package in Microsoft System Center 2012 SP1 Configuration Manager. You can delete a package from the site where it was created. System Center 2012 Configuration Manager cannot delete a package from a distribution point if a user has locked a network file. When you remove a package, System Center 2012 Configuration Manager removes it from the database. If the package was sent to child sites, System Center 2012 Configuration Manager removes the package information at those child sites. If a compressed version of source files for the package exists, System Center 2012 Configuration Manager deletes the compressed file from the site server. Does that help? Cynthia Erno From: listsad...@lists.myitforum.com<mailto:listsad...@lists.myitforum.com> [mailto:listsad...@lists.myitforum.com] On Behalf Of Marable, Mike Sent: Wednesday, July 05, 2017 1:23 PM To: mssms@lists.myitforum.com<mailto:mssms@lists.myitforum.com> Subject: [mssms] Question about PoSh Remove-CMPackage ATTENTION: This email came from an external source. Do not open attachments or click on links from unknown senders or unexpected emails. I want to know if the cmdlet Remove-CMPackage will pull the content off of the DPs as part of removing the package, or will is just delete it from the console and leave the content orphaned on the DPs? Thanks Mike Marable Microsoft Systems Engineer Lead Enterprise Device Engineering and Management MCPS, MCITP, MCTS, MCSA, MCSE, MS [ Profile<http://www.mycertprofile.com/Profile/5319166625> ] [ Blog<http://thesystemsmonkey.wordpress.com/> ] ---------------------------------------------------- "My great concern is not whether you have failed, but whether you are content with failure." -Abraham Lincoln "What would life be if we had no courage to attempt anything?" -Vincent van Gogh "Only those who dare to fail greatly can ever achieve greatly." -Robert F. Kennedy ********************************************************** Electronic Mail is not secure, may not be read every day, and should not be used for urgent or sensitive issues ********************************************************** Electronic Mail is not secure, may not be read every day, and should not be used for urgent or sensitive issues