Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am stonesbg on github.
* I am stonesbg (https://keybase.io/stonesbg) on keybase.
* I have a public key ASAbPjr9cxriin23efQQLWC-ctknO37Ckb8pIkyzIwJ8Fwo
To claim this, I am signing this object:
@stonesbg
stonesbg / Find-GitRepository.ps1
Created June 20, 2017 08:02 — forked from jdhitsolutions/Find-GitRepository.ps1
Use this PowerShell function to find Git repositories in the specified folder. It is assumed that you have the Git command line tools already installed.
Function Find-GitRepository {
<#
.SYNOPSIS
Find Git repositories
.DESCRIPTION
Use this command to find Git repositories in the specified folder. It is assumed that you have the Git command line tools already installed.
.PARAMETER Path
The top level path to search.
@stonesbg
stonesbg / database_spec.rb
Created May 10, 2017 11:44
Inspec Test Failure SQL Server 2016 CIEP tests
control 'sql-server-customer-experiance' do
impact 1.0
title 'Verify SQL Server Customer Experiances services turned off'
tag 'sql_server'
describe registry_key('HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server') do
its('CustomerFeedback') { should eq 0 }
end
describe registry_key('HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\130') do