Open chr1sn3al opened 1 year ago
maybe you can use custom field and attach port info and switch info to the ipaddress
获取Outlook for Androidhttps://aka.ms/AAb9ysg
From: chr1sn3al @.> Sent: Tuesday, April 11, 2023 1:07:39 AM To: yoke88/PSPHPIPAM @.> Cc: Subscribed @.***> Subject: [yoke88/PSPHPIPAM] Devices? (Issue #27)
I'm working on a Powershell script that utilizes "PSDiscoveryProtocol" Module to determine the Switch that a Computer is connected to... But We don't have the Powershell CmdLet to interface the PHPIPAM Devices API..
Example: TimeToLive : 120 Model : WS-C2960X-48FPS-L VLAN : 1 SystemDescription : Cisco IOS Software, C2960X Software (C2960X-UNIVERSALK9-M), Version 15.2(4)E7, RELEASE SOFTWARE (fc2) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2018 by Cisco Systems, Inc. Compiled Tue 18-Sep-18 13:07 by prod_rel_team Port : Gi3/0/20 Device : Switch1.example.com PortDescription : GigabitEthernet3/0/20 IPAddress : {192.168.1.3} ChassisId : 50451370C680 Computer : GX5421.example.com Connection : Ethernet Interface : Realtek USB GbE Family Controller #3https://github.com/yoke88/PSPHPIPAM/issues/3 Type : LLDP
So I'd like to be able to create/update the Device in IPAM
and then set the Port on the "Address"
― Reply to this email directly, view it on GitHubhttps://github.com/yoke88/PSPHPIPAM/issues/27, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAYAD4TN7LCWYOF65YTITT3XAQ45XANCNFSM6AAAAAAWZGEHBA. You are receiving this because you are subscribed to this thread.Message ID: @.***>
or you can refer other command
获取Outlook for Androidhttps://aka.ms/AAb9ysg
From: 党 永立 @.> Sent: Wednesday, April 12, 2023 7:01:38 PM To: yoke88/PSPHPIPAM @.>; yoke88/PSPHPIPAM @.> Cc: Subscribed @.> Subject: Re: [yoke88/PSPHPIPAM] Devices? (Issue #27)
maybe you can use custom field and attach port info and switch info to the ipaddress
获取Outlook for Androidhttps://aka.ms/AAb9ysg
From: chr1sn3al @.> Sent: Tuesday, April 11, 2023 1:07:39 AM To: yoke88/PSPHPIPAM @.> Cc: Subscribed @.***> Subject: [yoke88/PSPHPIPAM] Devices? (Issue #27)
I'm working on a Powershell script that utilizes "PSDiscoveryProtocol" Module to determine the Switch that a Computer is connected to... But We don't have the Powershell CmdLet to interface the PHPIPAM Devices API..
Example: TimeToLive : 120 Model : WS-C2960X-48FPS-L VLAN : 1 SystemDescription : Cisco IOS Software, C2960X Software (C2960X-UNIVERSALK9-M), Version 15.2(4)E7, RELEASE SOFTWARE (fc2) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2018 by Cisco Systems, Inc. Compiled Tue 18-Sep-18 13:07 by prod_rel_team Port : Gi3/0/20 Device : Switch1.example.com PortDescription : GigabitEthernet3/0/20 IPAddress : {192.168.1.3} ChassisId : 50451370C680 Computer : GX5421.example.com Connection : Ethernet Interface : Realtek USB GbE Family Controller #3https://github.com/yoke88/PSPHPIPAM/issues/3 Type : LLDP
So I'd like to be able to create/update the Device in IPAM
and then set the Port on the "Address"
― Reply to this email directly, view it on GitHubhttps://github.com/yoke88/PSPHPIPAM/issues/27, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAYAD4TN7LCWYOF65YTITT3XAQ45XANCNFSM6AAAAAAWZGEHBA. You are receiving this because you are subscribed to this thread.Message ID: @.***>
see the code in PSPHPIPAM/Functions/public .
all the command is just call invoke-psphpipam and provide different params
Invoke-PhpIpamExecute -method get -controller addresses -identifiers @("search",$IP) }
获取Outlook for Androidhttps://aka.ms/AAb9ysg
From: 党 永立 @.> Sent: Wednesday, April 12, 2023 7:08:32 PM To: yoke88/PSPHPIPAM @.>; yoke88/PSPHPIPAM @.> Cc: Subscribed @.> Subject: Re: [yoke88/PSPHPIPAM] Devices? (Issue #27)
or you can refer other command
获取Outlook for Androidhttps://aka.ms/AAb9ysg
From: 党 永立 @.> Sent: Wednesday, April 12, 2023 7:01:38 PM To: yoke88/PSPHPIPAM @.>; yoke88/PSPHPIPAM @.> Cc: Subscribed @.> Subject: Re: [yoke88/PSPHPIPAM] Devices? (Issue #27)
maybe you can use custom field and attach port info and switch info to the ipaddress
获取Outlook for Androidhttps://aka.ms/AAb9ysg
From: chr1sn3al @.> Sent: Tuesday, April 11, 2023 1:07:39 AM To: yoke88/PSPHPIPAM @.> Cc: Subscribed @.***> Subject: [yoke88/PSPHPIPAM] Devices? (Issue #27)
I'm working on a Powershell script that utilizes "PSDiscoveryProtocol" Module to determine the Switch that a Computer is connected to... But We don't have the Powershell CmdLet to interface the PHPIPAM Devices API..
Example: TimeToLive : 120 Model : WS-C2960X-48FPS-L VLAN : 1 SystemDescription : Cisco IOS Software, C2960X Software (C2960X-UNIVERSALK9-M), Version 15.2(4)E7, RELEASE SOFTWARE (fc2) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2018 by Cisco Systems, Inc. Compiled Tue 18-Sep-18 13:07 by prod_rel_team Port : Gi3/0/20 Device : Switch1.example.com PortDescription : GigabitEthernet3/0/20 IPAddress : {192.168.1.3} ChassisId : 50451370C680 Computer : GX5421.example.com Connection : Ethernet Interface : Realtek USB GbE Family Controller #3https://github.com/yoke88/PSPHPIPAM/issues/3 Type : LLDP
So I'd like to be able to create/update the Device in IPAM
and then set the Port on the "Address"
― Reply to this email directly, view it on GitHubhttps://github.com/yoke88/PSPHPIPAM/issues/27, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAYAD4TN7LCWYOF65YTITT3XAQ45XANCNFSM6AAAAAAWZGEHBA. You are receiving this because you are subscribed to this thread.Message ID: @.***>
I'm working on a Powershell script that utilizes "PSDiscoveryProtocol" Module to determine the Switch that a Computer is connected to... But We don't have the Powershell CmdLet to interface the PHPIPAM Devices API..
Example: TimeToLive : 120 Model : WS-C2960X-48FPS-L VLAN : 1 SystemDescription : Cisco IOS Software, C2960X Software (C2960X-UNIVERSALK9-M), Version 15.2(4)E7, RELEASE SOFTWARE (fc2) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2018 by Cisco Systems, Inc. Compiled Tue 18-Sep-18 13:07 by prod_rel_team Port : Gi3/0/20 Device : Switch1.example.com PortDescription : GigabitEthernet3/0/20 IPAddress : {192.168.1.3} ChassisId : 50451370C680 Computer : GX5421.example.com Connection : Ethernet Interface : Realtek USB GbE Family Controller #3 Type : LLDP
So I'd like to be able to create/update the Device in IPAM
and then set the Port on the "Address"