Giter Club home page Giter Club logo

Comments (8)

kinkster avatar kinkster commented on May 22, 2024

The error happens here. It works without issue for 360 hosts but the next jump to 435 hosts consistently fails. I have played with -scantimeout set to 600 up to 12000 and jobtimeout from 10 up to 75

VERBOSE: DSCEA Scan has started
Receive-Job : Cannot bind argument to parameter 'Job' because it is null.
At C:\Program Files\WindowsPowerShell\Modules\DSCEA\1.2.0.0\Functions\Start-DSCEAscan.ps1:322 char:37

  •     $psjobresults = Receive-Job $psresults
    
  •                                 ~~~~~~~~~~
    
    • CategoryInfo : InvalidData: (:) [Receive-Job], ParameterBindingValidationException
    • FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.ReceiveJobCommand

VERBOSE: Connectivity testing complete

from dscea.

rkyttle avatar rkyttle commented on May 22, 2024

Are you using any custom resources in your configuration? Can you provide how many items you are trying to scan?

from dscea.

kinkster avatar kinkster commented on May 22, 2024

from dscea.

kinkster avatar kinkster commented on May 22, 2024

This was done on a Win7 system. I have moved it to a 2012R2 server and seems to be consistent

from dscea.

rkyttle avatar rkyttle commented on May 22, 2024

You mentioned earlier, "The error happens here. It works without issue for 360 hosts but the next jump to 435 hosts consistently fails."

For the 75 systems that you are adding which brings things to 435, are you able to successfully perform a scan against those systems on their own?

from dscea.

kinkster avatar kinkster commented on May 22, 2024

from dscea.

kinkster avatar kinkster commented on May 22, 2024

I moved script to 2012 R2 server. Seemed to work fine for close to 1000 hosts for 5 weeks. Now scan fails with no errors just a scan timeout. Number of hosts varies but around 400. What also is common is that Jobs complete: 398 of 400 (Two jobs are usually unfinished) is where it typically will hang and timeout. Threads go from 28 to 1482.

from dscea.

kinkster avatar kinkster commented on May 22, 2024

So turns out those two jobs were issues with winrm. Previous to the scan I would do a test-wsman. This was not good enough. I had two hosts that would not allow me to winrm. I guess the -timeout option should have worked in this instance.

from dscea.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.