backlog/Test-CmCmgAppSync.ps1

$query = "SELECT TOP (1000) [AppModelId]
,[InternalId]
,[ProgramId]
,[ProductName]
,[ProductVersion]
,[Publisher]
,[ProductLanguage]
,[ProductCode]
,[IsDeleted]
,[SequenceNumber]
FROM [CM_SIA].[dbo].[vCMGS_AppProgramSyncData]"