How to Check DNS Records of Website
10 PowerShell cmdlets to speed network troubleshooting
Microsoft Outlook update: The 7 features business professionals need to know
As Microsoft releases newer versions of its Windows client and server OSes, it continues to double down on PowerShell (PS), the framework developed for managing systems and automation. With its ever-expanding list of commands, called cmdlets, PS is poised to aid in configuring just about any settings found within Windows.
While PS boasts a vast number of cmdlets, thankfully most are grouped based on functionality or the service they manage. For the purposes of this article, the cmdlets that pertain to managing network-based settings are all found within the base PowerShell framework.
Before diving into the cmdlets, there are a few requirements that must be met to ensure that all cmdlets are available and fully supported:
Switched network (required for most cmdlets to function properly)
Broadband internet access (optional, but recommended)
The Test-NetConnection cmdlet offers a number of ways to test network connectivity on the LAN and WAN. Enter the command as typed above and the computer will essentially perform a ping to determine if network connectivity between the local device and the target computer or domain exists.
Another feature of the Test-NetConnection cmdlet is the ability to test the connectivity between the local device and the target host by specifying a port number. This is extremely useful for testing services between devices and the ports they communicate on specifically.
Performing a trace route to determine how many hops (or steps) a packet must go through to get from the source to its destination is an important tool, as it allows you to see where the transmission is going, and more important, whether it was successful. If it wasn't, trace route will indicate where the packet failed along the path.
Similar to the ipconfig command, the Get-NetIPConfiguration cmdlet provides a holistic view of the network configuration(s) set on the network adapters of a computer. IP, DNS, and Gateway addresses are displayed and sorted by adapter name.
Arguably, the backbone of a network is the DNS service. Without it, users would be forced to know the IP addresses for all websites and services. And yet when connectivity issues arise, DNS is often the culprit after ruling out IP-related errors. By appending the "-server" switch, followed by a DNS server's IP address, IT can perform a DNS resolve request against a specific server to verify resolution is working properly.
Just like netstat before it, the Get-NetTCPConnection cmdlet allows for viewing of the current TCP connections that have been made to/from a device, as well as open or listening connections. This helps you troubleshoot issues that pertain to IPs and ports, specifically those bound to certain network services.
This cmdlet lets you check the DNS client information for a device. It will indicate what DNS server(s) are being used by the device to perform address resolutions as configured on multiple adapters. The Set-DnsClientServerAddress cmdlet allows for specified DNS servers to be added to the network configuration.
The DNS cache helps keep often used DNS resolution records stored locally on a device, allowing it to read that record instead of performing a lookup every time a record is requested. This helps speed up the already fast resolution process. If stale records--or those that haven't been updated--are present, this could lead to poor network performance, denial of service, or security issues that seek to exploit incorrect records that point user requests to the wrong server/service.

Invoke-Command -ComputerName -ScriptBlock {ipconfig /release} Dns Check
Invoke-Command -ComputerName -ScriptBlock {ipconfig /renew}
While PowerShell includes many cmdlets to manage network settings, there is no direct way to release/renew DHCP leases without referencing another cmdlet first, then piping the results to a second or third cmdlet to be able to modify the DHCP setting. However, by leveraging the Invoke-Command, you can remotely (or via script) perform a release and/or renew by calling upon the ipconfig command.
Last but certainly not least is the cmdlet for disabling/enabling network adapters on a device. While not as fancy a method for troubleshooting network problems as the cmdlets listed above, as any IT professional will tell you, sometimes the only thing you have to do to resolve a network-based problem is turn it off and on again.
Be your company's Microsoft insider with the help of these Windows and Office tutorials and our experts' analyses of Microsoft's enterprise products. Delivered Delivered Mondays and Wednesdays
10 PowerShell cmdlets you can use instead of CMD commands (TechRepublic)
Microsoft PowerShell now available on Linux as an Ubuntu snap (ZDNet)
Microsoft's Linux love-in continues as PowerShell Core comes to Ubuntu Snap Store (TechRepublic)
10 more PowerShell cmdlets you can use instead of CMD commands (TechRepublic)
What PowerShell cmdlets have worked best for your network troubleshooting tasks? Share your experiences and advice with fellow TechRepublic members in the discussion below.
Can Russian hackers be stopped? Here's why it might take 20 years
Deterring hackers is almost impossible when the rewards are so great and the risks are so low. Can anything stop them?

The new commute: How driverless cars, hyperloop, and drones will change our travel plans
Transportation is about to get a technology-driven reboot. The details are still taking shape, but future transport systems will certainly be connected, data-driven and highly automated.
Exomedicine arrives: How labs in space could pave the way for healthcare breakthroughs on Earth
Space Tango's space-as-a-service model is running zero-gravity experiments on the International Space Station. Learn how they could power new innovations in medicine.
How Sephora is leveraging AR and AI to transform retail and help customers buy cosmetics
Beauty retailer Sephora followed customer technology trends to command the cosmetic industry worldwide. Here's an inside look at its successful digital transformation.
NASA's unsung heroes: The Apollo coders who put men on the moon

Learn how pioneering software engineers helped NASA launch astronauts into space, and bring them back again--pushing the boundaries of technology as they did it.
Defending against cyberwar: How the cybersecurity elite are working to prevent a digital apocalypse
Cyberwar has evolved from the theoretical to the ominous. TechRepublic went inside one of the defenders vs. hackers war games that's helping countries prepare to defend themselves.
Jesus Vigo is a Network Administrator by day and owner of Mac|Jesus, LLC, specializing in Mac and Windows integration and providing solutions to small- and medium-size businesses. He brings 19 years of experience and multiple certifications from seve...
Jesus Vigo is a Network Administrator by day and owner of Mac|Jesus, LLC, specializing in Mac and Windows integration and providing solutions to small- and medium-size businesses. He brings 19 years of experience and multiple certifications from several vendors, including Apple and CompTIA.
Can Russian hackers be stopped? Here's why it might take 20 years
Deterring hackers is almost impossible when the rewards are so great and the risks are so low. Can anything stop them?
The new commute: How driverless cars, hyperloop, and drones will change our travel plans
Transportation is about to get a technology-driven reboot. The details are still taking shape, but future transport systems will certainly be connected, data-driven and highly automated.
Exomedicine arrives: How labs in space could pave the way for healthcare breakthroughs on Earth
Space Tango's space-as-a-service model is running zero-gravity experiments on the International Space Station. Learn how they could power new innovations in medicine.
How Sephora is leveraging AR and AI to transform retail and help customers buy cosmetics
Beauty retailer Sephora followed customer technology trends to command the cosmetic industry worldwide. Here's an inside look at its successful digital transformation.

NASA's unsung heroes: The Apollo coders who put men on the moon Dns Check
Learn how pioneering software engineers helped NASA launch astronauts into space, and bring them back again--pushing the boundaries of technology as they did it.
Defending against cyberwar: How the cybersecurity elite are working to prevent a digital apocalypse
Cyberwar has evolved from the theoretical to the ominous. TechRepublic went inside one of the defenders vs. hackers war games that's helping countries prepare to defend themselves.

0 Reviews:
Post Your Review