impossible to ask microsoft a question through their rubbish Q & A panel - not finding tags

REYNOLDS, Dean (SFHT) 0 Reputation points
2024-12-11T16:48:15.4466667+00:00

impossible to ask microsoft a question through their rubbish Q & A panel - not finding tags

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,906 questions
Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,652 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,479 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,278 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,584 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MotoX80 34,776 Reputation points
    2024-12-11T18:14:57.5033333+00:00

    I too had issues with the tags, so I wrote this little Powershell script to screen scrape the site to list off all tag names. It saves the tags in the clipboard so that you can paste them into notepad for reference/searching.

    $tags = @()
    $tc = 0
    1..15 | foreach {
        $page = Invoke-WebRequest "https://learn.microsoft.com/en-us/answers/tags/?orderBy=Name&page=$($_)"
    	$tags += ($page.AllElements | Where-Object -Property Class -eq 'card-title').innerText
        $tags.count
        if ($tc -eq $tags.count) {
            break 
        } else {
            $tc = $tags.count
        }  
    } 
    $tags = $tags | Sort-object | Select-Object -unique 
    $tags
    $tags | clip
    
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.