Skip to content

Commit c933adc

Browse files
Update Get-NetIPConfiguration documentation to clarify output type and remove redundant descriptions
1 parent be085f1 commit c933adc

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/functions/public/Get-NetIPConfiguration.ps1

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,14 @@
2828
Retrieves the IPv4 configuration for all network interfaces that are currently operational (Up).
2929
3030
.OUTPUTS
31-
PSCustomObject. Returns a custom object containing details such as interface name, IP address,
32-
address family, subnet mask, and DNS/gateway configuration for each matching network adapter and address.
33-
34-
PSCustomObject. Each object reflects a single unicast address instance associated with the matched adapter.
31+
IPConfig
3532
3633
.LINK
3734
https://psmodule.io/Net/Functions/Get-NetIPConfiguration
3835
#>
3936

4037
[Alias('IPConfig')]
38+
[OutputType([IPConfig])]
4139
[CmdletBinding()]
4240
param(
4341
# Filters interfaces based on operational status ('Up' or 'Down')

0 commit comments

Comments
 (0)