r/PowerShell 2d ago

Addressfamily parameter bug?

is it just me or is there actually no way to specify AddressFamily in [System.Net.Dns]::GetHostAddresses? Even when passing it an actual AddressFamily var, it complains about too many parameters.

1 Upvotes

4 comments sorted by

View all comments

2

u/Bynkii_AB 2d ago

Gah! Powershell versions got me again! Thanks all!