Tag Archives: Would

For Sale – **Clear Out** Unifi, itx NZXT S340 elite, Ryzen

Hi all. Below are a few things I have for sale.

May split the below if I get the right offer. Would pref to keep mb/ram/CPU together

Unifi USG : £80

Mini itx – £200
I5 4570t
8gb ddr3 ram
MSI z87i dual nic itx
Lian li pc26q itx
430watt psu

ATX – £300
Ryzen 1600
8gb ddr4 ram
MSI b350 gaming plus
120gb SSD
630watt psu
Wireless card.
Next s340 elite black/red

H110 gt £40
Not used in a while sold as seen

Zyxel 2 bay Nas 325 – £25

Will upload photos tomorrow’s

Also looking for a fractal Node 804

Go to Original Article
Author:

For Sale – or Trade Asus Zenbook Pro 14″ i7 8th Gen CPU Geforce GTX 1050 Video Card 250GB SSD 8GB RAM – £850

I got this excellent laptop just a few weeks back but would prefer a 13″ Apple MacBook Pro/Air or iPad.

The laptop has warranty until 22 July 2020

I do not have a receipt as the laptop was a gift.

The date above is taken from “My ASUS” which states that this is the date used if no proof of purchase is available.

I have just logged a repair request with ASUS through to the RMA issue stage before cancelling and only needed to supply the serial number.

Whilst it would seem to me that you would be able to take advantage of the warranty you should also check to satisfy yourself.

Here is a link for full details of the laptop

ASUS ZenBook Pro 14 UX480FD | Laptops | ASUS United Kingdom

Mine is the

Intel® Core™ i7-8565U processor
1.8GHz quad-core with Turbo Boost (up to 4.6GHz) and 8MB cache

NVIDIA® GeForce® GTX 1050 Max-Q
Video memory: 2GB GDDR5 VRAM

14” LED-backlit Full HD (1920 x 1080) 16:9 touchscreen

5.2mm-thin bezel with 86% screen-to-body ratio
178° wide-view technology
Pantone® validated

8GB 2400MHz DDR4

256GB PCIe x2 SSD

1 x USB 3.1 Gen2 Type-C
1 x USB 3.1 Gen2 Type-A
1 x USB 2.0
1 x Standard HDMI
1 x Combo audio jack

Keyboard
Full-size backlit with 1.4mm key travel
IR camera supporting Windows Hello

ScreenPad
5.5” FHD (1920 x 1080) Super IPS+ display
178˚ wide-view technology
Glass-covered for fingerprint and smudge resistance
Precision touchpad (PTP) technology supports up to four-finger smart gestures

I can confirm it is in excellent condition and will be posted in its original box and be fully insured.

Price and currency: £850
Delivery: Delivery cost is included within my country
Payment method: BT, PayPal Gift or Cash
Location: Accrington
Advertised elsewhere?: Advertised elsewhere
Prefer goods collected?: I have no preference

______________________________________________________
This message is automatically inserted in all classifieds forum threads.
By replying to this thread you agree to abide by the trading rules detailed here.
Please be advised, all buyers and sellers should satisfy themselves that the other party is genuine by providing the following via private conversation to each other after negotiations are complete and prior to dispatching goods and making payment:

  • Landline telephone number. Make a call to check out the area code and number are correct, too
  • Name and address including postcode
  • Valid e-mail address

DO NOT proceed with a deal until you are completely satisfied with all details being correct. It’s in your best interest to check out these details yourself.

Go to Original Article
Author:

Learn to set up and use PowerShell SSH remoting

When Microsoft said PowerShell would become an open source project that would run on Windows, Linux and macOS in August 2016, there was an interesting wrinkle related to PowerShell remoting.

Microsoft said this PowerShell Core would support remoting over Secure Shell (SSH) as well as Web Services-Management (WS-MAN). You could always use the PowerShell SSH binaries, but the announcement indicated SSH support would be an integral part of PowerShell. This opened up the ability to perform remote administration of Windows and Linux systems easily using the same technologies.

A short history of PowerShell remoting

