thor
09/26/2017, 7:38 PMmsbuild
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
09/27/2017, 5:04 PMInvoke-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
09/27/2017, 5:37 PMtools/provision/chocolatey/osquery_utils.ps1
, but it's very likely the same as the one you grabbed 🙂