Skip to content

SCOM-DataCollector - v3.8.1

Compare
Choose a tag to compare
@blakedrumm blakedrumm released this 18 Mar 20:53
· 545 commits to master since this release
437b800

Change Log

Bug Fixes

  • You will now get prompted everytime you run the script without a -Yes parameter, that asks you if you want to run the script as another account.
  • Attempted to fix GpResult to allow it to return correctly.
  • Fixed several small bugs in General Information.
  • Attempt to fix error reporting to Error.log.
  • Updated -CheckTLS it will now verify if you have OBDC Driver v11, 13, 17, or 18 installed.
  • Updated -GetRulesAndMonitors, it will now return the correct data for Rules / Monitors where it would fail before.
  • Fixed issue with -GetLocalSecurity not returning correctly for the local machine. Also attempted to add better error handling.
  • Fixed issue with -GetInstallLogs where it would not correctly copy the files due to paths being invalid.
  • $ManagementServer internal variable that would return incorrectly due to an issue with how I was calculating the correct server, this is now fixed.
  • Configuration Checker has been fixed to work with the -ManagementServers parameter.
  • Fixed issue when relaunching the script as another account, this was caused by the first question (Do you want to run as SDK?), this is now fixed and should no longer be an issue.
  • Connectivity test to remote file shares should no longer fail if you are actually able to access them.
  • Other small unlisted fixes.

Additions

  • Linux Agent Authentication Type has been added to General Information.txt (Kerberos / Basic) - https://docs.microsoft.com/en-us/system-center/scom/manage-linux-kerberos-auth?view=sc-om-2019#enable-or-disable-kerberos-authentication-on-a-management-or-a-gateway-server

  • Updated script internal SQL Product version list to latest released.

  • Added ability to output script runtime information into the version file that is in the output zip (datacollector-v3.8.1 file).

    Script Running as User:
    contoso\Administrator
    
    Script Running on Server:
    MS01-2019
    
    Script Path:
    C:\DataCollector\DataCollector.ps1
    
    Parameters Passed:
    -AssumeYes  -SkipConnectivityTests  -ManagementServers MS02-2019 
    
    Script execution started on date/time:
    March 18, 2022 @ 1:49 PM
    
    Script execution completed on date/time:
    March 18, 2022 @ 1:54 PM
    
  • New Parameter -SkipConnectivityTests

  • New Parameter -SkipGeneralInformation

  • New Parameter -SkipSQLQueries

  • New Script Auto Updater will be included. This will allow you to download the latest version of the Data Collector from the internet. (Option 4 in the Built-in Menu OR the new file included in the release Script-Auto-Updater.ps1).

  • Added System Uptime to General Information.

  • Added w32tm gathering to the General Information text file, to assist with issues relating to time skew.

  • Added Best Practice Anaylzer to Output of Script Execution.

  • Added ability for Best Analyzer to be run against local and remote Management Servers.

  • The Report Builder will be included in the Release Assets going forward.


More Information

  • You now have more control over the Data Collector with the ability to skip checks / general information gathering.

    Example 1

    If you want to gather the Event Logs from all Management Servers and THATS IT:

    .\DataCollector.ps1 -SkipSQLQueries -SkipGeneralInformation -GetEventLogs

    Example 2

    If you want to skip connectivity checks and attempt to get as much data as possible:

    .\DataCollector.ps1 -SkipConnectivityTests -All
    
  • The only gathering the script does by default when the script is run, is the General Information.txt file and the SQL Queries. But you can exclude these with the following parameters: -SkipGeneralInformation -SkipSQLQueries

Download Count v-3.8.1