Microsoft introduced remoting in PowerShell version 2.0 in Windows 7 and Windows Server 2008 R2, which dramatically changed the landscape for Windows administrators. They could create remote desktop sessions to servers, but PowerShell remoting made it possible to manage large numbers of servers simultaneously.

Remoting in Windows PowerShell is based on WS-MAN, an open standard from the Distributed Management Task Force. But because WS-MAN-based remoting is Windows orientated, you needed to use another technology, usually SSH, to administer Linux systems.

Introducing SSH on PowerShell Core

We have grown accustomed to installing software on Windows using the wizards, but the installation of OpenSSH requires more background information and more work from the administrator.

SSH is a protocol for managing systems over a possibly unsecured network. SSH works in a client-server mode and is the de facto standard for remote administration in Linux environments.

PowerShell Core uses OpenSSH, a fork from SSH 1.2.12 which was released under an open source license. OpenSSH is probably the most popular SSH implementation.

The code required to use WS-MAN remoting is installed as part of the Windows operating system. You need to install OpenSSH manually.

Installing OpenSSH

We have grown accustomed to installing software on Windows using the wizards, but the installation of OpenSSH requires more background information and more work from the administrator. Without some manual intervention, many issues can arise.

The installation process for OpenSSH on Windows has improved over time, but it’s still not as easy as it should be. Working with the configuration file leaves a lot to be desired.

There are two options when installing PowerShell SSH:

  1. On Windows 10 1809, Windows Server 1809, Windows Server 2019 and later, OpenSSH is available as an optional feature.
  2. On earlier versions of Windows, you can download and install OpenSSH from GitHub.

Be sure your system has the latest patches before installing OpenSSH.

Installing the OpenSSH optional feature

You can install the OpenSSH optional feature using PowerShell. First, check your system with the following command:

Get-WindowsCapability -Online | where Name -like '*SSH*'
OpenSSH components
Figure 1. Find the OpenSSH components in your system.

Figure 1 shows the OpenSSH client software is preinstalled.

You’ll need to use Windows PowerShell for the installation unless you download the WindowsCompatibility module for PowerShell Core. Then you can import the Deployment Image Servicing and Management module from Windows PowerShell and run the commands in PowerShell Core.

Install the server feature:

Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
Path :
Online : True
RestartNeeded : False

The SSH files install in the C:WindowsSystem32OpenSSH folder.

Download OpenSSH from GitHub

Start by downloading the latest version from GitHub. The latest version of the installation instructions are at this link.

After the download completes, extract the zip file into the C:Program FilesOpenSSH folder. Change location to C:Program FilesOpenSSH to install the SSH services:

.install-sshd.ps1
[SC] SetServiceObjectSecurity SUCCESS
[SC] ChangeServiceConfig2 SUCCESS
[SC] ChangeServiceConfig2 SUCCESS

Configuring OpenSSH

After OpenSSH installs, perform some additional configuration steps.

Ensure that the OpenSSH folder is included on the system path environment variable:

  • C:WindowsSystem32OpenSSH if installed as the Windows optional feature
  • C:Program FilesOpenSSH if installed via the OpenSSH download

Set the two services to start automatically:

Set-Service sshd -StartupType Automatic
Set-Service ssh-agent -StartupType Automatic

If you installed OpenSSH with the optional feature, then Windows creates a new firewall rule to allow inbound access of SSH over port 22. If you installed OpenSSH from the download, then create the firewall rule with this command:

New-NetFirewallRule -Name sshd -DisplayName 'OpenSSH Server (sshd)' `
-Enabled True -Direction Inbound -Protocol TCP `
-Action Allow -LocalPort 22

Start the sshd service to generate the SSH keys:

Start-Service sshd

The SSH keys and configuration file reside in C:ProgramDatassh, which is a hidden folder. The default shell used by SSH is the Windows command shell. This needs to change to PowerShell:

