Is it possible to inventory the Windows 10 build-in applications?
ITMS 8.x
Inventory Solution 8.x
Follow these steps to Inventory Windows 10 Built-in Applications using Symantec Inventory Solution, Custom Inventory.
Step 1:
Create a new custom data class that will store the file information for each computer:
Step 2:
Create a Custom Inventory Script Task:
#************************DO NOT EDIT********************************
$nse = new-object -comobject Altiris.AeXNSEvent
$nse.priority = 1
$nse.To = "{1592B913-72F3-4C36-91D2-D4EDA21D2F96}"
#************************DO NOT EDIT********************************
#Modify this varaible with the custom data class guid
$objDCInstance = $nse.AddDataClass("{3ac40092-71cd-4a69-ae4c-d9c4c1bc3fdb}")
$objDataClass = $nse.AddDataBlock($objDCInstance)
$builtinapps = Get-AppxPackage -AllUsers
#loop through each data file we found and populate rows and columns.
foreach ($app in $builtinapps)
{
#Add new row of data
$objDataRow = $objDataClass.AddRow()
#popluate columns
$objDataRow.SetField(1, $app.Name)
$objDataRow.SetField(2, $app.Publisher)
$objDataRow.SetField(3, $app.Architecture)
$objDataRow.SetField(4, $app.ResourceId)
$objDataRow.SetField(5, $app.Version)
$objDataRow.SetField(6, $app.PackageFullName)
$objDataRow.SetField(7, $app.InstallLocation)
$objDataRow.SetField(8, $app.IsFramework)
$objDataRow.SetField(9, $app.PackageFamilyName)
$objDataRow.SetField(10, $app.PublisherId)
$objDataRow.SetField(11, $app.IsResourcePackage)
$objDataRow.SetField(12, $app.IsBundle)
$objDataRow.SetField(13, $app.IsDevelopmentMode)
$objDataRow.SetField(14, $app.IsPartiallyStaged)
$objDataRow.SetField(15, $app.Dependencies -join ', ')
}
#Send the data
$nse.sendqueued()
Step 2:
Run the created task against targeted Windows 10 managed computer resources.
Step 3:
Create a Custom Report to view the data collected by the custom inventory. You will need to join [vRM_ComputerResource].[GUID] = [Inv_CustomDataClass].[_ResourceGuid]
NOTE: The attachments to this article (Custom Data-Class, Custom Inventory script & Custom Report) are examples and provided as-is with no support.
Provided Attachments as example: