DCHealthCheckRemoting

Some editing and altering of security permissions may be required but this script is designed to allow a regular user account to check the DC for any issues in your environment. It is designed to gather data and not writing of data from an RDS server. This is meant to be ran fo

 
 
 
 
 
(0)
264 times
Add to favorites
Active Directory
3/5/2018
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • TestConnection
    1 Posts | Last post May 04, 2018
    • PS C:\> Test-Connection -ComputerName DC01 -Quiet
      True
      PS C:\> Test-Connection -ComputerName DC02 -Quiet
      True
  • Test-Connection -ComputerName DC01
    1 Posts | Last post May 04, 2018
    • PS C:\> Test-Connection -ComputerName DC01 -Quiet
      True
      PS C:\> Test-Connection -ComputerName DC02 -Quiet
      True
  • Test-Connection : 无法对参数“ComputerName”执行参数验证。参数为 Null 或空。请提供一个不为 Null 或空的参数
    1 Posts | Last post May 04, 2018
    • 
      Test-Connection : 无法对参数“ComputerName”执行参数验证。参数为 Null 或空。请提供一个不为 Null 或空的参数,然后重试该
      命令。
      所在位置 C:\DCHealthCheckRemoting.ps1:44 字符: 42
      +     $result = test-connection -computername $Server -quiet
      +                                             ~~~~~~~
          + CategoryInfo          : InvalidData: (:) [Test-Connection],ParameterBindingValidationException
          + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.PowerShell.Commands.TestConnectionCommand
      
      Error,  appears to be offline. Please check it manually
      Moving to next server...
      
      *********************************************************************************************
      BEGINNING THE DETAILED DC HEALTH CHECK ON DC02
      *********************************************************************************************
      
      
      ------------------------------------------------------------------------------------
      VALIDATING  IS ONLINE
      ------------------------------------------------------------------------------------
      
      Test-Connection : 无法对参数“ComputerName”执行参数验证。参数为 Null 或空。请提供一个不为 Null 或空的参数,然后重试该
      命令。
      所在位置 C:\DCHealthCheckRemoting.ps1:44 字符: 42
      +     $result = test-connection -computername $Server -quiet
      +                                             ~~~~~~~
          + CategoryInfo          : InvalidData: (:) [Test-Connection],ParameterBindingValidationException
          + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.PowerShell.Commands.TestConnectionCommand
      
      Error,  appears to be offline. Please check it manually
      Moving to next server...
      
      
      The Domain Controller Health Check Script script finished successfully!
  • error with test connection
    2 Posts | Last post April 26, 2018
    • VALIDATING  IS ONLINE                                                                                                   
      ------------------------------------------------------------------------------------                                    
                                                                                                                              
      Test-Connection : Cannot validate argument on parameter 'ComputerName'. The argument is null or empty. Provide an       
      argument that is not null or empty, and then try the command again.                                                     
      At C:\Users\xxxx\Downloads\DCHealthCheckRemoting.ps1:44 char:42                                                
      +     $result = test-connection -computername $server -quiet                                                            
      +                                             ~~~~~~~                                                                   
          + CategoryInfo          : InvalidData: (:) [Test-Connection], ParameterBindingValidationException                   
          + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.PowerShell.Commands.TestConnectionCommand      
                                                                                                                              
      Error,  appears to be offline. Please check it manually                                                                 
      Moving to next server...                                                                                                
                                                                                                                              
      ********************************************************************************************* 
    • Make sure the Computer is on the AD Domain, use the NetBIOS name not the fqdn.
      Make sure the ports are open using the script in the link below.
      https://gallery.technet.microsoft.com/scriptcenter/TCPPortCheck-448fd46f