Skip to content

Instantly share code, notes, and snippets.

View kvprasoon's full-sized avatar
🙏
>_

PRASOON KARUNAN V kvprasoon

🙏
>_
View GitHub Profile
@kvprasoon
kvprasoon / Pester.Remark.json
Last active July 17, 2023 19:26
Json config for Pester with remark
{
"service": {
"suggestion": {
"startmode": "Open PowerShell as administrator and run 'Set-Service -Name {0} -StartType {1}'",
"status": "Make the service '{0}' in {1} state."
},
"expectedconfiguration": [
{
"name": "BITS",
"status": "running",
@kvprasoon
kvprasoon / kvp_braincandy_20190831.ps1
Last active August 31, 2019 18:26
kvp_braincandy_20190831.ps1
# https://twitter.com/dfinke/status/1167559940598370304
$a='';1..9|%{"{0,9} x 8 + $_ = $(8*($a+=$_)+$_)"-f$a}
# if executing only once in a scope
1..9|%{"{0,9} x 8 + $_ = $(8*($a+="$_")+$_)"-f$a}