I had a disconnect and ran the script with all the Powershell commands but there were errors:
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Install the latest PowerShell for new features and improvements!
Installing PowerShell on Windows - PowerShell
PS C:\WINDOWS\system32> cd \
PS C:\> .\Mouse.ps1
FriendlyName : HID-compliant system controller
InstanceId : HID\VID_046D&PID_C548&MI_01&COL03\9&2741F85C&0&0002
Status : OK
FriendlyName : USB Input Device
InstanceId : USB\VID_0A5C&PID_4502\8&80E368A&0&1
Status : OK
FriendlyName : HID-compliant vendor-defined device
InstanceId : HID\VID_046D&PID_C52B&MI_02&COL01\8&2038E687&0&0000
Status : OK
FriendlyName : HID-compliant mouse
InstanceId : HID\VID_0A5C&PID_4503&COL01\9&2D1D4BEB&0&0000
Status : OK
FriendlyName : HID-compliant device
InstanceId : HID\VID_046D&PID_C548&MI_01&COL04\9&2741F85C&0&0003
Status : OK
FriendlyName : Logitech USB Input Device
InstanceId : USB\VID_046D&PID_C548&MI_00\8&11508CCC&0&0000
Status : OK
FriendlyName : Logitech USB Input Device
InstanceId : USB\VID_046D&PID_C52B&MI_00\7&2FFDA91A&0&0000
Status : OK
FriendlyName : USB Composite Device
InstanceId : USB\VID_046D&PID_C548\7&203B8509&0&3
Status : OK
FriendlyName : Generic USB Hub
InstanceId : USB\VID_0A5C&PID_4500\7&2E45F226&0&5
Status : OK
FriendlyName : USB Input Device
InstanceId : USB\VID_0A5C&PID_4503\8&80E368A&0&2
Status : OK
FriendlyName : HID-compliant vendor-defined device
InstanceId : HID\VID_046D&PID_C52B&MI_02&COL02\8&2038E687&0&0001
Status : OK
FriendlyName : HID Keyboard Device
InstanceId : HID\VID_046D&PID_C52B&MI_00\8&20E309E7&0&0000
Status : OK
FriendlyName : HID-compliant consumer control device
InstanceId : HID\VID_0A5C&PID_4503&COL02\9&2D1D4BEB&0&0001
Status : OK
FriendlyName : USB Input Device
InstanceId : USB\VID_046D&PID_C548&MI_01\8&11508CCC&0&0001
Status : OK
FriendlyName : USB Input Device
InstanceId : USB\VID_046D&PID_C52B&MI_01\7&2FFDA91A&0&0001
Status : OK
FriendlyName : HID-compliant touch pad
InstanceId : HID\VID_046D&PID_C548&MI_03\9&19D9F812&0&0000
Status : OK
FriendlyName : HID-compliant vendor-defined device
InstanceId : HID\VID_046D&PID_C52B&MI_02&COL03\8&2038E687&0&0002
Status : OK
FriendlyName : HID-compliant mouse
InstanceId : HID\VID_046D&PID_C548&MI_01&COL01\9&2741F85C&0&0000
Status : OK
FriendlyName : HID Keyboard Device
InstanceId : HID\VID_046D&PID_C548&MI_00\9&36ABA9A&0&0000
Status : OK
FriendlyName : USB Input Device
InstanceId : USB\VID_046D&PID_C548&MI_02\8&11508CCC&0&0002
Status : OK
FriendlyName : USB Input Device
InstanceId : USB\VID_046D&PID_C52B&MI_02\7&2FFDA91A&0&0002
Status : OK
FriendlyName : HID-compliant consumer control device
InstanceId : HID\VID_046D&PID_C548&MI_01&COL02\9&2741F85C&0&0001
Status : OK
FriendlyName : HID-compliant vendor-defined device
InstanceId : HID\VID_046D&PID_C548&MI_02&COL02\9&2166BCD&0&0001
Status : OK
FriendlyName : HID-compliant vendor-defined device
InstanceId : HID\VID_046D&PID_C548&MI_02&COL01\9&2166BCD&0&0000
Status : OK
FriendlyName : HID-compliant vendor-defined device
InstanceId : HID\VID_046D&PID_C52B&MI_01&COL04\8&8755A42&0&0003
Status : OK
FriendlyName : USB Input Device
InstanceId : USB\VID_046D&PID_C548&MI_03\8&11508CCC&0&0003
Status : OK
FriendlyName : HID-compliant system controller
InstanceId : HID\VID_046D&PID_C52B&MI_01&COL03\8&8755A42&0&0002
Status : OK
FriendlyName : USB Composite Device
InstanceId : USB\VID_046D&PID_C52B\6&3AE11B61&0&3
Status : OK
FriendlyName : HID-compliant consumer control device
InstanceId : HID\VID_046D&PID_C52B&MI_01&COL02\8&8755A42&0&0001
Status : OK
FriendlyName : HID-compliant mouse
InstanceId : HID\VID_046D&PID_C52B&MI_01&COL01\8&8755A42&0&0000
Status : OK
FriendlyName : Generic USB Hub
InstanceId : USB\VID_8087&PID_0024\5&2CF571C4&0&1
Status : OK
FriendlyName : VIA Rev 5 or later USB Universal Host Controller
InstanceId : PCI\VEN_1106&DEV_3038&SUBSYS_30381106&REV_61\5&25DA5584&0&0000E3
Status : OK
FriendlyName : Intel(R) 6 Series/C200 Series Chipset Family USB Enhanced Host Controller - 1C2D
InstanceId : PCI\VEN_8086&DEV_1C2D&SUBSYS_50061458&REV_05\3&13C0B0C5&0&D0
Status : OK
FriendlyName : Generic USB Hub
InstanceId : USB\VID_2109&PID_2812\7&203B8509&0&4
Status : OK
FriendlyName : Etron USB 3.0 eXtensible Host Controller - 1.0 (Microsoft)
InstanceId : PCI\VEN_1B6F&DEV_7023&SUBSYS_50071458&REV_01\4&36E9BF94&0&00E1
Status : OK
FriendlyName : VIA USB Enhanced Host Controller
InstanceId : PCI\VEN_1106&DEV_3104&SUBSYS_31041106&REV_63\5&25DA5584&0&0200E3
Status : OK
FriendlyName : DYMO LabelWriter 5XL
InstanceId : USB\VID_0922&PID_002A\06131032883000
Status : OK
FriendlyName : USB Composite Device
InstanceId : USB\VID_046D&PID_C548\7&203B8509&0&3
Status : OK
FriendlyName : Generic USB Hub
InstanceId : USB\VID_0A5C&PID_4500\7&2E45F226&0&5
Status : OK
FriendlyName : Intel(R) 6 Series/C200 Series Chipset Family USB Enhanced Host Controller - 1C26
InstanceId : PCI\VEN_8086&DEV_1C26&SUBSYS_50061458&REV_05\3&13C0B0C5&0&E8
Status : OK
FriendlyName : DYMO LabelWriter 450 Twin Turbo
InstanceId : USB\VID_0922&PID_0022\12052518413680
Status : OK
FriendlyName : Generic USB Hub
InstanceId : USB\VID_050D&PID_0237\6&3AE11B61&0&4
Status : OK
FriendlyName : USB Root Hub
InstanceId : USB\ROOT_HUB\6&B6CB339&0
Status : OK
FriendlyName : USB Root Hub
InstanceId : USB\ROOT_HUB20\4&2F7D0B00&0
Status : OK
FriendlyName : VIA Rev 5 or later USB Universal Host Controller
InstanceId : PCI\VEN_1106&DEV_3038&SUBSYS_30381106&REV_61\5&25DA5584&0&0100E3
Status : OK
FriendlyName : USB Root Hub
InstanceId : USB\ROOT_HUB20\4&34898846&0
Status : OK
FriendlyName : USB Mass Storage Device
InstanceId : USB\VID_1058&PID_2621\575831324133355034385254
Status : OK
FriendlyName : USB Composite Device
InstanceId : USB\VID_0922&PID_1002\22430731072014
Status : OK
FriendlyName : USB Root Hub
InstanceId : USB\ROOT_HUB\6&2850901C&0
Status : OK
FriendlyName : USB Mass Storage Device
InstanceId : USB\VID_0922&PID_1002&MI_01\7&EAC329A&0&0001
Status : OK
FriendlyName : DYMO LabelManager PnP
InstanceId : USB\VID_0922&PID_1002&MI_00\7&EAC329A&0&0000
Status : OK
FriendlyName : DAEMON Tools Lite Virtual USB Bus
InstanceId : ROOT\USB\0000
Status : OK
FriendlyName : USB Root Hub
InstanceId : USB\ROOT_HUB20\6&12393495&0
Status : OK
FriendlyName : Generic USB Hub
InstanceId : USB\VID_8087&PID_0024\5&90E832B&0&1
Status : OK
FriendlyName : Generic USB Hub
InstanceId : USB\VID_2109&PID_2812\6&3AE11B61&0&5
Status : OK
FriendlyName : USB Composite Device
InstanceId : USB\VID_046D&PID_C52B\6&3AE11B61&0&3
Status : OK
FriendlyName : USB Root Hub (USB 3.0)
InstanceId : USB\ROOT_HUB30\5&99F7FE2&0&0
Status : OK
FriendlyName : Generic USB Hub
InstanceId : USB\VID_8087&PID_0024\5&2CF571C4&0&1
Status : OK
FriendlyName : VIA Rev 5 or later USB Universal Host Controller
InstanceId : PCI\VEN_1106&DEV_3038&SUBSYS_30381106&REV_61\5&25DA5584&0&0000E3
Status : OK
FriendlyName : Intel(R) 6 Series/C200 Series Chipset Family USB Enhanced Host Controller - 1C2D
InstanceId : PCI\VEN_8086&DEV_1C2D&SUBSYS_50061458&REV_05\3&13C0B0C5&0&D0
Status : OK
FriendlyName : Generic USB Hub
InstanceId : USB\VID_2109&PID_2812\7&203B8509&0&4
Status : OK
FriendlyName : Etron USB 3.0 eXtensible Host Controller - 1.0 (Microsoft)
InstanceId : PCI\VEN_1B6F&DEV_7023&SUBSYS_50071458&REV_01\4&36E9BF94&0&00E1
Status : OK
FriendlyName : VIA USB Enhanced Host Controller
InstanceId : PCI\VEN_1106&DEV_3104&SUBSYS_31041106&REV_63\5&25DA5584&0&0200E3
Status : OK
FriendlyName : DYMO LabelWriter 5XL
InstanceId : USB\VID_0922&PID_002A\06131032883000
Status : OK
FriendlyName : USB Composite Device
InstanceId : USB\VID_046D&PID_C548\7&203B8509&0&3
Status : OK
FriendlyName : Generic USB Hub
InstanceId : USB\VID_0A5C&PID_4500\7&2E45F226&0&5
Status : OK
FriendlyName : Intel(R) 6 Series/C200 Series Chipset Family USB Enhanced Host Controller - 1C26
InstanceId : PCI\VEN_8086&DEV_1C26&SUBSYS_50061458&REV_05\3&13C0B0C5&0&E8
Status : OK
FriendlyName : DYMO LabelWriter 450 Twin Turbo
InstanceId : USB\VID_0922&PID_0022\12052518413680
Status : OK
FriendlyName : Generic USB Hub
InstanceId : USB\VID_050D&PID_0237\6&3AE11B61&0&4
Status : OK
FriendlyName : USB Root Hub
InstanceId : USB\ROOT_HUB\6&B6CB339&0
Status : OK
FriendlyName : USB Root Hub
InstanceId : USB\ROOT_HUB20\4&2F7D0B00&0
Status : OK
FriendlyName : VIA Rev 5 or later USB Universal Host Controller
InstanceId : PCI\VEN_1106&DEV_3038&SUBSYS_30381106&REV_61\5&25DA5584&0&0100E3
Status : OK
FriendlyName : USB Root Hub
InstanceId : USB\ROOT_HUB20\4&34898846&0
Status : OK
FriendlyName : USB Mass Storage Device
InstanceId : USB\VID_1058&PID_2621\575831324133355034385254
Status : OK
FriendlyName : USB Composite Device
InstanceId : USB\VID_0922&PID_1002\22430731072014
Status : OK
FriendlyName : USB Root Hub
InstanceId : USB\ROOT_HUB\6&2850901C&0
Status : OK
FriendlyName : USB Mass Storage Device
InstanceId : USB\VID_0922&PID_1002&MI_01\7&EAC329A&0&0001
Status : OK
FriendlyName : DYMO LabelManager PnP
InstanceId : USB\VID_0922&PID_1002&MI_00\7&EAC329A&0&0000
Status : OK
FriendlyName : DAEMON Tools Lite Virtual USB Bus
InstanceId : ROOT\USB\0000
Status : OK
FriendlyName : USB Root Hub
InstanceId : USB\ROOT_HUB20\6&12393495&0
Status : OK
FriendlyName : Generic USB Hub
InstanceId : USB\VID_8087&PID_0024\5&90E832B&0&1
Status : OK
FriendlyName : Generic USB Hub
InstanceId : USB\VID_2109&PID_2812\6&3AE11B61&0&5
Status : OK
FriendlyName : USB Composite Device
InstanceId : USB\VID_046D&PID_C52B\6&3AE11B61&0&3
Status : OK
FriendlyName : USB Root Hub (USB 3.0)
InstanceId : USB\ROOT_HUB30\5&99F7FE2&0&0
Status : OK
Get-WinEvent : A null value was encountered in the StartTime hash table key. Null values are not permitted.
At C:\Mouse.ps1:4 char:1
+ Get-WinEvent -FilterHashtable @{LogName='System'; StartTime=$start} |
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (StartTime:String) [Get-WinEvent], Exception
+ FullyQualifiedErrorId : NullNotAllowedInHashtable,Microsoft.PowerShell.Commands.GetWinEventCommand
$.Message : The term '$.Message' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Mouse.ps1:11 char:86
+ ... ogName='System'; StartTime=$start} | Where-Object { $.Message -match ...
+ ~~~~~~~~~
+ CategoryInfo : ObjectNotFound: ($.Message:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
$.Message : The term '$.Message' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Mouse.ps1:11 char:86
+ ... ogName='System'; StartTime=$start} | Where-Object { $.Message -match ...
+ ~~~~~~~~~
+ CategoryInfo : ObjectNotFound: ($.Message:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
$.Message : The term '$.Message' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Mouse.ps1:11 char:86
+ ... ogName='System'; StartTime=$start} | Where-Object { $.Message -match ...
+ ~~~~~~~~~
+ CategoryInfo : ObjectNotFound: ($.Message:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
$.Message : The term '$.Message' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Mouse.ps1:11 char:86
+ ... ogName='System'; StartTime=$start} | Where-Object { $.Message -match ...
+ ~~~~~~~~~
+ CategoryInfo : ObjectNotFound: ($.Message:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
$.Message : The term '$.Message' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Mouse.ps1:11 char:86
+ ... ogName='System'; StartTime=$start} | Where-Object { $.Message -match ...
+ ~~~~~~~~~
+ CategoryInfo : ObjectNotFound: ($.Message:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
$.Message : The term '$.Message' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Mouse.ps1:11 char:86
+ ... ogName='System'; StartTime=$start} | Where-Object { $.Message -match ...
+ ~~~~~~~~~
+ CategoryInfo : ObjectNotFound: ($.Message:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
$.Message : The term '$.Message' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Mouse.ps1:11 char:86
+ ... ogName='System'; StartTime=$start} | Where-Object { $.Message -match ...
+ ~~~~~~~~~
+ CategoryInfo : ObjectNotFound: ($.Message:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
$.Message : The term '$.Message' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Mouse.ps1:11 char:86
+ ... ogName='System'; StartTime=$start} | Where-Object { $.Message -match ...
+ ~~~~~~~~~
+ CategoryInfo : ObjectNotFound: ($.Message:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
$.Message : The term '$.Message' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Mouse.ps1:11 char:86
+ ... ogName='System'; StartTime=$start} | Where-Object { $.Message -match ...
+ ~~~~~~~~~
+ CategoryInfo : ObjectNotFound: ($.Message:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
$.Message : The term '$.Message' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Mouse.ps1:11 char:86
+ ... ogName='System'; StartTime=$start} | Where-Object { $.Message -match ...
+ ~~~~~~~~~
+ CategoryInfo : ObjectNotFound: ($.Message:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
$.Message : The term '$.Message' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Mouse.ps1:11 char:86
+ ... ogName='System'; StartTime=$start} | Where-Object { $.Message -match ...
+ ~~~~~~~~~
+ CategoryInfo : ObjectNotFound: ($.Message:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
$.Message : The term '$.Message' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Mouse.ps1:11 char:86
+ ... ogName='System'; StartTime=$start} | Where-Object { $.Message -match ...
+ ~~~~~~~~~
+ CategoryInfo : ObjectNotFound: ($.Message:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
$.Message : The term '$.Message' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Mouse.ps1:11 char:86
+ ... ogName='System'; StartTime=$start} | Where-Object { $.Message -match ...
+ ~~~~~~~~~
+ CategoryInfo : ObjectNotFound: ($.Message:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
$.Message : The term '$.Message' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Mouse.ps1:11 char:86
+ ... ogName='System'; StartTime=$start} | Where-Object { $.Message -match ...
+ ~~~~~~~~~
+ CategoryInfo : ObjectNotFound: ($.Message:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
$.Message : The term '$.Message' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Mouse.ps1:11 char:86
+ ... ogName='System'; StartTime=$start} | Where-Object { $.Message -match ...
+ ~~~~~~~~~
+ CategoryInfo : ObjectNotFound: ($.Message:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
$.Message : The term '$.Message' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Mouse.ps1:11 char:86
+ ... ogName='System'; StartTime=$start} | Where-Object { $.Message -match ...
+ ~~~~~~~~~
+ CategoryInfo : ObjectNotFound: ($.Message:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
$.Message : The term '$.Message' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Mouse.ps1:11 char:86
+ ... ogName='System'; StartTime=$start} | Where-Object { $.Message -match ...
+ ~~~~~~~~~
+ CategoryInfo : ObjectNotFound: ($.Message:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\>
I have attached the 3 files created on the desktop.