https://github.com/osquery/osquery logo
Title
t

thor

09/26/2017, 7:38 PM
the 2.) That was going to follow was, I'm making manual use of
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
z

zwass

09/27/2017, 5:04 PM
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?
t

thor

09/27/2017, 5:37 PM
That might be the one I'm using - we have an implementation in
tools/provision/chocolatey/osquery_utils.ps1
, but it's very likely the same as the one you grabbed 🙂