Monday, April 30, 2012

SCCM: Script to delete package from database


Many times we come across a scenario where we need to delete a package from SQL database. Below is the script to delete a package entry for the same. 
select* from pkgstatus where id='Package ID' and sitecode='SCCM Site Code'
delete from pkgstatus where id='Package ID' and sitecode='SCCM Site Code'

No comments:

Post a Comment

Azure Policy support for remediating tags for existing resources

Use Azure policy to remediate tags for existing resources. https://azure.microsoft.com/en-us/updates/azure-provides-at-scale-tags-managem...