Skip to content

Instantly share code, notes, and snippets.


Nils Andresen nils-a

View GitHub Profile
nils-a /
Last active Dec 14, 2020
An incomplete list of cake IDE Features
nils-a /
Last active Jun 12, 2021
Update-AUPackages Report #powershell #chocolatey
nils-a / MakeLink.cs
Created Nov 2, 2018
Create an exe, that opens a link
View MakeLink.cs
View AddToCac.bat
if not "%VSINSTALLDIR%"=="" goto nodetection
FOR %%P IN ("%ProgramFiles(x86)%", "%ProgramFiles%") do (
::ECHO %%P
FOR %%E IN ("Professional","Enterprise") do (
::ECHO %%E
if exist "%%~P\Microsoft Visual Studio\2017\%%~E\Common7\Tools\VsDevCmd.bat" (
::SET BASE="%%P\Microsoft Visual Studio\2017\%%E\Common7\IDE"
call "%%~P\Microsoft Visual Studio\2017\%%~E\Common7\Tools\VsDevCmd.bat"

Keybase proof

I hereby claim:

  • I am nils-a on github.
  • I am nilsa ( on keybase.
  • I have a public key ASAF3QqoeLGt_-2cSoaW0UAV7UOyi5UJpbm46VIv24g2zgo

To claim this, I am signing this object:

nils-a / bad.ps1
Created Apr 12, 2017
#Requires in PowerShell
View bad.ps1
Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction Inquire | Out-Null