→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !
‎06-09-2022 01:56 PM
‎11-07-2022 09:11 PM
Adding my journey in trying to scan dell docking stations to this most recent post. The Dell docking stations cannot be detected by the chassis in Lansweeper and I have found that Dell Inventory Agent is a required install for the WMI objects to be detected as a "dock" and return an identifier and serial number. https://www.dell.com/support/kbdoc/en-us/000126566/windows-how-to-identify-your-dell-docking-station...
I have tried and failed at multiple powershell attempts to return a nice bulk export csv when scanning the entire network. I am stuck between whether I need to learn how to use arrays better in powershell and whether the dell command objects can even work properly with the syntax i'm attempting. It seems like the dell command demands the list of computer objects to act on at the end of the command.
import-module ActiveDirectory
Set-ExecutionPolicy RemoteSigned
$notebooks = Get-ADComputer -SearchBase 'ou=Notebooks,dc=your,dc=domain,dc=com' -Filter * -Properties Name | Select -ExpandProperty Name
Invoke-Command -ScriptBlock {gwmi -n root\dell\sysinv dell_softwareidentity | select elementname, serialnumber, description, versionstring | where elementname -like '*WD1*'|ft} -ComputerName $notebooks
The hideous results of that is the best i've gotten so far for scanning all notebooks, and if I remove the -ExpandProperty Name to try to get the invoke-command to display which computer its listing, it breaks the scirpts ability to run through each computer. If someone could get this working properly as an array that combines this output with the computer name as a custom PSObject, then at least I could run this on demand to get the asset serial numbers. Not sure how this could hook into lansweeper as custom reporting, but it should technically be possible as it scans WMI objects.
‎09-28-2022 09:23 AM
I think this depends a lot on the dock itself, most docks pass through the network connection. I believe we had some docks at some point that could be configured to report their IP/MAC as well as the machine that they were connected to (Microsoft Surface maybe?). We use Lenovo and Alogic now, they pass-through the connections.
We use a network interface report and try to infer the dock based on the client machine's network adapter MAC or adapter name. It's not bulletproof, but it's better than nothing.
Relevant code from our report:
Case
When tblNetworkAdapter.MACAddress Like '08:3A:88%' Then
'Lenovo Thunderbolt 3 Gen 2'
When tblNetworkAdapter.MACAddress Like '3C:E1:A1%' Then
'Lenovo Thunderbolt 3 Gen 2'
When tblNetworkAdapter.MACAddress Like '00:50:B6%' And
tblNetworkAdapter.Name Like '%TBT%' Then 'Lenovo Thunderbolt 3 Gen 1'
When tblNetworkAdapter.MACAddress Like 'E0:4F:43%' Then 'Lenovo USB-C Gen 1'
When tblNetworkAdapter.MACAddress Like '48:2A:E3:7D:5C%' Then
'Lenovo USB-C Gen 2'
When tblNetworkAdapter.MACAddress Like '48:2A:E3:85%' Then
'Lenovo USB-C Gen 2'
When tblNetworkAdapter.MACAddress Like '6C:0B:84%' Then 'Lenovo USB-C Gen 2'
When tblNetworkAdapter.Name Like 'Lenovo%' Then 'Lenovo'
When tblNetworkAdapter.Name Like 'DisplayLink%' Or
tblNetworkAdapter.Name Like 'ALOGIC%' Or
tblNetworkAdapter.Name Like 'TWIN Dock%' Then 'ALogic'
Else ''
End As Docktype,
‎09-23-2022 11:44 PM
Please add this feature! I is hard to use Lansweeper as an Asset Tracking system when it can't scan assets like a dock. Thanks!
‎06-30-2022 04:52 PM
‎06-30-2022 01:59 AM
‎02-17-2023 11:59 PM
HP has a product called "HP Insights" and it can detect any monitor or dock regardless of brand or model. Must be a proprietary software.
We hope they add this feature because we are trying to decide between Lansweeper or HP Insights.
‎06-22-2022 11:42 PM
‎06-22-2022 06:33 PM
‎06-22-2022 07:12 AM
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now