Cilad ku samee arrimaha isku xirka Windows Server Network adoo isticmaalaya PowerShell

Windows Server waxay siisaa qalab aad u badan oo loogu talagalay maamulayaasha haddii codsi ama kumbuyuutarku aanu awoodin inuu ku xidho deked gaar ah ama server IP. Mid ka mid ah shay isla markiiba soo baxa ayaa isticmaalaya qalab lagu xalliyo DNS iyo arrimaha kale ee shabakadaha, laakiin haddii aad jeceshahay isticmaalka PowerShell , waxaa jira amar cajiib ah Test-NetConnection oo aad isticmaali karto.

Natiijooyinka isku xidhka Test-Net

(Troubleshoot Network)Cilad ku samee arimaha isku xidhka shabakada PowerShell

Waxaad isticmaali kartaa Test-NetConnection cmdlet si aad u ogaato macluumaadka ogaanshaha xiriirka. Waxaa ka mid ah taageerada tijaabada Ping , tijaabada (Ping)TCP , baafinta dariiqa( route tracing) , iyo waliba ogaanshaha xulashada dariiqyada.

Iyada oo ku xidhan xulashooyinka la isticmaalo, wax soo saarku wuxuu ka koobnaan doonaa macluumaadka sida  ComputerName , RemoteAddress , SelectedSourceAddress , OutgoingInterfaceIndex , SelectedNetRoute , iyo in ka badan.

Waa kan liiska cabbirrada la taageeray

  • Dekadda guud ee TCP : Waxay qeexdaa lambarka dekedda TCP ee adeegga caadiga ah
  • Magaca Kombiyuutarka: Wuxuu qeexayaa Nidaamka Magaca Domain-( Domain Name System) ka ( DNS ) magaca ama cinwaanka IP-ga ee kombiyuutarka la beegsanayo.
  • ConstrainInterface: Wuxuu qeexayaa xannibaadda is dhexgalka si loogu isticmaalo ogaanshaha waddooyinka.
  • ConstrainSourceAddress: Wuxuu qeexayaa ciwaanka isha ee xannibaadda si loogu isticmaalo baarista dariiqa.
  • DiagnoseRouting: Waxay tuseysaa in dariiqa ogaanshaha ay u socdaan si ay u soo saaraan dariiqa iyo isha xogta xulashada cinwaanka martigeliyaha fog.
  • Hops: Wuxuu qeexayaa tirada boodboodka ee lagu dhex maro amarka raadraaca.
  • Heerka Macluumaadka: Wuxuu qeexayaa heerka macluumaadka faahfaahsan ama xasilloon
  • Deked : Waxay ku qeexdaa lambarka dekedda TCP ee kumbuyuutarka fog.
  • TraceRoute: Waxay tuseysaa in Tracert uu u shaqeeyo si uu u tijaabiyo isku xirnaanta martigeliyaha fog.

Adigoo isticmaalaya(Using the powerful ) Test-NetConnection cmdlet ee xoogga badan(cmdlet)

Test-NetConnection -ComputerName "www.contoso.com" -ConstrainInterface 5 -DiagnoseRouting -InformationLevel "Detailed"

ComputerName : www.contoso.com

RemoteAddress : 2600:1409:a:185::2768

ConstrainInterfaceIndex : 5

SelectedSourceAddress : 2001:4898:e0:79:75dd:64cf:d9ff:f86

OutgoingInterfaceIndex : 5

SelectedNetRoute : DestinationPrefix: ::/0

NextHop: fe80::200:5eff:fe00:202

RouteSelectionEvents : IP: Route [DestinationPrefix: ::/0 NextHop: fe80::200:5eff:fe00:202 InterfaceIndex: 4

RouteMetric: 256] is blocked for Destination: 2600:1409:a:185::2768 ConstrainInterfaceIndex: 5 ConstrainScopeZone: 1 in Compartment: 1, Reason: InterfaceConstraint.

SourceAddressSelectionEvents : IP: Source address 2001:4898:e0:79:75dd:64cf:d9ff:f86 is preferred over fe80::75dd:64cf:d9ff:f86 for destination 2600:1409:a:185::2768 Rule = 2.0.

IP: Source address 2001:4898:e0:79:75dd:64cf:d9ff:f86 is preferred over fe80::75dd:64cf:d9ff:f86 for destination 2600:1409:a:185::2768 Rule = 2.0.

RouteDiagnosticsSucceeded : True

Liiska Tusaalaha amarada

Cilad ku samee arrimaha isku xirka Windows Server Network adoo isticmaalaya PowerShell

Waa kuwan dhawr amar oo muunad ah oo aad isku dayi karto kumbuyuutarkaaga. Qaar ka mid ah amarradan waxay u baahan doonaan mudnaanta maamulka, markaa iska hubi inaad bilowdo PowerShell 7 ama PowerShell 5.1 adigoo haysta oggolaanshaha loo baahan yahay.

Test-NetConnection youtube.com

Macluumaad faahfaahsan oo ku saabsan isku xidhka:

Test-NetConnection youtube.com -InformationLevel "Detailed"

Markaad la shaqeyneyso adeegyada shabakadda, waa in la tijaabiyo deked gaar ah oo TCP ah.

Test-NetConnection youtube.com -Port 443 -InformationLevel "Detailed"

Samee(Perform) ogaanshaha dariiqa si aad ugu xidho martigeliyaha fog.

Test-NetConnection -ComputerName itopstalk.com -DiagnoseRouting -InformationLevel Detailed

Soo hel dekedda caadiga ah ee mareegaha

Test-NetConnection -ComputerName microsoft.com -CommonTCPPort HTTP

Ku socodsii marinka raadraaca mareegaha

Test-NetConnection -ComputerName google.com -TraceRoute

Taasi waxay tidhi, waa faa'iido haddii aad ku jirto madal aan daaqadaha ahayn laakiin aad isticmaasho amar la mid ah kan Windows .

Marka laga reebo tan, waxaan sidoo kale ogaaday fulinta amarada mareegaha qaar sida Microsoft.com . Ma shaqaynayso. Ping wuu guuldarreeyaa mar walba, taas oo noqon karta shay server xannibaya codsiyada aan tooska ahayn.



About the author

Waxaan ahay injineer sare oo software ah iyo sawirro & horumariye app iPhone oo leh khibrad 10 sano ka badan. Xirfadahayga hardware-ka iyo software-ka ayaa iga dhigaya mid ku habboon shirkad kasta ama mashruuca casriga ah ee macaamiisha. Waxaan haystaa faham qoto dheer oo ku saabsan sida loo abuuro sawirro tayo sare leh iyo awood aan kula shaqeeyo dhammaan qaababka sawirada kala duwan. Intaa waxaa dheer, waxaan aqaannaa horumarinta Firefox iyo iOS.



Related posts