Windows ETC

WIMC를 활용한 IT자산관리

2012.05.25 09:22

Urikiri 조회 수:80363

 사내 인프라 관리하다 보면.., 클라이언트 및 사내에서 사용 중인 프로그램관리가 필요합니다.

기존에는 phone-book 및 PC Sniper과 같은 좋은 관리 툴이 있지만..,,
비용 적인 문제로 인해
간단히 batch를 만들어, Converter를 이용해 MSI로 변환 후
그룹 정책에 삽입하여 사용이 가능합니다.

------------------------------------------------------------------------------------------------------------------------

@echo off
title checking in your program

ECHO 설치된 프로그램 목록 저장 중..
wmic /output:
\fileservershared%COMPUTERNAME%.txt product get name, version, InstallDate

echo.
goto :eof

------------------------------------------------------------------------------------------------------------------------

결과를 보게 되면 해당 경로에 컴퓨터이름으로 만들어진 txt가 생성이 되고,
txt의 내용은 아래와 같이 설치 날짜, 이름, 버전이 표시됩니다.
InstallDate  Name                                                                    Version        
20120330     Microsoft Chart Controls for Microsoft .NET Framework 3.5 (KB2500170)   3.5.30730.0    
20120509     Microsoft Office 2003 Web Components                                    12.0.6213.1000 
20120329     Microsoft Application Error Reporting                                   12.0.6015.5000 
20120329     Microsoft Shared Coms Korean Language Pack                              14.0.4763.1000 
20120329     PerformancePoint Services in SharePoint 1042 Language Pack              14.0.4763.1000 
20120509     Microsoft Office Professional Plus 2010                                 14.0.6029.1000 
20120329     Microsoft Web Analytics Korean Language Pack                            14.0.4763.1000 
20120330     Microsoft Office OneNote MUI (Korean) 2010                              14.0.6029.1000 
20120329     Microsoft Visio Services Korean Language Pack                           14.0.4763.1000 
20120329     Microsoft Document Lifecycle Components Korean Language Pack            14.0.4763.1000 
20120329     Microsoft Access Services Server                                        14.0.4763.1000 
20120329     Microsoft Visio Services Web Front End Components                       14.0.4763.1000 
20120329     Microsoft Slide Library Korean Language Pack                            14.0.4763.1000 
20120329     Microsoft SharePoint Foundation 2010 Core                               14.0.4763.1000 
20120329     Microsoft Access Services Korean Language Pack                          14.0.4763.1000 
20120330     Microsoft Office InfoPath MUI (Korean) 2010                             14.0.6029.1000 
20120330     Microsoft Office Access MUI (Korean) 2010                               14.0.6029.1000 
20120329     Microsoft SharePoint Foundation 2010 1042 Lang Pack                     14.0.4763.1000 
20120330     Microsoft Office Excel MUI (Korean) 2010                                14.0.6029.1000 
20120329     Microsoft Excel Services Components                                     14.0.4763.1000 
20120509     Microsoft Office SharePoint Designer 2010                               14.0.6029.1000 
20120330     Microsoft Office SharePoint Designer MUI (Korean) 2010                  14.0.6029.1000 
20120329     Microsoft InfoPath Forms Services                                       14.0.4763.1000 
20120329     Microsoft Document Lifecycle Components                                 14.0.4763.1000 
20120330     Microsoft Office PowerPoint MUI (Korean) 2010                           14.0.6029.1000 
20120330     Microsoft Office IME (Korean) 2010                                      14.0.6029.1000 
20120330     Microsoft Office IME (Korean) 2010                                      14.0.6029.1000 
20120329     Microsoft Excel Mobile Viewer Components                                14.0.4763.1000 
20120329     Microsoft Slide Library                                                 14.0.4763.1000 
20120329     Microsoft InfoPath Form Services Korean Language Pack                   14.0.4763.1000 
20120329     Microsoft Excel Services Korean Language Pack                           14.0.4763.1000 
20120330     Microsoft Office Publisher MUI (Korean) 2010                            14.0.6029.1000 
20120411     Microsoft Office Outlook MUI (Korean) 2010                              14.0.6029.1000 
20120509     Microsoft Office Office 64-bit Components 2010                          14.0.6029.1000 
20120330     Microsoft Office Shared 64-bit MUI (Korean) 2010                        14.0.6029.1000 
20120329     Microsoft Web Analytics Web Front End Components                        14.0.4763.1000 
20120330     Microsoft Office Groove MUI (Korean) 2010                               14.0.6029.1000 
20120330     Microsoft Office Word MUI (Korean) 2010                                 14.0.6029.1000 
20120329     Microsoft SharePoint Portal                                             14.0.4763.1000 
20120329     Microsoft Search Server 2010 Core                                       14.0.4763.1000 
20120330     Microsoft Office Proofing (Korean) 2010                                 14.0.6029.1000 
20120329     Microsoft User Profiles                                                 14.0.4763.1000 
20120329     Microsoft Word Server                                                   14.0.4763.1000 
20120329     Microsoft SharePoint Server 2010                                        14.0.4763.1000 
20120329     Microsoft Word Server Korean Language Pack                              14.0.4763.1000 
20120329     Microsoft Search Server 2010 Korean Language Pack                       14.0.4763.1000 
20120329     Microsoft SharePoint Portal Korean Language Pack                        14.0.4763.1000 
20120330     Microsoft Office Shared MUI (Korean) 2010                               14.0.6029.1000 
20120329     PerformancePoint Services for SharePoint                                14.0.4763.1000 
20120330     Microsoft Office Proof (Korean) 2010                                    14.0.6029.1000 
20120330     Microsoft Office Proof (English) 2010                                   14.0.6029.1000 
20120329     Microsoft Office Server Proof (Arabic) 2010                             14.0.4763.1000 
20120329     Microsoft Office Server Proof (Korean) 2010                             14.0.4763.1000 
20120329     Microsoft Office Server Proof (German) 2010                             14.0.4763.1000 
20120329     Microsoft Office Server Proof (English) 2010                            14.0.4763.1000 
20120329     Microsoft Office Server Proof (Russian) 2010                            14.0.4763.1000 
20120329     Microsoft Office Server Proof (Spanish) 2010                            14.0.4763.1000 
20120329     Microsoft Office Server Proof (French) 2010                             14.0.4763.1000 
20120329     Microsoft Shared Components                                             14.0.4763.1000 
20120330     Microsoft Filter Pack 2.0                                               14.0.6029.1000 
20120329     Microsoft SQL Server 2008 Analysis Services ADOMD.NET                   10.1.2531.0    
20120405     SQL Server 2008 R2 SP1 BI Development Studio                            10.51.2500.0   
20120329     Microsoft Server Speech Platform Runtime (x64)                          10.0.7135.0    
20120403     Microsoft Report Viewer Redistributable 2008 SP1 Language Pack - KOR    9.0.30729      
20120329     Microsoft Server Speech Recognition Language - TELE (ko-KR)             10.0.7135.0    
20120405     SQL Server 2008 R2 SP1 Database Engine Services                         10.51.2500.0   
20120329     Microsoft Sync Framework Runtime v1.0 (x64) ko                          1.0.1215.0     
20120329     Microsoft Visual Studio Tools for Applications 2.0 Language Pack - KOR  9.0.35191      
20120405     SQL Server 2008 R2 SP1 Analysis Services                                10.51.2500.0   
20120329     Microsoft SQL Server 2008 설치 지원 파일                                10.1.2731.0    
20120405     SQL Server 2008 R2 SP1 Integration Services                             10.51.2500.0   
20120405     SQL Server 2008 R2 SP1 Full text search                                 10.51.2500.0   
20120329     Microsoft SQL Server Compact 3.5 SP2 Query Tools KOR                    3.5.8080.0     
20120329     Microsoft Server Speech Recognition Language - TELE (en-US)             10.0.7135.0    
20120405     SQL Server 2008 R2 SP1 Database Engine Services                         10.51.2500.0   
20120405     Microsoft SQL Server Browser                                            10.51.2500.0   
20120405     SQL Server 2008 R2 SP1 Common Files                                     10.51.2500.0   
20120405     SQL Server 2008 R2 SP1 Client Tools                                     10.51.2500.0   
20120405     SQL Server 2008 R2 SP1 Database Engine Shared                           10.51.2500.0   
20120329     Microsoft SQL Server 2008 R2 정책                                       10.50.1600.1   
20120405     SQL Server 2008 R2 SP1 Reporting Services                               10.51.2500.0   
20120405     Microsoft SQL Server System CLR Types(x64)                              10.51.2500.0   
20120329     Microsoft SQL Server 2008 R2 온라인 설명서                              10.50.1600.1   
20120329     SQL Server 2008 R2 Reporting Services                                   10.50.1600.1   
20120329     Microsoft Report Viewer Redistributable 2008 (KB971119)                 9.0.30731      
20120405     SQL Server 2008 R2 SP1 Management Studio                                10.51.2500.0   
20120329     Microsoft SQL Server 2005 Analysis Services ADOMD.NET                   9.00.1399.06   
20120405     SQL Server 2008 R2 SP1 Database Engine Shared                           10.51.2500.0   
20120405     SQL Server 2008 R2 SP1 Client Tools                                     10.51.2500.0   
20120403     Microsoft Visual Studio Tools for Applications 2.0 - ENU                9.0.35191      
20120405     Microsoft SQL Server VSS Writer                                         10.51.2500.0   
20120329     Microsoft Operations Manager 2005 에이전트                              5.0.2911.0     
20120405     SQL Server 2008 R2 SP1 Integration Services                             10.51.2500.0   
20120509     Microsoft Silverlight                                                   5.1.10411.0    
20120329     SQL 2008 R2 Reporting Services SharePoint 2010 Add-in                   10.50.1600.1   
20120330     Microsoft Forefront Client Security Antimalware Service                 1.5.1937.15    
20120403     Microsoft Visual Studio 2008 Shell (integrated mode) - KOR              9.0.30729      
20120405     SQL Server 2008 R2 SP1 Analysis Services                                10.51.2500.0   
20120329     Microsoft Forefront Client Security State Assessment Service            1.0.1736.0     
20120330     Microsoft SQL Server 2008 R2 Setup (English)                            10.50.1617.0   
20120405     Microsoft SQL Server 2008 R2 RsFx Driver                                10.51.2500.0   
20120329     Microsoft SQL Server Compact 3.5 SP2 KOR                                3.5.8080.0     
20120405     SQL Server 2008 R2 SP1 Common Files                                     10.51.2500.0   
20120329     Microsoft Sync Services for ADO.NET v2.0 (x64) ko                       2.0.1215.0     
20120405     SQL Server 2008 R2 SP1 Management Studio                                10.51.2500.0   
20120405     SQL Server 2008 R2 SP1 BI Development Studio                            10.51.2500.0   
20120329     Sql Server Customer Experience Improvement Program                      10.50.1600.1   
20120330     Microsoft SQL Server 2008 R2 Native Client                              10.50.1617.0   
20120329     Microsoft Forefront Client Security Antimalware Service                 1.5.1996.1
================================================
위와 같이 wmic 모듈을 통해 간단히
설치된 프로그램 리스트가 export가능합니다.

