langs a-z
This commit is contained in:
parent
db842d013d
commit
d066446780
11389 changed files with 98361 additions and 1020 deletions
14
Task/Introspection/PowerShell/introspection.psh
Normal file
14
Task/Introspection/PowerShell/introspection.psh
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# version is found in $PSVersionTable
|
||||
if ($PSVersionTable['PSVersion'] -lt '2.0') {
|
||||
exit
|
||||
}
|
||||
|
||||
if ((Test-Path Variable:bloop) -and ([Math]::Abs)) {
|
||||
[Math]::Abs($bloop)
|
||||
}
|
||||
|
||||
# find integer variables and their sum
|
||||
Get-Variable -Scope global `
|
||||
| Where-Object { $_.Value -is [int] } `
|
||||
| Measure-Object -Sum Value `
|
||||
| Select-Object Count,Sum
|
||||
Loading…
Add table
Add a link
Reference in a new issue