Other possibility to do a PING with Power Shell is the command "Test-Connection " / "Test-NetConnection"
[ ] Check with times.
Command: Test-Connection google.com,adidas.com,nike.com
[ ] Only Check without times.
Command: Test-Connection google.com,adidas.com,nike.com -Quiet
[ ] Check differnts sources
Command: Test-Connection google.com,adidas.com,nike.com -source XXXdc01, XXXdc02
To check all path
Test-Connection XXXdc01 -source XXXdc02Test-Connection XXXdc02 -source XXXdc01
[ ] With information path
Command: Test-NetConnection nike.com -TraceRoute
My computer have one Proxy to go to internet it is the cause that I have a few IP at my TracerRouter.
[ ] Check computer port
Command: Enter-PSSession -ComputerName selected_host -Credential selected_User
[ ] More information
Command: Test-NetConnection XXXXXdc01
Command: Test-NetConnection google -port 443
Links: https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/test-connection?view=powershell-5.1
Check at Windows 2012 R2 & W10
by GoN | Published: September 1, 2017 | Last Updated: Dec 1, 2020
by GoN | Published: September 1, 2017 | Last Updated: Dec 1, 2020
No hay comentarios:
Publicar un comentario