New-ItemProperty -Path "HKLM:SOFTWAREOpenSSH" -Name DefaultShell `
-Value "C:Program FilesPowerShell6pwsh.exe" -PropertyType String -Force

Now, when you connect to the system over SSH, PowerShell Core will start and will be the default shell. You can also make the default shell Windows PowerShell if desired.

There’s a bug in OpenSSH on Windows. It doesn’t work with paths with a space, such as the path to the PowerShell Core executable! The workaround is to create a symbolic link that creates a path that OpenSSH can use:

New-Item -ItemType SymbolicLink -Path C:pwsh -Target 'C:Program FilesPowerShell6'

In the sshd_config file, un-comment the following lines:

PubkeyAuthentication yes
PasswordAuthentication yes

Add this line before other subsystem lines:

Subsystem  powershell C:pwshpwsh.exe -sshs -NoLogo -NoProfile

This tells OpenSSH to run PowerShell Core.

Comment out the line:

AuthorizedKeysFile __PROGRAMDATA__/ssh/administrators_authorized_keys

After saving the changes to the sshd_config file, restart the services:

Restart-Service sshd
Start-Service ssh-agent

You need to restart the sshd service after any change to the config file.

Using PowerShell SSH remoting

Using remoting over SSH is very similar to remoting over WS-MAN. You can access the remote system directly with Invoke-Command:

Invoke-Command -HostName W19DC01 -ScriptBlock {Get-Process}
[email protected]@w19dc01's password:

You’ll get a prompt for the password, which won’t be displayed as you type it.

If it’s the first time you’ve connected to the remote system over SSH, then you’ll see a message similar to this:

The authenticity of host 'servername (10.00.00.001)' can't be established.
ECDSA key fingerprint is SHA256:().
Are you sure you want to continue connecting (yes/no)?

Type yes and press Enter.

You can create a remoting session:

$sshs = New-PSSession -HostName W19FS01
[email protected]@w19fs01's password:

And then use it:

Invoke-Command -Session $sshs -ScriptBlock {$env:COMPUTERNAME}
W19FS01

You can enter an OpenSSH remoting session using Enter-PSSession in the same way as a WS-MAN session. You can enter an existing session or use the HostName parameter on Enter-PSSession to create the interactive session.

You can’t disconnect an SSH based session; that’s a WS-MAN technique.

You can use WS-MAN and SSH sessions to manage multiple computers as shown in Figure 2.

The session information shows the different transport mechanism — WS-MAN and SSH, respectively — and the endpoint in use by each session.

Remote management sessions
Figure 2. Use WS-MAN and SSH sessions together to manage remote machines.

If you look closely at Figure 2, you’ll notice there was no prompt for the password on the SSH session because the system was set up with SSH key-based authentication.

Using SSH key-based authentication

Open an elevated PowerShell session. Change the location to the .ssh folder in your user area:

Set-Location -Path ~.ssh

Generate the key pair:

ssh-keygen -t ed25519

Add the key file into the SSH-agent on the local machine:

ssh-add id_ed25519

Once you’ve added the private key into SSH-agent, back up the private key to a safe location and delete the key from the local machine.

Copy the id_ed25519.pub file into the .ssh folder for the matching user account on the remote server. You can create such an account if required:

$pwd = Read-Host -Prompt 'Password' -AsSecureString
Password: ********
New-LocalUser -Name Richard -Password $pwd -PasswordNeverExpires
Add-LocalGroupMember -Group Administrators -Member Richard

On the remote machine, copy the contents of the key file into the authorized_keys file:

scp id_ed25519.pub authorized_keys

The authorized_keys file needs its permissions changed:

  • Open File Explorer, right click authorized_keys and navigate to Properties – Security – Advanced
  • Click Disable Inheritance.
  • Select Convert inherited permissions into explicit permissions on this object.
  • Remove all permissions except for SYSTEM and your user account. Both should have Full control.

Introduction to SSH with PowerShell Core.

You’ll see references to using the OpenSSHUtils module to set the permissions, but there’s a bug in the version from the PowerShell Gallery that makes the authorized_keys file unusable.

Restart the sshd service on the remote machine.

You can now connect to the remote machine without using a password as shown in Figure 2.

If you’re connecting to a non-domain machine from a machine in the domain, then you need to use the UserName parameter after enabling key-pair authentication:

$ss = New-PSSession -HostName W19ND01 -UserName Richard

You need the username on the remote machine to match your domain username. You won’t be prompted for a password.

WS-MAN or SSH remoting?

Should you use WS-MAN or SSH based remoting? WS-MAN remoting is available on all Windows systems and is enabled by default on Windows Server 2012 and later server versions. WS-MAN remoting has some issues, notably the double hop issue. WS-MAN also needs extra work to remote to non-domain systems.

SSH remoting is only available in PowerShell Core; Windows PowerShell is restricted to WS-MAN remoting. It takes a significant amount of work to install and configure SSH remoting. The documentation isn’t as good as it needs to be. The advantages of SSH remoting are that you can easily access non-domain machines and non-Windows systems where SSH is the standard for remote access.

Go to Original Article
Author:

For Sale – or Trade Asus Zenbook Pro 14″ UX480FD i7 8th Gen CPU Geforce GTX 1050 Video Card 250GB SSD 8GB RAM

I bought this excellent laptop just a few weeks back but would prefer a 13″ Apple MacBook Pro/Air or iPad.

It is under warranty with Asus until July 2020. I think Asus only deal with the original buyer for warranty repairs and I will be more than happy to help if problems arise.

Here is a link for full details

ASUS ZenBook Pro 14 UX480FD | Laptops | ASUS United Kingdom

Mine is the

Intel® Core™ i7-8565U processor
1.8GHz quad-core with Turbo Boost (up to 4.6GHz) and 8MB cache

NVIDIA® GeForce® GTX 1050 Max-Q
Video memory: 2GB GDDR5 VRAM

14” LED-backlit Full HD (1920 x 1080) 16:9 touchscreen

5.2mm-thin bezel with 86% screen-to-body ratio
178° wide-view technology
Pantone® validated

8GB 2400MHz DDR4

256GB PCIe x2 SSD

1 x USB 3.1 Gen2 Type-C
1 x USB 3.1 Gen2 Type-A
1 x USB 2.0
1 x Standard HDMI
1 x Combo audio jack

Keyboard
Full-size backlit with 1.4mm key travel
IR camera supporting Windows Hello

ScreenPad
5.5” FHD (1920 x 1080) Super IPS+ display
178˚ wide-view technology
Glass-covered for fingerprint and smudge resistance
Precision touchpad (PTP) technology supports up to four-finger smart gestures

I can confirm it is in excellent condition and will be posted in its original box and be fully insured.

Price and currency: £980
Delivery: Delivery cost is included within my country
Payment method: BT, PayPal Gift or Cash
Location: Accrington
Advertised elsewhere?: Not advertised elsewhere
Prefer goods collected?: I have no preference

______________________________________________________
This message is automatically inserted in all classifieds forum threads.
By replying to this thread you agree to abide by the trading rules detailed here.
Please be advised, all buyers and sellers should satisfy themselves that the other party is genuine by providing the following via private conversation to each other after negotiations are complete and prior to dispatching goods and making payment:

  • Landline telephone number. Make a call to check out the area code and number are correct, too
  • Name and address including postcode
  • Valid e-mail address

DO NOT proceed with a deal until you are completely satisfied with all details being correct. It’s in your best interest to check out these details yourself.

Go to Original Article
Author:

For Sale – Super server bundle: 14 core E5-2695 v3, ASRock Extreme 6 X99 mobo, 80GB DDR4 ECC RAM

I have a super powerful CPU, mobo and RAM bundle here that would make a great home server, I have used it as an unRAID server for about 18 months or so but am downsizing.

I have used this rig for running unRAID with dockers and VMs. When running VMs you can do GPU pass-through and I’ve had really powerful multi-core Mac Pro desktop running as well as a gaming VM with a GTX 1060 passed through. It’s an absolute beast. Great for running multiple VMs as a home lab.

ASRock X99 Extreme 6 ATX motherboard
Intel Xeon E5-2695 14 core/28 thread CPU
80GB !! (5 x 16GB, 4 Crucial and 1 SKHynix) of ECC DDR4 2133 memory

Motherboard specs:-
On-board dual LAN
Supports up to 128GB RAM
Ultra M.2 slot
8 RAM Slots

Intel Xeon E5-2695 v3 14 core/28 thread CPU. This is a late stepping engineering sample indistinguishable from retail. The v3 Xeons had a “bug” from Intel where using patched Microcode you can bypass the usual turbo boost restrictions to have all the cores running at single core boost speeds. In this case you can have all 14 cores running at 3.3GHz. The ASRock motherboard already has the patched BIOS in place so all you have to do it plug and play.

If you wish to go back to stock, simply update the motherboard with the latest BIOS from ASRock from within the BIOS itself. I will supply the patched BIOS anyway so you can always go back. As long as you have a decent CPU cooler then it is fine. even at full tilt my CPU never went over 60 deg. Although I did this for interest sake, my server sat idling 99% of the time anyway so a bit of a waste for me

Here is the Anandtech thread where it was all discovered and people built the mods:-

Page 3 – What controls Turbo Core in Xeons?

Also here is an explanation of all core vs single core boosts :
Actual CPU Speeds – What You See Is Not Always What You Get

Looking at current prices on ebay especially RAM which is crazy right now, this lot is worth about £800 or so, so I think this is a good price.

Price and currency: £550
Delivery: Delivery cost is included within my country
Payment method: BT or PPG
Location: Harrogate
Advertised elsewhere?: Advertised elsewhere
Prefer goods collected?: I have no preference

______________________________________________________
This message is automatically inserted in all classifieds forum threads.
By replying to this thread you agree to abide by the trading rules detailed here.
Please be advised, all buyers and sellers should satisfy themselves that the other party is genuine by providing the following via private conversation to each other after negotiations are complete and prior to dispatching goods and making payment:

  • Landline telephone number. Make a call to check out the area code and number are correct, too
  • Name and address including postcode
  • Valid e-mail address

DO NOT proceed with a deal until you are completely satisfied with all details being correct. It’s in your best interest to check out these details yourself.

Go to Original Article
Author:

For Sale – iMac Pro 3.2GHz 8-core Intel Xeon W processor 64 GB Ram & 2TB Hard drive

Hi,

Before I put this on the bay I thought I would try here first as prefer to sell to a forum member whenever possible.

I bought this last week in an auction, it’s brand new but I have taken it out of the box and checked it out as I had planned to use on a job that has now altered and it’s no longer needed. The mouse and keyboard are still in packaging and completely unused.

Specs:

IMac Pro

  • 3.2GHz 8-core Intel Xeon W processor, Turbo Boost up to 4.2GHz
  • 64GB 2666MHz DDR4 ECC memory
  • Radeon Pro Vega 56 with 8GB of HBM2 memory
  • 2TB SSD storage
  • Magic Mouse 2 – Space Grey
  • Magic Keyboard with Numeric Keypad – British – Space Grey

It’s obviously still in warranty plus it has Apple Care + so it’s covered for three years as from a July 1st 2019.

To buy new from Apple it would cost £5799, I paid £4600 last week but looking for £3800 ono for a quick sale. Just to reiterate this item was brand new unopened last week and has only been opened to check and prepare for a job that then cancelled.

You can see from my feedback I have an excellent record plus I have been a member on here since 2001.

Collection would be best (I am in West Sussex) but could arrange delivery if that is only option.

Happy to answer any questions etc. Will give it a day or two and then advertise elsewhere. can upload photos tomorrow.

Screenshot 2019-07-08 at 08.44.12.png

Price and currency: 3800
Delivery: Delivery cost is not included
Payment method: Bank transfer
Location: West Sussex
Advertised elsewhere?: Not advertised elsewhere
Prefer goods collected?: I prefer the goods to be collected

______________________________________________________
This message is automatically inserted in all classifieds forum threads.
By replying to this thread you agree to abide by the trading rules detailed here.
Please be advised, all buyers and sellers should satisfy themselves that the other party is genuine by providing the following via private conversation to each other after negotiations are complete and prior to dispatching goods and making payment:

  • Landline telephone number. Make a call to check out the area code and number are correct, too
  • Name and address including postcode
  • Valid e-mail address

DO NOT proceed with a deal until you are completely satisfied with all details being correct. It’s in your best interest to check out these details yourself.

Go to Original Article
Author:

Cisco’s acquisition of Acacia bolsters service provider offerings

Cisco plans to acquire Acacia Communications for $2.6 billion, a move that would make Cisco a direct supplier of packet-optical transport systems for carrier networks and organizations that connect data centers across hundreds of miles.

Cisco announced the pending purchase on Tuesday in a joint statement with Acacia, based in Maynard, Mass. The companies expect to close the Cisco acquisition in the first half of next year.

Cisco offers Acacia’s packet-optical transport systems (P-OTS) with networking gear it sells today to carriers, cloud service providers and the largest enterprises. Cisco rivals Juniper Networks and Huawei are also Acacia customers, and analysts expect them to eventually turn to other P-OTS suppliers, such as Ciena, Inphi and Nokia.

“If I’m a Juniper or a Huawei, why would I buy from Cisco?” said Rajesh Ghai, an analyst at IDC.

Bill Gartner, general manager of Cisco's optical systems groupBill Gartner

Nevertheless, Acacia customers can expect from Cisco the same level of support that they receive today and equal access to products, said Bill Gartner, general manager of the vendor’s optical systems group.

“If we’re going to make this successful, we have to make sure that we’re providing the technology to third parties that they want to consume at the time they want to consume it and at the right performance and price point,” Gartner said. “I don’t think we could make this successful more broadly if we give Cisco preference on any of those parameters.”

Reasoning behind Cisco acquisition

Cisco has agreed to acquire Acacia because the company’s optical interconnect technology will let Cisco help customers design networks that can keep pace with the projected increase in data traffic. Cisco has predicted that annual global IP traffic will increase from 1.5 zettabytes in 2017 to 4.8 zettabytes by 2022. Contributors to the traffic surge include internet growth, video content delivery and emerging next-generation wireless technology to support more demanding business applications.

Today, Cisco’s proprietary optical transport technology ends in the data center, where analysts expect port speeds of 100 Gbps and 400 Gbps to become commonplace over the next couple of years. To meet that emerging demand, Cisco this year completed the $660 million acquisition of silicon photonics company Luxtera.

With Acacia, Cisco will also own the optical technology for service providers that need high-speed connections for metropolitan area networks or data centers as far as 1,500 miles apart.

“Our optics business today is primarily addressing what’s happening inside the data center — short-reach optics,” Gartner said during a conference call with financial analysts. “We don’t have a portfolio today that addresses what happens outside the data center for pluggables.”

Acacia’s portfolio includes pluggables, which are optical modular transceivers that vendors can sell as a plugin for a router or switch. The pluggable architecture, which is in its infancy, promises to simplify upgrading and repairing transceivers in networking gear.

John Burke, an analyst at Nemertes Research, based in Mokena, Ill., said Acacia could help Cisco “stay dominant in large data center markets long term,” while also providing some technical advantages over Arista, Juniper and Huawei.

“I suspect it will also give a boost to some smaller optical companies and trigger at least one more acquisition — perhaps by Arista,” Burke said.

Go to Original Article
Author:

Try these PowerShell networking commands to stay connected

While it would be nice if they did, servers don’t magically stay online on their own.

Servers go offline for a lot of reasons; it’s your job to find a way to determine network connectivity to these servers quickly and easily. You can use PowerShell networking commands, such as the Test-Connection and Test-NetConnection cmdlets to help.

The problem with ping

For quite some time, system administrators used ping to test network connectivity. This little utility sends an Internet Control Message Protocol message request to an endpoint and listens for an ICMP reply.

ping test
The ping utility runs a fairly simple test to check for a response from a host.

Because ping only tests ICMP, this limits its effectiveness to fully test a connection. Another caveat: The Windows firewall blocks ICMP requests by default. If the ICMP request doesn’t reach the server in question, you’ll get a false negative which makes ping results irrelevant.

The Test-Connection cmdlet offers a deeper look

We need a better way to test server network connectivity, so let’s use PowerShell instead of ping. The Test-Connection cmdlet also sends ICMP packets but it uses Windows Management Instrumentation which gives us more granular results. While ping returns text-based output, the Test-Connection cmdlet returns a Win32_PingStatus object which contains a lot of useful information.

The Test-Connection command has a few different parameters you can use to tailor your query to your liking, such as changing the buffer size and defining the number of seconds between the pings. The output is the same but the request is a little different.

Test-Connection www.google.com -Count 2 -BufferSize 128 -Delay 3

You can use Test-Connection to check on remote computers and ping a remote computer as well, provided you have access to those machines. The command below connects to the SRV1 and SRV2 computers and sends ICMP requests from those computers to www.google.com:

Test-Connection -Source 'SRV2', 'SRV1' -ComputerName 'www.google.com'

Source Destination IPV4Address IPV6Address
Bytes Time(ms)

------ ----------- ----------- -----------
----- --------

SRV2 google.com 172.217.7.174
32 5

SRV2 google.com 172.217.7.174
32 5

SRV2 google.com 172.217.7.174
32 6

SRV2 google.com 172.217.7.174
32 5

SRV1 google.com 172.217.7.174
32 5

SRV1 google.com 172.217.7.174
32 5

SRV1 google.com 172.217.7.174
32 5

SRV1 google.com 172.217.7.174
32 5

If the output is too verbose, and you just want a simple result, use the Quiet parameter.

Test-Connection -ComputerName google.com -Quiet
True

For more advanced network checks, try the Test-NetConnection cmdlet

If simple ICMP requests aren’t enough to test network connectivity, PowerShell also provides the Test-NetConnection cmdlet. This cmdlet is the successor to Test-Connection and goes beyond ICMP to check network connectivity.

For basic use, Test-NetConnection just needs a value for the ComputerName parameter and will mimic Test-Connection‘s behavior.

Test-NetConnection -ComputerName www.google.com

ComputerName : www.google.com
RemoteAddress : 172.217.9.68
InterfaceAlias : Ethernet 2
SourceAddress : X.X.X.X
PingSucceeded : True
PingReplyDetails (RTT) : 34 ms

Test-NetConnection has advanced capabilities and can test for open ports. The example below will check to see if port 80 is open:

Test-NetConnection -ComputerName www.google.com -Port 80

ComputerName : google.com
RemoteAddress : 172.217.5.238
RemotePort : 80
InterfaceAlias : Ethernet 2
SourceAddress : X.X.X.X
TcpTestSucceeded : True

The boolean TcpTestSucceeded returns True to indicate port 80 is open.

We can also use the TraceRoute parameter with the Test-NetConnection cmdlet to check the progress of packets to the destination address.

Test-NetConnection -ComputerName google.com -TraceRoute

ComputerName : google.com
RemoteAddress : 172.217.5.238
InterfaceAlias : Ethernet 2
SourceAddress : X.X.X.X
PingSucceeded : True
PingReplyDetails (RTT) : 44 ms
TraceRoute : 192.168.86.1
192.168.0.1
142.254.146.117
74.128.4.113
65.29.30.36
65.189.140.166
66.109.6.66
66.109.6.30
107.14.17.204
216.6.87.149
72.14.198.28
108.170.240.97
216.239.54.125
172.217.5.238

If you dig into the help for the Test-NetConnection cmdlet, you’ll find it has quite a few parameters to test many different situations.

Go to Original Article
Author:

For Sale – Internal & External Hard Drives

Can you please state what health check you would like me to perform (if you are making an offer based on a health check)?

The drives have all been used in a HTPC that didn’t see much use at all (on once or twice per week for a movie). The Samsung drives are probably around 3 years old and the Seagate drives between 1 and 2 years.

The 2 external drives are around 12 months old. but it is best to assume that no warranty is provided (and you may be pleasantly surprised if you check the serial number).

For Sale – Internal & External Hard Drives

Can you please state what health check you would like me to perform (if you are making an offer based on a health check)?

The drives have all been used in a HTPC that didn’t see much use at all (on once or twice per week for a movie). The Samsung drives are probably around 3 years old and the Seagate drives between 1 and 2 years.

The 2 external drives are around 12 months old. but it is best to assume that no warranty is provided (and you may be pleasantly surprised if you check the serial number).