Open lorenzosoncini opened 11 months ago
To make it easier for you to submit feedback on articles on learn.microsoft.com, we're transitioning our feedback system from GitHub Issues to a new experience.
As part of the transition, this GitHub Issue will be moved to a private repository. We're moving Issues to another repository so we can continue working on Issues that were open at the time of the transition. When this Issue is moved, you'll no longer be able to access it.
If you want to provide additional information before this Issue is moved, please update this Issue before December 15th, 2023.
With the new experience, you no longer need to sign in to GitHub to enter and submit your feedback. Instead, you can choose directly on each article's page whether the article was helpful. Then you can then choose one or more reasons for your feedback and optionally provide additional context before you select Submit.
Here's what the new experience looks like.
Note: The new experience is being rolled out across learn.microsoft.com in phases. If you don't see the new experience on an article, please check back later.
First, select whether the article was helpful:
Then, choose at least one reason for your feedback and optionally provide additional details about your feedback:
Article was helpful | Article was unhelpful |
---|---|
![]() |
![]() |
Finally, select Submit and you're done!
String Values are being converted or displayed as integers when piped to Select. How can this be overcome to keep the values outputted as strings.
Get-DnsClientCache | Select-Object -First 5
Get-DnsClientCache | Select-Object Name,Type,Status -First 5
Complete the documentation with the traslation from Type in into Record Type
Hash table of Types
$dnstypes = @{ [uint16]1 = "A" [uint16]2 = "NS" [uint16]5 = "CNAME" [uint16]6 = "SOA" [uint16]12 = "PTR" [uint16]15 = "MX" [uint16]28 = "AAA" [uint16]33 = "SRV" }
via https://learn.microsoft.com/en-us/previous-versions/windows/desktop/legacy/hh872334(v=vs.85)
Hash table of Status
$dnsStatus = @{ [uint32]0 = "Success" [uint32]9003 = "NotExist" [uint32]9701 = "NoRecords" }
get-dnsclientcache | select name,type, status | ForEach-object { $out=$.name + " = " + $dnstypes[$.type] + " = " + $dnsStatus[$_.status] $out }
Some of the previous information are found in internet from https://ss64.org/viewtopic.php?t=501
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.