Built base module structure

This commit is contained in:
KevinMarquette
2017-02-02 18:34:04 -08:00
parent a346ed28a0
commit 912c4879d0
13 changed files with 260 additions and 0 deletions

30
ScratchFiles/tests.ps1 Normal file
View File

@@ -0,0 +1,30 @@
$script:test2 = 20
Set-PSBreakpoint -Script .\example.ps1 -Line (1..9) -OutVariable breakpoint -Action {global:Set-BPInfo $_}
.\example.ps1
global:Get-BPInfo | fl *
global:Set-BPInfo
$script:test2
$breakpoint | Get-Member
Remove-PSBreakpoint $breakpoint
function global:Set-BPInfo {
param($value)
$global:BPinfo += 1
$global:BPvalue = $value
}
function global:Get-BPInfo {
$global:BPvalue
}
# per file
# per line
# hit count
# execution
# the command before