File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
SCSM-Diagnostic-Tool/SourceCode/_2_Analyzing Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -935,12 +935,15 @@ $ShowTheFindingsPS1Content = $ShowTheFindingsPS1Content.Replace("# SMDTSIGN ends
935
935
Set-Content - Path (Join-Path - Path (Split-Path $resultFolder - Parent) - ChildPath $findingsPS1_FileName ) - Value $ShowTheFindingsPS1Content
936
936
DeleteFileInTargetFolder $findingsHtml_FileName
937
937
938
- # WriteTelemetry
939
- AppendOutputToFileInTargetFolder (GetStatInfo).OuterXml StatInfo.xml
940
938
$sentByForStatInfo = " Run"
941
939
if ( $Script :MyInvocation.UnboundArguments.Contains (" -startedByRule" ) ) {
942
940
$sentByForStatInfo = " Rule"
943
941
}
942
+ (GetStatInfoRoot).SetAttribute(" SmdtRunType" , $sentByForStatInfo )
943
+
944
+ # WriteTelemetry
945
+ AppendOutputToFileInTargetFolder (GetStatInfo).OuterXml StatInfo.xml
946
+
944
947
LogStatInfo (GetStatInfo) $sentByForStatInfo
945
948
946
949
# $ProgressPreference = 'Continue'
You can’t perform that action at this time.
0 commit comments