$dll = "stellarprofile.dll" $registered = Get-ChildItem -Path Registry::HKEY_CLASSES_ROOT\TypeLib -Recurse -ErrorAction SilentlyContinue | Select-String -Pattern $dll -SimpleMatch if ($registered) Write-Host "$dll is registered" else Write-Host "$dll is NOT registered"
Here’s a piece you can use in a script, batch file, or documentation to check if stellarprofile.dll is registered: please check stellarprofile.dll is registered
reg query "HKEY_CLASSES_ROOT\TypeLib" /s /f "stellarprofile.dll" 2>nul && echo stellarprofile.dll IS registered || echo stellarprofile.dll is NOT registered $dll = "stellarprofile