![]() ![]() Once you execute the action, you'll see a PowerShell window pop-up which will start showing you the local and remote address, local and remote port, and state. You must accept the terms of this agreement before continuing With the. Lansweeper 8.4.20.2 Setup < Back Next > Setup - Lansweeper License Agreement Please read the following License Agreement.C) Advanced install Used for SQL Server, Ultimate version or distributed Installations. powershell -noprofile -ExecutionPolicy bypass -command This will Install Lansweeper using SQL LocalDB Database. In the Action area, add the following command. ![]() To create the custom action, head over to Configuration\Asset Pages and add a new action. Second, download the script here and place it in your Lansweeper server's Actions folder (C:\Program Files (x86)\Lansweeper\Actions). You can find all the info you need in the custom actions knowledgebase article. The first is that you'll need to download and configure a browser extension so that you can run actions. The Get-NetTCPConnection cmdlet gets current TCP connections and shows TCP connection properties such as local or remote IP address, local or remote port, and connection state. This command is quite similar to the netstat -ab CMD command. To get the data, we will be using the Get-NetTCPConnection PowerShell command. If you're running into network issues with a computer or simply want to ensure a specific port is open/closed, you can use it to view the port status easily. Because of this, I thought it might be useful to have a small action in Lansweeper that lets you quickly view the ports status of a specific device. It is also one of the most popular methods used by attackers when searching for a vulnerable server to breach according to the SANS Institute. Port scanning can be used for a variety of reasons ranging from enhancing your devices' security to resolving network issues. This week I'm looking at how you can use a pretty basic PowerShell command to view the port statuses on your Windows computers. October is cybersecurity month, so we're going to look more closely at some security-related topics for the next two Pro Tips. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |