Forum Discussion
DK_70
Aug 04, 2022Copper Contributor
Remove Adobe XI Pro SCCM or PowerShell
Hello, I need to find a way to uninstall Adobe XI Pro with either SCCM or a PS script. I'm having some problems figuring out the correct commands to uninstall the software. The software was not d...
DK_70
Aug 04, 2022Copper Contributor
I think I resolved this:
I did some PS research work and ran a get-package on a target PC to get a list of installed apps. I also found in PS that there is a Uninstall-Package command and after a few tries I came up with this - Uninstall-Package -Name "Adobe Acrobat XI Pro" -Force and tested it on a Target PC. The script ran and completed the uninstall. In this case, I was not worried about a specific build of the software, I just wanted it off the PC.
I created the script in SCCM and assigned the script to run against a test device collection and it worked.
Here is the script out put from the results in SCCM:
{
"FastPackageReference": "{AC76BA86-1033-FFFF-7760-000000000006}",
"ProviderName": "msi",
"Source": "",
"Status": "Uninstalled",
"SearchKey": "{AC76BA86-1033-FFFF-7760-000000000006}",
"FullPath": "",
"PackageFilename": "",
"FromTrustedSource": false,
"Summary": null,
"SwidTags": [
{
"FastPackageReference": "{AC76BA86-1033-FFFF-7760-000000000006}",
"ProviderName": "msi",
"Source": "",
"Status": "Uninstalled",
"SearchKey": "{AC76BA86-1033-FFFF-7760-000000000006}",
"FullPath": "",
"PackageFilename": "",
"FromTrustedSource": false,
"Summary": null,
"SwidTags": "Microsoft.PackageManagement.Packaging.SoftwareIdentity",
"CanonicalId": "msi:Adobe Acrobat XI Pro/11.0.20",
"Metadata": "{ProductCode}",
"SwidTagText": "<?xml version=\"1.0\" encoding=\"utf-16\" standalone=\"yes\"?>\r\n<SoftwareIdentity\r\n name=\"Adobe Acrobat XI Pro\"\r\n version=\"11.0.20\"\r\n versionScheme=\"multipartnumeric\"\r\n tagId=\"AC76BA86-1033-FFFF-7760-000000000006\" xmlns=\"http://standards.iso.org/iso/19770/-2/2015/schema.xsd\">\r\n <Meta\r\n ProductCode=\"{AC76BA86-1033-FFFF-7760-000000000006}\" />\r\n</SoftwareIdentity>",
"Dependencies": "",
"IsCorpus": null,
"Name": "Adobe Acrobat XI Pro",
"Version": "11.0.20",
"VersionScheme": "multipartnumeric",
"TagVersion": null,
"TagId": "AC76BA86-1033-FFFF-7760-000000000006",
"IsPatch": null,
"IsSupplemental": null,
"AppliesToMedia": null,
"Meta": "{ProductCode}",
"Links": "",
"Entities": "",
"Payload": null,
"Evidence": null,
"Culture": null,
"Attributes": "{name,version,versionScheme,tagId}"
}
],
"CanonicalId": "msi:Adobe Acrobat XI Pro/11.0.20",
"Metadata": {
"Keys": [
"ProductCode"
],
"Values": [
"{AC76BA86-1033-FFFF-7760-000000000006}"
],
"Count": 1
},
"SwidTagText": "<?xml version=\"1.0\" encoding=\"utf-16\" standalone=\"yes\"?>\r\n<SoftwareIdentity\r\n name=\"Adobe Acrobat XI Pro\"\r\n version=\"11.0.20\"\r\n versionScheme=\"multipartnumeric\"\r\n tagId=\"AC76BA86-1033-FFFF-7760-000000000006\" xmlns=\"http://standards.iso.org/iso/19770/-2/2015/schema.xsd\">\r\n <Meta\r\n ProductCode=\"{AC76BA86-1033-FFFF-7760-000000000006}\" />\r\n</SoftwareIdentity>",
"Dependencies": [],
"IsCorpus": null,
"Name": "Adobe Acrobat XI Pro",
"Version": "11.0.20",
"VersionScheme": "multipartnumeric",
"TagVersion": null,
"TagId": "AC76BA86-1033-FFFF-7760-000000000006",
"IsPatch": null,
"IsSupplemental": null,
"AppliesToMedia": null,
"Meta": [
{
"ActivationStatus": null,
"ChannelType": null,
"Description": null,
"ColloquialVersion": null,
"Edition": null,
"EntitlementKey": null,
"Generator": null,
"PersistentId": null,
"Product": null,
"ProductFamily": null,
"Revision": null,
"UnspscCode": null,
"UnspscVersion": null,
"EntitlementDataRequired": null,
"Culture": null,
"Attributes": "{ProductCode}"
}
],
"Links": [],
"Entities": [],
"Payload": null,
"Evidence": null,
"Culture": null,
"Attributes": {
"Keys": [
"name",
"version",
"versionScheme",
"tagId"
],
"Values": [
"Adobe Acrobat XI Pro",
"11.0.20",
"multipartnumeric",
"AC76BA86-1033-FFFF-7760-000000000006"
],
"Count": 4
}
}
I did some PS research work and ran a get-package on a target PC to get a list of installed apps. I also found in PS that there is a Uninstall-Package command and after a few tries I came up with this - Uninstall-Package -Name "Adobe Acrobat XI Pro" -Force and tested it on a Target PC. The script ran and completed the uninstall. In this case, I was not worried about a specific build of the software, I just wanted it off the PC.
I created the script in SCCM and assigned the script to run against a test device collection and it worked.
Here is the script out put from the results in SCCM:
{
"FastPackageReference": "{AC76BA86-1033-FFFF-7760-000000000006}",
"ProviderName": "msi",
"Source": "",
"Status": "Uninstalled",
"SearchKey": "{AC76BA86-1033-FFFF-7760-000000000006}",
"FullPath": "",
"PackageFilename": "",
"FromTrustedSource": false,
"Summary": null,
"SwidTags": [
{
"FastPackageReference": "{AC76BA86-1033-FFFF-7760-000000000006}",
"ProviderName": "msi",
"Source": "",
"Status": "Uninstalled",
"SearchKey": "{AC76BA86-1033-FFFF-7760-000000000006}",
"FullPath": "",
"PackageFilename": "",
"FromTrustedSource": false,
"Summary": null,
"SwidTags": "Microsoft.PackageManagement.Packaging.SoftwareIdentity",
"CanonicalId": "msi:Adobe Acrobat XI Pro/11.0.20",
"Metadata": "{ProductCode}",
"SwidTagText": "<?xml version=\"1.0\" encoding=\"utf-16\" standalone=\"yes\"?>\r\n<SoftwareIdentity\r\n name=\"Adobe Acrobat XI Pro\"\r\n version=\"11.0.20\"\r\n versionScheme=\"multipartnumeric\"\r\n tagId=\"AC76BA86-1033-FFFF-7760-000000000006\" xmlns=\"http://standards.iso.org/iso/19770/-2/2015/schema.xsd\">\r\n <Meta\r\n ProductCode=\"{AC76BA86-1033-FFFF-7760-000000000006}\" />\r\n</SoftwareIdentity>",
"Dependencies": "",
"IsCorpus": null,
"Name": "Adobe Acrobat XI Pro",
"Version": "11.0.20",
"VersionScheme": "multipartnumeric",
"TagVersion": null,
"TagId": "AC76BA86-1033-FFFF-7760-000000000006",
"IsPatch": null,
"IsSupplemental": null,
"AppliesToMedia": null,
"Meta": "{ProductCode}",
"Links": "",
"Entities": "",
"Payload": null,
"Evidence": null,
"Culture": null,
"Attributes": "{name,version,versionScheme,tagId}"
}
],
"CanonicalId": "msi:Adobe Acrobat XI Pro/11.0.20",
"Metadata": {
"Keys": [
"ProductCode"
],
"Values": [
"{AC76BA86-1033-FFFF-7760-000000000006}"
],
"Count": 1
},
"SwidTagText": "<?xml version=\"1.0\" encoding=\"utf-16\" standalone=\"yes\"?>\r\n<SoftwareIdentity\r\n name=\"Adobe Acrobat XI Pro\"\r\n version=\"11.0.20\"\r\n versionScheme=\"multipartnumeric\"\r\n tagId=\"AC76BA86-1033-FFFF-7760-000000000006\" xmlns=\"http://standards.iso.org/iso/19770/-2/2015/schema.xsd\">\r\n <Meta\r\n ProductCode=\"{AC76BA86-1033-FFFF-7760-000000000006}\" />\r\n</SoftwareIdentity>",
"Dependencies": [],
"IsCorpus": null,
"Name": "Adobe Acrobat XI Pro",
"Version": "11.0.20",
"VersionScheme": "multipartnumeric",
"TagVersion": null,
"TagId": "AC76BA86-1033-FFFF-7760-000000000006",
"IsPatch": null,
"IsSupplemental": null,
"AppliesToMedia": null,
"Meta": [
{
"ActivationStatus": null,
"ChannelType": null,
"Description": null,
"ColloquialVersion": null,
"Edition": null,
"EntitlementKey": null,
"Generator": null,
"PersistentId": null,
"Product": null,
"ProductFamily": null,
"Revision": null,
"UnspscCode": null,
"UnspscVersion": null,
"EntitlementDataRequired": null,
"Culture": null,
"Attributes": "{ProductCode}"
}
],
"Links": [],
"Entities": [],
"Payload": null,
"Evidence": null,
"Culture": null,
"Attributes": {
"Keys": [
"name",
"version",
"versionScheme",
"tagId"
],
"Values": [
"Adobe Acrobat XI Pro",
"11.0.20",
"multipartnumeric",
"AC76BA86-1033-FFFF-7760-000000000006"
],
"Count": 4
}
}