thor
msbuild
to compile the extension with msbuild osquery.sln /p:Configuration=Release /p:PlatformType=x64 /p:Platform=x64 /t:external_extension_test /m /v:m
after I have invoked the VC Build tools with Invoke-BatchFile "$env:VS140COMNTOOLS\..\..\vc\vcvarsall.bat" amd64
zwass
Invoke-Batchfile
does not seem to be a PS builtin, but I was able to copy/paste this implementation to get it to work (https://github.com/jbake/Powershell_scripts/blob/master/Invoke-BatchFile.ps1). Where are you getting it from?thor
tools/provision/chocolatey/osquery_utils.ps1
, but it's very likely the same as the one you grabbed 🙂