function Get-ProgID {
param()
$paths = @("REGISTRY::HKEY_CLASSES_ROOT\CLSID")
if ($env:Processor_Architecture -eq "amd64") {
$paths+="REGISTRY::HKEY_CLASSES_ROOT\Wow6432Node\CLSID"
}
Get-ChildItem $paths -include VersionIndependentPROGID -recurse |
Select-Object @{
Name='ProgID'
Expression={$_.GetValue("")}
}, @{
Name='32Bit'
Expression={
if ($env:Processor_Architecture -eq "amd64") {
$_.PSPath.Contains("Wow6432Node")
} else {
$true
}
}
}
}
Get-ProgID | Out-File -FilePath C:\Schnell\ProgIDs.txt
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
5 | |
4 | |
4 | |
4 | |
4 | |
3 | |
3 | |
2 | |
2 |