未分類

PowerShell - 利用可能な COM オブジェクト情報を取得する (2)

利用可能な COM オブジェクト情報を取得する方法について説明します。

■ WMI オブジェクト使用して情報を取得します。

$w = Get-WmiObject Win32_ProgIDSpecification
$w | select ProgID | sort ProgID | % {$_.ProgID.Trim()}

※レジストリで取得した内容と WMI で取得した内容は同一ではないようです。

■ テストマシンで取得した内容です。

Access.ACCDCFile.12
Access.ACCDEFile.12
Access.ACCDRFile.12
Access.ACCDTFile.12
Access.ADEFile.12
Access.Application.12
Access.BlankDatabaseTemplate.12
Access.BlankProjectTemplate.12
Access.Extension.12
Access.MDBFile
Access.MDEFile.12
Access.Project.12
Access.Shortcut.DataAccessPage.1
Access.Shortcut.Diagram.1
Access.Shortcut.Form.1
Access.Shortcut.Function
Access.Shortcut.Function.1
Access.Shortcut.Macro.1
Access.Shortcut.Module.1
Access.Shortcut.Query.1
Access.Shortcut.Report.1
Access.Shortcut.StoredProcedure.1
Access.Shortcut.Table.1
Access.Shortcut.View.1
Access.WizardDataFile.12
Access.Workgroup.12
accesshtmlfile
accessthmltemplate
AcroExch.Document
AcroExch.Document.7
AcroExch.FDFDoc
AcroExch.Plugin
AcroExch.SecStore
AcroExch.XDPDoc
AcroExch.XFDFDoc
ATL.Registrar
AxMetaStream.MetaStreamCtl.1
AxMetaStream.MetaStreamCtlSecondary.1
BARCODE.BarCodeCtrl
BARCODE.BarCodeCtrl.1
ComInkAnalysislib.AnalysisRegion
ComInkAnalysislib.AnalysisRegion.1
ComInkAnalysislib.InkAnalyzer
ComInkAnalysislib.InkAnalyzer.1
CrystalDesignRunTime.Application
CrystalDesignRunTime.Application.10
CrystalDesignRunTime.ParameterValue
CrystalDesignRunTime.ParameterValue.10
CrystalDesignRunTime.ParameterValueInfo
CrystalDesignRunTime.ParameterValueInfo.10
CrystalDesignRunTime.ParameterValueInfos
CrystalDesignRunTime.ParameterValueInfos.10
CrystalDesignRunTime.ParameterValues
CrystalDesignRunTime.ParameterValues.10
CrystalDesignRunTime.Report
CrystalDesignRunTime.Report.10
CrystalFavorites.FavoritesCustomFile.2.8
CrystalFavorites.FavoritesFolder.2.8
CrystalFavorites.FavoritesNormalFile.2.8
CrystalFavorites.FavoritesShortcut.2.8
CrystalFavorites.FavoritesStore.2.8
CrystalReports.10.5
CrystalReports.ActiveXReportViewer
CrystalReports105.ActiveXReportViewer.1
CrystalReports105.CRVEventInfo.1
CrystalReports105.CRVField.1
CrystalReports105.CRVFields.1
CrystalReports105.CRVTrackCursorInfo.1
Equation.3
Equations
Excel.Addin
Excel.AddInMacroEnabled
Excel.Application
Excel.Application.12
Excel.Backup
Excel.Chart
Excel.Chart.8
Excel.CSV
Excel.Macrosheet
Excel.Sheet
Excel.Sheet.12
Excel.Sheet.8
Excel.SheetBinaryMacroEnabled
Excel.SheetBinaryMacroEnabled.12
Excel.SheetMacroEnabled
Excel.SheetMacroEnabled.12
Excel.SLK
Excel.Template
Excel.Template.8
Excel.TemplateMacroEnabled
Excel.Workspace
Excel.XLL
Excelhtmlfile
Excelhtmltemplate
HWXInk.E-Ink
HWXInk.E-Ink.1
InfoPath.Document.2
InfoPath.Solution.2
InfoPath.SolutionManifest.2
InkEd.InkEdit
InkEd.InkEdit.1
IPodManager.IPodManagerUI.1
LISTNET.Listnet
LISTNET.Listnet.11
LISTNET.Listnet.12
LR.EALRWordSink
LR.EALRWordSink.1
LR.LexRefBilingualService.1.0
LR.LexRefBilingualService.1.0.1
LR.LexRefBilingualServiceAttribute.1.0
LR.LexRefBilingualServiceAttribute.1.0.1
LR.LexRefBilingualTextContext.1.0
LR.LexRefBilingualTextContext.1.0.1
LR.LexRefEastAsianWordInfo
LR.LexRefEastAsianWordInfo.1
LR.LexRefEastAsianWordInfo.1.0
LR.LexRefEastAsianWordInfo.1.0.1
LR.LexRefEnglishStemmer.1.0
LR.LexRefEnglishStemmer.1.0.1
LR.LexRefServiceContainer.1.0
LR.LexRefServiceContainer.1.0.1
LR.LexRefServiceManager.1.0
LR.LexRefServiceManager.1.0.1
LR.LexRefTfFunctionProvider.1.0
LR.LexRefTfFunctionProvider.1.0.1
LR.LexRefXml2RTFObject.1.0
LR.LexRefXml2RTFObject.1.0.1
MediaPackageFile
Microsoft.Office.List.OLEDB.1.0
Microsoft.Office.List.OLEDB.2.0
MSAddnDr.AddInDesigner
MSAddnDr.AddInDesigner
MSAddnDr.AddInDesigner.1
MSAddnDr.AddInDesigner.1
MSAddnDr.AddInInstance
MSAddnDr.AddInInstance
MSAddnDr.AddInInstance.1
MSAddnDr.AddInInstance.1
MSCAL.Calendar
MSCAL.Calendar.7
MSComctlLib.ImageComboCtl
MSComctlLib.ImageComboCtl.2
MSComctlLib.ImageListCtrl
MSComctlLib.ImageListCtrl.2
MSComctlLib.ListViewCtrl
MSComctlLib.ListViewCtrl.2
MSComctlLib.ProgCtrl
MSComctlLib.ProgCtrl.2
MSComctlLib.SBarCtrl
MSComctlLib.SBarCtrl.2
MSComctlLib.Slider
MSComctlLib.Slider.2
MSComctlLib.TabStrip
MSComctlLib.TabStrip.2
MSComctlLib.Toolbar
MSComctlLib.Toolbar.2
MSComctlLib.TreeCtrl
MSComctlLib.TreeCtrl.2
MSGraph.Application
MSGraph.Application.8
MSGraph.Chart
MSGraph.Chart.8
msinkaut.DrawingAttributes
msinkaut.DrawingAttributes.1
msinkaut.InkCollector
msinkaut.InkCollector.1
msinkaut.InkObject
msinkaut.InkObject.1
msinkaut.InkOverlay
msinkaut.InkOverlay.1
msinkaut.InkPicture
msinkaut.InkPicture.1
msinkaut.InkRecognizerContext
msinkaut.InkRecognizerContext.1
msinkaut.InkRecognizerGuide
msinkaut.InkRecognizerGuide.1
msinkaut.InkRecognizers
msinkaut.InkRecognizers.1
msinkaut.InkRectangle
msinkaut.InkRectangle.1
msinkaut.InkRenderer
msinkaut.InkRenderer.1
msinkaut.InkTablets
msinkaut.InkTablets.1
msinkaut.InkTransform
msinkaut.InkTransform.1
msinkaut.InkWordList
msinkaut.InkWordList.1
msinkdiv.InkDivider
msinkdiv.InkDivider.1
Msm.Merge
Msm.Merge.1
Msm.Merge2
Msm.Merge2.1
MsoRun.OAVRedirectFallback
MsoRun.OAVRedirectFallback.1
MSPaper.Document
Name.NameCtrl
Name.NameCtrl.1
OfficeCompatible.Application
OfficeCompatible.Application
OfficeCompatible.Application.1
OfficeCompatible.Application.1
OfficeListShortcut
OfficeTheme
OfficeTheme.12
OISCTRL.OISClientLauncher
OISCTRL.OISClientLauncher.1
OneNote.Application
OneNote.Application.12
OneNote.CFileConverter
OneNote.CFileConverter.1
OneNote.CSimpleImporter
OneNote.CSimpleImporter.1
OneNote.Package
OneNote.Section.1
OneNote.TableOfContents
OneNote.TableOfContents.12
Outlook.Application.12
Outlook.File.msg
Outlook.FileAttach
Outlook.MsgAttach
Outlook.Template
OutlookExpress.AddressBook
OutlookExpress.AddressBook.1
OutlookExpress.MessageList
OutlookExpress.MessageList.1
OutlookExpress.MimeEdit
OutlookExpress.MimeEdit.1
outlspam.SmartScreenFactoryOutlook
outlspam.SmartScreenFactoryOutlook.1
OVCtl.OVCtl
OVCtl.OVCtl.1
PCBFile
PDXFileType
PowerPoint.Addin
PowerPoint.Addin.12
PowerPoint.Addin.8
PowerPoint.Application
PowerPoint.Application.12
PowerPoint.Show
PowerPoint.Show.12
PowerPoint.Show.8
PowerPoint.ShowMacroEnabled
PowerPoint.ShowMacroEnabled.12
PowerPoint.Slide
PowerPoint.Slide.12
PowerPoint.Slide.8
PowerPoint.SlideMacroEnabled
PowerPoint.SlideMacroEnabled.12
PowerPoint.SlideShow
PowerPoint.SlideShow.12
PowerPoint.SlideShow.8
PowerPoint.SlideShowMacroEnabled
PowerPoint.SlideShowMacroEnabled.12
PowerPoint.Template
PowerPoint.Template.12
PowerPoint.Template.8
PowerPoint.TemplateMacroEnabled
PowerPoint.TemplateMacroEnabled.12
PowerPoint.Wizard.8
powerpointhtmlfile
powerpointhtmltemplate
powerpointxmlfile
Publisher.Application
Publisher.Application.12
Publisher.Document
Publisher.Document.12
RECIP.RecipCtl.1
RefEdit.Ctrl
SketchObj.SketchInk
SketchObj.SketchInk.1
TpcCom.ClassicW
TpcCom.ClassicW.1
TpcCom.DrawAttrs
TpcCom.DrawAttrs.1
TpcCom.DrawAttrsXP
TpcCom.DrawAttrsXP.1
TpcCom.GenericRecognizer
TpcCom.GenericRecognizer.1
TpcCom.InkObject
TpcCom.InkObject.1
TpcCom.InkObjectXP
TpcCom.InkObjectXP.1
TpcCom.InkSettings
TpcCom.InkSettings.1
TpcCom.Lattice
TpcCom.Lattice.1
TpcCom.RecoManager
TpcCom.RecoManager.1
TpcCom.TabletManager
TpcCom.TabletManager.1
TpcCom.UserDictionary
TpcCom.UserDictionary.1
TPCRTP.DynamicRenderer
TPCRTP.DynamicRenderer.1
TPCRTP.GestureRecognizer
TPCRTP.GestureRecognizer.1
VisShe.CInfoTipShellExt
VisShe.CInfoTipShellExt.1
VisShe.CVisioFileFilter
VisShe.CVisioFileFilter.1
VisShe.IconHandlerShellExt
VisShe.IconHandlerShellExt.1
VisShe.ImageExtractorShellExt
VisShe.ImageExtractorShellExt.1
VisShe.QuickViewShellExt
VisShe.QuickViewShellExt.1
VLE.VLEHost
VLE.VLEHost.1
Wisptis.TabletManager
Wisptis.TabletManager.1
WLMd.Envelope
WLMd.Envelope.1
Word.Addin.8
Word.Application
Word.Application.12
Word.Backup.8
Word.Basic
Word.Basic.9
Word.Document
Word.Document.12
Word.Document.8
Word.DocumentMacroEnabled
Word.DocumentMacroEnabled.12
Word.Picture
Word.Picture.8
Word.RTF.8
Word.Template
Word.Template.12
Word.Template.8
Word.TemplateMacroEnabled
Word.TemplateMacroEnabled.12
Word.Wizard.8
wordhtmlfile
wordhtmltemplate
wordxmlfile

-未分類