June 4, 2020 at 4:46 pm #233335ParticipantTopics: 2Replies: 2Points: 33Rank: Member
This lists multiple connections.
What command can I use to give me the results for just the below connection ie
if the InterfaceAlias is “Tunnel” and the Name is “mydomain.uk” ?
Name : mydomain.uk
InterfaceAlias : Tunnel
InterfaceIndex : 87
NetworkCategory : DomainAuthenticated
IPv4Connectivity : Internet
IPv6Connectivity : NoTraffic
I’ve tried a piped where -match – like -eq, I’m getting the syntax wrong somewhere.
Thanks for any info.
June 4, 2020 at 8:12 pm #233395ParticipantTopics: 5Replies: 2384Points: 6,066Rank: Community MVP
When you post code, error messages, sample data or console output format it as code, please.
In the “Text” view you can use the code tags “PRE“, in the “Visual” view you can use the format template “Preformatted“. You can go back edit your post and fix the formatting – you don’t have to create a new one.
Thanks in advance.
Please take a look at the cmdlet Where-Object. Please read the complete help including the examples to learn how to use it.
If you have problems with your code you should share this code here completely including the error messages you might get.
June 4, 2020 at 9:47 pm #233428
- You must be logged in to reply to this topic.