추가로 상세 항목은 Caption, Description, IdentifyingNumber, InstallDate, InstallDate2, InstallLocation, InstallState, Name, PackageCache, SKUNumber, Vendor, Version 등이 있습니다.

 

번호 제목 글쓴이 날짜 조회 수
37 Windows 실행창 명령어 호스트웨이 2012.03.23 17261
36 Windows 원격 데스크톱 접속시 Local 리소스 사용 방법 file 호스트웨이 2012.03.23 17190
35 Internet Explorer 8 Welcome Screen 나타나지 않도록 설정하기 file 호스트웨이 2012.03.23 12851
34 Tracert, Traceroute 를 이용한 네트워크 회선점검(2) file 호스트웨이 2012.03.16 16664
33 Windows 2003 Server 최대 접속 가능 Terminal Session 개수 변경 file 호스트웨이 2012.03.16 25130
32 subinacl이란? 호스트웨이 2012.03.16 14371
31 Windows Server 백업 구성 file 호스트웨이 2012.03.16 13974
30 팀사이트의 정보보안 file 호스트웨이 2012.03.16 12767
29 리눅스 시간 동기화 및 시간대 설정 file 호스트웨이 2012.03.15 18948
28 windows2008 wbadmin 으로 시스템 백업 방법 호스트웨이 2012.03.15 12950
27 Tracert, Traceroute 를 이용한 네트워크 회선점검(1) file 호스트웨이 2012.03.15 25977
26 Windows Server 보안설정으로 파일 다운로드가 불가능할 때 file 호스트웨이 2012.03.15 27575
25 Windows Server 2008 백업 기능 설치 file 호스트웨이 2012.03.09 16426
24 Sharepoint의 간단한 소개 file 호스트웨이 2012.03.09 12857
23 IIS 백업과 복원 호스트웨이 2012.03.09 13074
22 windwos 에서 NAT구성 방법 호스트웨이 2010.04.01 24970
21 dll 등록방법 dhkim 2009.03.06 31245
20 Windows Server 2003 서비스 팩 2로 업그레이드한 후 "도움말 및 지원"이 보이지 않는다 레이쩡 2009.01.10 28838
19 로컬보안 설정 메뉴얼(IPSEC) dhkim 2008.11.18 30517
18 Mass SQL Injection(Cookie Injection 포함) dhkim 2008.11.10 35265