Skip to content

Instantly share code, notes, and snippets.

View robinrehbein's full-sized avatar

Robin Rehbein robinrehbein

View GitHub Profile
write-host "checking..."
# check for apache
$apache = scoop which httpd
if($lastexitcode -ne 0) { 'Apache isn''t installed. run ''scoop install apache'''; return }
# check for php
$php = scoop which php
if($lastexitcode -ne 0) { 'PHP isn''t installed. run ''scoop install php'''; return }