{"id":808345,"date":"2026-05-14T07:28:30","date_gmt":"2026-05-14T07:28:30","guid":{"rendered":"https:\/\/www.ninjaone.com\/?post_type=script_hub&#038;p=808345"},"modified":"2026-05-14T07:28:30","modified_gmt":"2026-05-14T07:28:30","slug":"identify-slow-ethernet-connections-powershell","status":"publish","type":"script_hub","link":"https:\/\/www.ninjaone.com\/pt-br\/script-hub\/identify-slow-ethernet-connections-powershell\/","title":{"rendered":"Script do PowerShell para identificar conex\u00f5es Ethernet lentas no Windows"},"content":{"rendered":"<p>Sauda\u00e7\u00f5es a todos voc\u00eas, guerreiros experientes em tecnologia. A solu\u00e7\u00e3o de problemas de rede n\u00e3o \u00e9 apenas uma tarefa &#8211; \u00e9 uma forma de arte. Mas, \u00e0s vezes, a tecnologia pode tornar essa arte um pouco menos abstrata. Hoje, vamos falar sobre um <strong>script do PowerShell que <\/strong><strong>identifica<\/strong><strong> as conex\u00f5es Ethernet com fio que est\u00e3o funcionando mais lentamente do que 1 Gbps<\/strong>.<\/p>\n<h2>Como o script funciona<\/h2>\n<h3><strong>Obter um adaptador de rede<\/strong><\/h3>\n<p>Esse script usa o cmdlet <strong>Get-NetAdapter<\/strong> para obter uma lista de adaptadores de rede em seu sistema. <strong>Get-NetAdapter<\/strong> \u00e9 um cmdlet interno do PowerShell que recupera informa\u00e7\u00f5es b\u00e1sicas e detalhadas sobre os adaptadores de rede presentes em seu sistema.<\/p>\n<h3><strong>Onde-Objeto<\/strong><\/h3>\n<p>Depois de obter a lista, a instru\u00e7\u00e3o <strong>Where-Object<\/strong> filtra os resultados com base em condi\u00e7\u00f5es espec\u00edficas, como omitir adaptadores de rede virtual, considerar apenas conex\u00f5es ativas ou &#8220;Up&#8221; e concentrar-se apenas em conex\u00f5es Ethernet com fio. Isso garante que voc\u00ea n\u00e3o gaste tempo analisando dados irrelevantes.<\/p>\n<h3><strong>Selecionar-Objeto<\/strong><\/h3>\n<p>Por fim, a instru\u00e7\u00e3o <strong>Select-Object<\/strong> formata a sa\u00edda para mostrar apenas o <strong>Name<\/strong>, <strong>InterfaceDescription<\/strong>, <strong>Status<\/strong> e <strong>LinkSpeed<\/strong> dos adaptadores de rede que atendem aos crit\u00e9rios. Isso lhe d\u00e1 um resultado condensado e f\u00e1cil de ler que se concentra nos detalhes essenciais.<\/p>\n<h2>O roteiro: Identifique se h\u00e1 alguma conex\u00e3o ethernet com fio que esteja funcionando mais lentamente do que 1 Gbps<\/h2>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\">#Requires -Version 5.1\r\n\r\n&lt;#\r\n.SYNOPSIS\r\n    Identify if any wired ethernet connections that are running slower than 1 Gbps.\r\n.DESCRIPTION\r\n    Identify if any wired ethernet connections that are running slower than 1 Gbps.\r\n    This can highlight devices that are connected to old hubs\/switches or have bad cabling.\r\n.OUTPUTS\r\n    None\r\n.NOTES\r\n    Minimum supported OS: Windows 10, Server 2016\r\n    Release Notes:\r\n    Initial release\r\nBy using this script, you indicate your acceptance of the following legal terms as well as our Terms of Use at https:\/\/www.ninjaone.com\/terms-of-use.\r\n    Ownership Rights: NinjaOne owns and will continue to own all right, title, and interest in and to the script (including the copyright). NinjaOne is giving you a limited license to use the script in accordance with these legal terms. \r\n    Use Limitation: You may only use the script for your legitimate personal or internal business purposes, and you may not share the script with another party. \r\n    Republication Prohibition: Under no circumstances are you permitted to re-publish the script in any script library or website belonging to or under the control of any other software provider. \r\n    Warranty Disclaimer: The script is provided \u201cas is\u201d and \u201cas available\u201d, without warranty of any kind. NinjaOne makes no promise or guarantee that the script will be free from defects or that it will meet your specific needs or expectations. \r\n    Assumption of Risk: Your use of the script is at your own risk. You acknowledge that there are certain inherent risks in using the script, and you understand and assume each of those risks. \r\n    Waiver and Release: You will not hold NinjaOne responsible for any adverse or unintended consequences resulting from your use of the script, and you waive any legal or equitable rights or remedies you may have against NinjaOne relating to your use of the script. \r\n    EULA: If you are a NinjaOne customer, your use of the script is subject to the End User License Agreement applicable to you (EULA).\r\n#&gt;\r\n\r\n[CmdletBinding()]\r\nparam ()\r\n\r\nprocess {\r\n    $NetworkAdapters = Get-NetAdapter -ErrorAction SilentlyContinue | Where-Object {\r\n        $_.Virtual -eq $false -and # Filter out any adapter that are Virtual, like VPN's\r\n        $_.Status -like \"Up\" -and # Filter out any disconnected adapters\r\n        ($_.PhysicalMediaType -like \"*802.3*\" -or $_.NdisPhysicalMedium -eq 14) -and # Filter out adapters like Wifi\r\n        $_.LinkSpeed -notlike \"*Gbps\" # Filter out the 1, 2.5, and 10 Gbps network adapters\r\n    }\r\n    $NetworkAdapters | Select-Object Name, InterfaceDescription, Status, LinkSpeed\r\n    if ($NetworkAdapters) {\r\n        exit 1\r\n    }\r\n}<\/pre>\n<p>&nbsp;<\/p>\n\n<div class=\"in-context-cta\"><p>Acesse mais de 300 scripts no NinjaOne Dojo<\/p>\n<p><a href=\"https:\/\/www.ninjaone.com\/freetrialform\/\">Obter acesso<\/a><\/p>\n<\/div>\n<h2>Benef\u00edcios do uso do script<\/h2>\n<h3><strong>Economia de tempo<\/strong><\/h3>\n<p>A identifica\u00e7\u00e3o manual de conex\u00f5es Ethernet lentas pode levar horas, especialmente em uma grande empresa. Esse script automatiza esse processo, transformando um poss\u00edvel trabalho \u00e1rduo em uma tarefa r\u00e1pida.<\/p>\n<h3><strong>Identifica\u00e7\u00e3o de poss\u00edveis problemas<\/strong><\/h3>\n<p>Ao sinalizar conex\u00f5es abaixo de 1 Gbps, o script ajuda a identificar links fracos na infraestrutura de rede, permitindo a corre\u00e7\u00e3o proativa antes que se transformem em problemas maiores.<\/p>\n<h3><strong>Relat\u00f3rios<\/strong><\/h3>\n<p>Para aqueles que desejam manter o controle do desempenho da rede ao longo do tempo, o script pode ser integrado a sistemas automatizados para gerar relat\u00f3rios regulares sobre conex\u00f5es Ethernet lentas.<\/p>\n<h2>Como implementar<\/h2>\n<ul>\n<li><strong>Abra o PowerShell com privil\u00e9gios administrativos<\/strong>: Clique com o bot\u00e3o direito do mouse no \u00edcone do PowerShell e escolha &#8220;Executar como administrador&#8221;<\/li>\n<li><strong>Copie e cole o script na janela do PowerShell<\/strong>: Certifique-se de ter copiado todo o script com precis\u00e3o.<\/li>\n<li><strong>Pressione Enter para executar o script<\/strong>: O script ser\u00e1 executado e, se encontrar alguma conex\u00e3o Ethernet lenta, ele a listar\u00e1 para voc\u00ea.<\/li>\n<\/ul>\n<h2>Aproveitamento do NinjaOne para um gerenciamento de rede aprimorado<\/h2>\n<h3><strong>Automatiza\u00e7\u00e3o da execu\u00e7\u00e3o de scripts<\/strong><\/h3>\n<p>O NinjaOne pode automatizar a execu\u00e7\u00e3o desse script do PowerShell em intervalos que voc\u00ea especificar. Esse monitoramento cont\u00ednuo garante que voc\u00ea esteja sempre \u00e0 frente de qualquer poss\u00edvel lentid\u00e3o.<\/p>\n<h3><strong>Relat\u00f3rios<\/strong><\/h3>\n<p>O NinjaOne tamb\u00e9m pode gerar relat\u00f3rios concisos e f\u00e1ceis de entender com base na sa\u00edda do script. Isso pode ajud\u00e1-lo a fazer a tend\u00eancia das velocidades da rede ao longo do tempo, identificar problemas cr\u00f4nicos e at\u00e9 mesmo atender aos requisitos de conformidade.<\/p>\n<h3><strong>Integra\u00e7\u00e3o<\/strong><\/h3>\n<p>E n\u00e3o vamos esquecer que o NinjaOne se integra perfeitamente a outras ferramentas de gerenciamento de rede que voc\u00ea j\u00e1 pode estar usando, criando assim uma solu\u00e7\u00e3o de gerenciamento unificada e centralizada.<\/p>\n<h2>Considera\u00e7\u00f5es finais<\/h2>\n<p>N\u00e3o deixe que conex\u00f5es Ethernet lentas sejam o gargalo da <a href=\"https:\/\/www.ninjaone.com\/pt-br\/eficiencia\/\">produtividade da sua equipe<\/a>. Use este script do PowerShell para identifica\u00e7\u00e3o e resolu\u00e7\u00e3o r\u00e1pidas. E se voc\u00ea quiser melhorar ainda mais seu jogo, aproveite os recursos avan\u00e7ados do NinjaOne para gerenciar, analisar e <a href=\"https:\/\/www.ninjaone.com\/pt-br\/endpoint-management\/gerenciamento-de-rede\/\">preparar sua infraestrutura de rede para o futuro<\/a>.<\/p>\n","protected":false},"author":35,"featured_media":142143,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_relevanssi_hide_post":"","_relevanssi_hide_content":"","_relevanssi_pin_for_all":"","_relevanssi_pin_keywords":"","_relevanssi_unpin_keywords":"","_relevanssi_related_keywords":"","_relevanssi_related_include_ids":"","_relevanssi_related_exclude_ids":"","_relevanssi_related_no_append":"","_relevanssi_related_not_related":"","_relevanssi_related_posts":"","_relevanssi_noindex_reason":"","_lmt_disableupdate":"no","_lmt_disable":""},"operating_system":[4212],"use_cases":[12456],"class_list":["post-808345","script_hub","type-script_hub","status-publish","has-post-thumbnail","hentry","script_hub_category-windows"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.ninjaone.com\/pt-br\/wp-json\/wp\/v2\/script_hub\/808345","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ninjaone.com\/pt-br\/wp-json\/wp\/v2\/script_hub"}],"about":[{"href":"https:\/\/www.ninjaone.com\/pt-br\/wp-json\/wp\/v2\/types\/script_hub"}],"author":[{"embeddable":true,"href":"https:\/\/www.ninjaone.com\/pt-br\/wp-json\/wp\/v2\/users\/35"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ninjaone.com\/pt-br\/wp-json\/wp\/v2\/comments?post=808345"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ninjaone.com\/pt-br\/wp-json\/wp\/v2\/media\/142143"}],"wp:attachment":[{"href":"https:\/\/www.ninjaone.com\/pt-br\/wp-json\/wp\/v2\/media?parent=808345"}],"wp:term":[{"taxonomy":"script_hub_category","embeddable":true,"href":"https:\/\/www.ninjaone.com\/pt-br\/wp-json\/wp\/v2\/operating_system?post=808345"},{"taxonomy":"use_cases","embeddable":true,"href":"https:\/\/www.ninjaone.com\/pt-br\/wp-json\/wp\/v2\/use_cases?post=808345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}