We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0939af5 commit 031a756Copy full SHA for 031a756
Tests/Recon.tests.ps1
@@ -110,18 +110,6 @@ Describe 'Get-NameField' {
110
}
111
112
113
-Describe 'Invoke-ThreadedFunction' {
114
- It "Should allow threaded ping" {
115
- $Hosts = ,"localhost" * 100
116
- $Ping = {param($ComputerName) if(Test-Connection -ComputerName $ComputerName -Count 1 -Quiet -ErrorAction Stop){$ComputerName}}
117
- $Hosts = Invoke-ThreadedFunction -NoImports -ComputerName $Hosts -ScriptBlock $Ping -Threads 20
118
- if($Hosts.length -ne 100) {
119
- Throw 'Error in using Invoke-ThreadedFunction to ping localhost'
120
- }
121
122
-}
123
-
124
125
Describe "Get-NetLocalGroup" {
126
It "Should return results for local machine administrators" {
127
if ( (Get-NetLocalGroup | Measure-Object).count -lt 1) {
0 commit comments