2004/11/20
WMI-CPU 정보 출력
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_Processor",,48)
For Each objItem in colItems
Wscript.Echo "AddressWidth: " & objItem.AddressWidth
Wscript.Echo "Architecture: " & objItem.Architecture
Wscript.Echo "Availability: " & objItem.Availability
Wscript.Echo "Caption: " & objItem.Caption
Wscript.Echo "ConfigManagerErrorCode: " & objItem.ConfigManagerErrorCode
Wscript.Echo "ConfigManagerUserConfig: " & objItem.ConfigManagerUserConfig
Wscript.Echo "CpuStatus: " & objItem.CpuStatus
Wscript.Echo "CreationClassName: " & objItem.CreationClassName
Wscript.Echo "CurrentClockSpeed: " & objItem.CurrentClockSpeed
Wscript.Echo "CurrentVoltage: " & objItem.CurrentVoltage
Wscript.Echo "DataWidth: " & objItem.DataWidth
Wscript.Echo "Description: " & objItem.Description
Wscript.Echo "DeviceID: " & objItem.DeviceID
Wscript.Echo "ErrorCleared: " & objItem.ErrorCleared
Wscript.Echo "ErrorDescription: " & objItem.ErrorDescription
Wscript.Echo "ExtClock: " & objItem.ExtClock
Wscript.Echo "Family: " & objItem.Family
Wscript.Echo "InstallDate: " & objItem.InstallDate
Wscript.Echo "L2CacheSize: " & objItem.L2CacheSize
Wscript.Echo "L2CacheSpeed: " & objItem.L2CacheSpeed
Wscript.Echo "LastErrorCode: " & objItem.LastErrorCode
Wscript.Echo "Level: " & objItem.Level
Wscript.Echo "LoadPercentage: " & objItem.LoadPercentage
Wscript.Echo "Manufacturer: " & objItem.Manufacturer
Wscript.Echo "MaxClockSpeed: " & objItem.MaxClockSpeed
Wscript.Echo "Name: " & objItem.Name
Wscript.Echo "OtherFamilyDescription: " & objItem.OtherFamilyDescription
Wscript.Echo "PNPDeviceID: " & objItem.PNPDeviceID
Wscript.Echo "PowerManagementCapabilities: " & objItem.PowerManagementCapabilities
Wscript.Echo "PowerManagementSupported: " & objItem.PowerManagementSupported
Wscript.Echo "ProcessorId: " & objItem.ProcessorId
Wscript.Echo "ProcessorType: " & objItem.ProcessorType
Wscript.Echo "Revision: " & objItem.Revision
Wscript.Echo "Role: " & objItem.Role
Wscript.Echo "SocketDesignation: " & objItem.SocketDesignation
Wscript.Echo "Status: " & objItem.Status
Wscript.Echo "StatusInfo: " & objItem.StatusInfo
Wscript.Echo "Stepping: " & objItem.Stepping
Wscript.Echo "SystemCreationClassName: " & objItem.SystemCreationClassName
Wscript.Echo "SystemName: " & objItem.SystemName
Wscript.Echo "UniqueId: " & objItem.UniqueId
Wscript.Echo "UpgradeMethod: " & objItem.UpgradeMethod
Wscript.Echo "Version: " & objItem.Version
Wscript.Echo "VoltageCaps: " & objItem.VoltageCaps
Next
WMI-핫픽스 패치 리스트 출력
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_QuickFixEngineering",,48)
For Each objItem in colItems
Wscript.Echo "Caption: " & objItem.Caption
Wscript.Echo "CSName: " & objItem.CSName
Wscript.Echo "Description: " & objItem.Description
Wscript.Echo "FixComments: " & objItem.FixComments
Wscript.Echo "HotFixID: " & objItem.HotFixID
Wscript.Echo "InstallDate: " & objItem.InstallDate
Wscript.Echo "InstalledBy: " & objItem.InstalledBy
Wscript.Echo "InstalledOn: " & objItem.InstalledOn
Wscript.Echo "Name: " & objItem.Name
Wscript.Echo "ServicePackInEffect: " & objItem.ServicePackInEffect
Wscript.Echo "Status: " & objItem.Status
Next
WMI-실행중인 프로세스 리스트 출력
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_Process",,48)
For Each objItem in colItems
Wscript.Echo "Caption: " & objItem.Caption
Wscript.Echo "CommandLine: " & objItem.CommandLine
Wscript.Echo "CreationClassName: " & objItem.CreationClassName
Wscript.Echo "CreationDate: " & objItem.CreationDate
Wscript.Echo "CSCreationClassName: " & objItem.CSCreationClassName
Wscript.Echo "CSName: " & objItem.CSName
Wscript.Echo "Description: " & objItem.Description
Wscript.Echo "ExecutablePath: " & objItem.ExecutablePath
Wscript.Echo "ExecutionState: " & objItem.ExecutionState
Wscript.Echo "Handle: " & objItem.Handle
Wscript.Echo "HandleCount: " & objItem.HandleCount
Wscript.Echo "InstallDate: " & objItem.InstallDate
Wscript.Echo "KernelModeTime: " & objItem.KernelModeTime
Wscript.Echo "MaximumWorkingSetSize: " & objItem.MaximumWorkingSetSize
Wscript.Echo "MinimumWorkingSetSize: " & objItem.MinimumWorkingSetSize
Wscript.Echo "Name: " & objItem.Name
Wscript.Echo "OSCreationClassName: " & objItem.OSCreationClassName
Wscript.Echo "OSName: " & objItem.OSName
Wscript.Echo "OtherOperationCount: " & objItem.OtherOperationCount
Wscript.Echo "OtherTransferCount: " & objItem.OtherTransferCount
Wscript.Echo "PageFaults: " & objItem.PageFaults
Wscript.Echo "PageFileUsage: " & objItem.PageFileUsage
Wscript.Echo "ParentProcessId: " & objItem.ParentProcessId
Wscript.Echo "PeakPageFileUsage: " & objItem.PeakPageFileUsage
Wscript.Echo "PeakVirtualSize: " & objItem.PeakVirtualSize
Wscript.Echo "PeakWorkingSetSize: " & objItem.PeakWorkingSetSize
Wscript.Echo "Priority: " & objItem.Priority
Wscript.Echo "PrivatePageCount: " & objItem.PrivatePageCount
Wscript.Echo "ProcessId: " & objItem.ProcessId
Wscript.Echo "QuotaNonPagedPoolUsage: " & objItem.QuotaNonPagedPoolUsage
Wscript.Echo "QuotaPagedPoolUsage: " & objItem.QuotaPagedPoolUsage
Wscript.Echo "QuotaPeakNonPagedPoolUsage: " & objItem.QuotaPeakNonPagedPoolUsage
Wscript.Echo "QuotaPeakPagedPoolUsage: " & objItem.QuotaPeakPagedPoolUsage
Wscript.Echo "ReadOperationCount: " & objItem.ReadOperationCount
Wscript.Echo "ReadTransferCount: " & objItem.ReadTransferCount
Wscript.Echo "SessionId: " & objItem.SessionId
Wscript.Echo "Status: " & objItem.Status
Wscript.Echo "TerminationDate: " & objItem.TerminationDate
Wscript.Echo "ThreadCount: " & objItem.ThreadCount
Wscript.Echo "UserModeTime: " & objItem.UserModeTime
Wscript.Echo "VirtualSize: " & objItem.VirtualSize
Wscript.Echo "WindowsVersion: " & objItem.WindowsVersion
Wscript.Echo "WorkingSetSize: " & objItem.WorkingSetSize
Wscript.Echo "WriteOperationCount: " & objItem.WriteOperationCount
Wscript.Echo "WriteTransferCount: " & objItem.WriteTransferCount
Next
WMI-실제 메모리 정보 출력
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_PhysicalMemory",,48)
For Each objItem in colItems
Wscript.Echo "BankLabel: " & objItem.BankLabel
Wscript.Echo "Capacity: " & objItem.Capacity
Wscript.Echo "Caption: " & objItem.Caption
Wscript.Echo "CreationClassName: " & objItem.CreationClassName
Wscript.Echo "DataWidth: " & objItem.DataWidth
Wscript.Echo "Description: " & objItem.Description
Wscript.Echo "DeviceLocator: " & objItem.DeviceLocator
Wscript.Echo "FormFactor: " & objItem.FormFactor
Wscript.Echo "HotSwappable: " & objItem.HotSwappable
Wscript.Echo "InstallDate: " & objItem.InstallDate
Wscript.Echo "InterleaveDataDepth: " & objItem.InterleaveDataDepth
Wscript.Echo "InterleavePosition: " & objItem.InterleavePosition
Wscript.Echo "Manufacturer: " & objItem.Manufacturer
Wscript.Echo "MemoryType: " & objItem.MemoryType
Wscript.Echo "Model: " & objItem.Model
Wscript.Echo "Name: " & objItem.Name
Wscript.Echo "OtherIdentifyingInfo: " & objItem.OtherIdentifyingInfo
Wscript.Echo "PartNumber: " & objItem.PartNumber
Wscript.Echo "PositionInRow: " & objItem.PositionInRow
Wscript.Echo "PoweredOn: " & objItem.PoweredOn
Wscript.Echo "Removable: " & objItem.Removable
Wscript.Echo "Replaceable: " & objItem.Replaceable
Wscript.Echo "SerialNumber: " & objItem.SerialNumber
Wscript.Echo "SKU: " & objItem.SKU
Wscript.Echo "Speed: " & objItem.Speed
Wscript.Echo "Status: " & objItem.Status
Wscript.Echo "Tag: " & objItem.Tag
Wscript.Echo "TotalWidth: " & objItem.TotalWidth
Wscript.Echo "TypeDetail: " & objItem.TypeDetail
Wscript.Echo "Version: " & objItem.Version
Next
WMI-운영체제 정보 출력
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_OperatingSystem",,48)
For Each objItem in colItems
Wscript.Echo "BootDevice: " & objItem.BootDevice
Wscript.Echo "BuildNumber: " & objItem.BuildNumber
Wscript.Echo "BuildType: " & objItem.BuildType
Wscript.Echo "Caption: " & objItem.Caption
Wscript.Echo "CodeSet: " & objItem.CodeSet
Wscript.Echo "CountryCode: " & objItem.CountryCode
Wscript.Echo "CreationClassName: " & objItem.CreationClassName
Wscript.Echo "CSCreationClassName: " & objItem.CSCreationClassName
Wscript.Echo "CSDVersion: " & objItem.CSDVersion
Wscript.Echo "CSName: " & objItem.CSName
Wscript.Echo "CurrentTimeZone: " & objItem.CurrentTimeZone
Wscript.Echo "Debug: " & objItem.Debug
Wscript.Echo "Description: " & objItem.Description
Wscript.Echo "Distributed: " & objItem.Distributed
Wscript.Echo "EncryptionLevel: " & objItem.EncryptionLevel
Wscript.Echo "ForegroundApplicationBoost: " & objItem.ForegroundApplicationBoost
Wscript.Echo "FreePhysicalMemory: " & objItem.FreePhysicalMemory
Wscript.Echo "FreeSpaceInPagingFiles: " & objItem.FreeSpaceInPagingFiles
Wscript.Echo "FreeVirtualMemory: " & objItem.FreeVirtualMemory
Wscript.Echo "InstallDate: " & objItem.InstallDate
Wscript.Echo "LargeSystemCache: " & objItem.LargeSystemCache
Wscript.Echo "LastBootUpTime: " & objItem.LastBootUpTime
Wscript.Echo "LocalDateTime: " & objItem.LocalDateTime
Wscript.Echo "Locale: " & objItem.Locale
Wscript.Echo "Manufacturer: " & objItem.Manufacturer
Wscript.Echo "MaxNumberOfProcesses: " & objItem.MaxNumberOfProcesses
Wscript.Echo "MaxProcessMemorySize: " & objItem.MaxProcessMemorySize
Wscript.Echo "Name: " & objItem.Name
Wscript.Echo "NumberOfLicensedUsers: " & objItem.NumberOfLicensedUsers
Wscript.Echo "NumberOfProcesses: " & objItem.NumberOfProcesses
Wscript.Echo "NumberOfUsers: " & objItem.NumberOfUsers
Wscript.Echo "Organization: " & objItem.Organization
Wscript.Echo "OSLanguage: " & objItem.OSLanguage
Wscript.Echo "OSProductSuite: " & objItem.OSProductSuite
Wscript.Echo "OSType: " & objItem.OSType
Wscript.Echo "OtherTypeDescription: " & objItem.OtherTypeDescription
Wscript.Echo "PAEEnabled: " & objItem.PAEEnabled
Wscript.Echo "PlusProductID: " & objItem.PlusProductID
Wscript.Echo "PlusVersionNumber: " & objItem.PlusVersionNumber
Wscript.Echo "Primary: " & objItem.Primary
Wscript.Echo "ProductType: " & objItem.ProductType
Wscript.Echo "QuantumLength: " & objItem.QuantumLength
Wscript.Echo "QuantumType: " & objItem.QuantumType
Wscript.Echo "RegisteredUser: " & objItem.RegisteredUser
Wscript.Echo "SerialNumber: " & objItem.SerialNumber
Wscript.Echo "ServicePackMajorVersion: " & objItem.ServicePackMajorVersion
Wscript.Echo "ServicePackMinorVersion: " & objItem.ServicePackMinorVersion
Wscript.Echo "SizeStoredInPagingFiles: " & objItem.SizeStoredInPagingFiles
Wscript.Echo "Status: " & objItem.Status
Wscript.Echo "SuiteMask: " & objItem.SuiteMask
Wscript.Echo "SystemDevice: " & objItem.SystemDevice
Wscript.Echo "SystemDirectory: " & objItem.SystemDirectory
Wscript.Echo "SystemDrive: " & objItem.SystemDrive
Wscript.Echo "TotalSwapSpaceSize: " & objItem.TotalSwapSpaceSize
Wscript.Echo "TotalVirtualMemorySize: " & objItem.TotalVirtualMemorySize
Wscript.Echo "TotalVisibleMemorySize: " & objItem.TotalVisibleMemorySize
Wscript.Echo "Version: " & objItem.Version
Wscript.Echo "WindowsDirectory: " & objItem.WindowsDirectory
Next
WMI-페이징 파일 정보 출력
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_PageFile",,48)
For Each objItem in colItems
Wscript.Echo "AccessMask: " & objItem.AccessMask
Wscript.Echo "Archive: " & objItem.Archive
Wscript.Echo "Caption: " & objItem.Caption
Wscript.Echo "Compressed: " & objItem.Compressed
Wscript.Echo "CompressionMethod: " & objItem.CompressionMethod
Wscript.Echo "CreationClassName: " & objItem.CreationClassName
Wscript.Echo "CreationDate: " & objItem.CreationDate
Wscript.Echo "CSCreationClassName: " & objItem.CSCreationClassName
Wscript.Echo "CSName: " & objItem.CSName
Wscript.Echo "Description: " & objItem.Description
Wscript.Echo "Drive: " & objItem.Drive
Wscript.Echo "EightDotThreeFileName: " & objItem.EightDotThreeFileName
Wscript.Echo "Encrypted: " & objItem.Encrypted
Wscript.Echo "EncryptionMethod: " & objItem.EncryptionMethod
Wscript.Echo "Extension: " & objItem.Extension
Wscript.Echo "FileName: " & objItem.FileName
Wscript.Echo "FileSize: " & objItem.FileSize
Wscript.Echo "FileType: " & objItem.FileType
Wscript.Echo "FreeSpace: " & objItem.FreeSpace
Wscript.Echo "FSCreationClassName: " & objItem.FSCreationClassName
Wscript.Echo "FSName: " & objItem.FSName
Wscript.Echo "Hidden: " & objItem.Hidden
Wscript.Echo "InitialSize: " & objItem.InitialSize
Wscript.Echo "InstallDate: " & objItem.InstallDate
Wscript.Echo "InUseCount: " & objItem.InUseCount
Wscript.Echo "LastAccessed: " & objItem.LastAccessed
Wscript.Echo "LastModified: " & objItem.LastModified
Wscript.Echo "Manufacturer: " & objItem.Manufacturer
Wscript.Echo "MaximumSize: " & objItem.MaximumSize
Wscript.Echo "Name: " & objItem.Name
Wscript.Echo "Path: " & objItem.Path
Wscript.Echo "Readable: " & objItem.Readable
Wscript.Echo "Status: " & objItem.Status
Wscript.Echo "System: " & objItem.System
Wscript.Echo "Version: " & objItem.Version
Wscript.Echo "Writeable: " & objItem.Writeable
Next
WMI-이벤트로그 정보 출력
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_NTLogEvent",,48)
For Each objItem in colItems
Wscript.Echo "Category: " & objItem.Category
Wscript.Echo "CategoryString: " & objItem.CategoryString
Wscript.Echo "ComputerName: " & objItem.ComputerName
Wscript.Echo "Data: " & objItem.Data
Wscript.Echo "EventCode: " & objItem.EventCode
Wscript.Echo "EventIdentifier: " & objItem.EventIdentifier
Wscript.Echo "EventType: " & objItem.EventType
Wscript.Echo "InsertionStrings: " & objItem.InsertionStrings
Wscript.Echo "Logfile: " & objItem.Logfile
Wscript.Echo "Message: " & objItem.Message
Wscript.Echo "RecordNumber: " & objItem.RecordNumber
Wscript.Echo "SourceName: " & objItem.SourceName
Wscript.Echo "TimeGenerated: " & objItem.TimeGenerated
Wscript.Echo "TimeWritten: " & objItem.TimeWritten
Wscript.Echo "Type: " & objItem.Type
Wscript.Echo "User: " & objItem.User
Next
WMI-디스크 파티션 정보 출력
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_LogicalDisk",,48)
For Each objItem in colItems
Wscript.Echo "Access: " & objItem.Access
Wscript.Echo "Availability: " & objItem.Availability
Wscript.Echo "BlockSize: " & objItem.BlockSize
Wscript.Echo "Caption: " & objItem.Caption
Wscript.Echo "Compressed: " & objItem.Compressed
Wscript.Echo "ConfigManagerErrorCode: " & objItem.ConfigManagerErrorCode
Wscript.Echo "ConfigManagerUserConfig: " & objItem.ConfigManagerUserConfig
Wscript.Echo "CreationClassName: " & objItem.CreationClassName
Wscript.Echo "Description: " & objItem.Description
Wscript.Echo "DeviceID: " & objItem.DeviceID
Wscript.Echo "DriveType: " & objItem.DriveType
Wscript.Echo "ErrorCleared: " & objItem.ErrorCleared
Wscript.Echo "ErrorDescription: " & objItem.ErrorDescription
Wscript.Echo "ErrorMethodology: " & objItem.ErrorMethodology
Wscript.Echo "FileSystem: " & objItem.FileSystem
Wscript.Echo "FreeSpace: " & objItem.FreeSpace
Wscript.Echo "InstallDate: " & objItem.InstallDate
Wscript.Echo "LastErrorCode: " & objItem.LastErrorCode
Wscript.Echo "MaximumComponentLength: " & objItem.MaximumComponentLength
Wscript.Echo "MediaType: " & objItem.MediaType
Wscript.Echo "Name: " & objItem.Name
Wscript.Echo "NumberOfBlocks: " & objItem.NumberOfBlocks
Wscript.Echo "PNPDeviceID: " & objItem.PNPDeviceID
Wscript.Echo "PowerManagementCapabilities: " & objItem.PowerManagementCapabilities
Wscript.Echo "PowerManagementSupported: " & objItem.PowerManagementSupported
Wscript.Echo "ProviderName: " & objItem.ProviderName
Wscript.Echo "Purpose: " & objItem.Purpose
Wscript.Echo "QuotasDisabled: " & objItem.QuotasDisabled
Wscript.Echo "QuotasIncomplete: " & objItem.QuotasIncomplete
Wscript.Echo "QuotasRebuilding: " & objItem.QuotasRebuilding
Wscript.Echo "Size: " & objItem.Size
Wscript.Echo "Status: " & objItem.Status
Wscript.Echo "StatusInfo: " & objItem.StatusInfo
Wscript.Echo "SupportsDiskQuotas: " & objItem.SupportsDiskQuotas
Wscript.Echo "SupportsFileBasedCompression: " & objItem.SupportsFileBasedCompression
Wscript.Echo "SystemCreationClassName: " & objItem.SystemCreationClassName
Wscript.Echo "SystemName: " & objItem.SystemName
Wscript.Echo "VolumeDirty: " & objItem.VolumeDirty
Wscript.Echo "VolumeName: " & objItem.VolumeName
Wscript.Echo "VolumeSerialNumber: " & objItem.VolumeSerialNumber
Next
WMI-컴퓨터 기본정보 출력
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_ComputerSystem",,48)
For Each objItem in colItems
Wscript.Echo "AdminPasswordStatus: " & objItem.AdminPasswordStatus
Wscript.Echo "AutomaticResetBootOption: " & objItem.AutomaticResetBootOption
Wscript.Echo "AutomaticResetCapability: " & objItem.AutomaticResetCapability
Wscript.Echo "BootOptionOnLimit: " & objItem.BootOptionOnLimit
Wscript.Echo "BootOptionOnWatchDog: " & objItem.BootOptionOnWatchDog
Wscript.Echo "BootROMSupported: " & objItem.BootROMSupported
Wscript.Echo "BootupState: " & objItem.BootupState
Wscript.Echo "Caption: " & objItem.Caption
Wscript.Echo "ChassisBootupState: " & objItem.ChassisBootupState
Wscript.Echo "CreationClassName: " & objItem.CreationClassName
Wscript.Echo "CurrentTimeZone: " & objItem.CurrentTimeZone
Wscript.Echo "DaylightInEffect: " & objItem.DaylightInEffect
Wscript.Echo "Description: " & objItem.Description
Wscript.Echo "DNSHostName: " & objItem.DNSHostName
Wscript.Echo "Domain: " & objItem.Domain
Wscript.Echo "DomainRole: " & objItem.DomainRole
Wscript.Echo "EnableDaylightSavingsTime: " & objItem.EnableDaylightSavingsTime
Wscript.Echo "FrontPanelResetStatus: " & objItem.FrontPanelResetStatus
Wscript.Echo "InfraredSupported: " & objItem.InfraredSupported
Wscript.Echo "InitialLoadInfo: " & objItem.InitialLoadInfo
Wscript.Echo "InstallDate: " & objItem.InstallDate
Wscript.Echo "KeyboardPasswordStatus: " & objItem.KeyboardPasswordStatus
Wscript.Echo "LastLoadInfo: " & objItem.LastLoadInfo
Wscript.Echo "Manufacturer: " & objItem.Manufacturer
Wscript.Echo "Model: " & objItem.Model
Wscript.Echo "Name: " & objItem.Name
Wscript.Echo "NameFormat: " & objItem.NameFormat
Wscript.Echo "NetworkServerModeEnabled: " & objItem.NetworkServerModeEnabled
Wscript.Echo "NumberOfProcessors: " & objItem.NumberOfProcessors
Wscript.Echo "OEMLogoBitmap: " & objItem.OEMLogoBitmap
Wscript.Echo "OEMStringArray: " & objItem.OEMStringArray
Wscript.Echo "PartOfDomain: " & objItem.PartOfDomain
Wscript.Echo "PauseAfterReset: " & objItem.PauseAfterReset
Wscript.Echo "PowerManagementCapabilities: " & objItem.PowerManagementCapabilities
Wscript.Echo "PowerManagementSupported: " & objItem.PowerManagementSupported
Wscript.Echo "PowerOnPasswordStatus: " & objItem.PowerOnPasswordStatus
Wscript.Echo "PowerState: " & objItem.PowerState
Wscript.Echo "PowerSupplyState: " & objItem.PowerSupplyState
Wscript.Echo "PrimaryOwnerContact: " & objItem.PrimaryOwnerContact
Wscript.Echo "PrimaryOwnerName: " & objItem.PrimaryOwnerName
Wscript.Echo "ResetCapability: " & objItem.ResetCapability
Wscript.Echo "ResetCount: " & objItem.ResetCount
Wscript.Echo "ResetLimit: " & objItem.ResetLimit
Wscript.Echo "Roles: " & objItem.Roles
Wscript.Echo "Status: " & objItem.Status
Wscript.Echo "SupportContactDescription: " & objItem.SupportContactDescription
Wscript.Echo "SystemStartupDelay: " & objItem.SystemStartupDelay
Wscript.Echo "SystemStartupOptions: " & objItem.SystemStartupOptions
Wscript.Echo "SystemStartupSetting: " & objItem.SystemStartupSetting
Wscript.Echo "SystemType: " & objItem.SystemType
Wscript.Echo "ThermalState: " & objItem.ThermalState
Wscript.Echo "TotalPhysicalMemory: " & objItem.TotalPhysicalMemory
Wscript.Echo "UserName: " & objItem.UserName
Wscript.Echo "WakeUpType: " & objItem.WakeUpType
Wscript.Echo "Workgroup: " & objItem.Workgroup
Next
2004/11/15
Windows Server의 External Connector 라이센스
External Connector 라이센스라는게 참으로 해석여하에 따라 다르기 때문에..
참고하시길..
---------------------------------------------------------
답변: 우선 마이크로소프트 Windows Server에 관심을 가져 주셔서 진심으로 감사 드립니다.
고객님께서 문의하신 Windows Server 2003 External Connector는 외부사용자가 접속할 Windows 2003 Server 각각에 적용할 수 있는, CAL 대안으로 획득하는 라이센스입니다.
여기서 외부 사용자란, 직원, 회사의 유사 직원 또는 계열사 직원등의 내부사용자를 제외한 모든 사용자를 말합니다. 다시말해 Windows Server 2003 External Connector는 외부사용자에게만 해당되며, 내부사용자의 경우 Windows Server CAL(Client Access Licensing)이 있어야 합니다.
참고로, Windows CAL은 인터넷을 통해 인증 없이 익명으로 접속하는 경우를 제외하고는 반드시 필요합니다.
첫번째 문의하셨던 웹 서버만을 구축하는 경우 서버 소프트웨어를 사용하거나 Access하기 위해 모든 사용자에 대해 Windows CAL을 필요로 하며 이러한 경우에 선택하게 되는 것이 External Connector입니다. 이는 Web Edition을 제외한 모든 버전의 Windows Server 2003에 적용됩니다. Web Edition에는 Windows CAL이 필요하지 않습니다. Web Edition에 대해서는 아래의 사이트를 참고하시면 됩니다.
http://www.microsoft.com/korea/windowsserver2003/evaluation/
overview/web.asp
그러나, Windows CAL 요구 사항에 대한 다음과 같은 일반적인 예외사항은 있습니다.
식별되지 않는 사용자가 공개 웹 사이트를 검색하는 경우는 인증되지 않는 액세스의 한 예입니다. 이러한 사용자에 대해서는 Windows CAL이 필요하지 않습니다.
http://www.microsoft.com/korea/windowsserver2003/howtobuy/
licensing/caloverview.asp
또한, Windows Server와 SQL Server를 같이 사용하게 되는 경우, SQL Server로 접근하기 위해 Windows Server를 Access해야 하며, 이런 경우에는 반드시 Windows Server CAL를 필요로 하게됩니다.
이 라이센스는 SQL 서버를 실행하는 컴퓨터 내의 각 CPU에 대해 라이센스가 하나씩 있어야 합니니다.
또, 스트리밍 미디어 서버를 사용하기 위해서도 역시 Windows Server의 CAL을 필요로 합니다.
참고로 Windows Server와 SQL Server의 라이센스에 대해 기타 궁금하신 사항은 아래의 웹 사이트를 참조하시기 바랍니다.
http://www.microsoft.com/korea/windowsserver2003/howtobuy/
licensing/default.asp
기타 다른 궁금하신 사항이나 필요하신 정보가 있으신 경우 연락주시면 성심 성의껏 답변드리겠습니다.
마이크로소프트 고객만족센터를 찾아주셔서 감사드립니다.
저희 마이크로소프트는 고객만족을 실천하기 위하여 최선의 노력을 다하겠습니다.
감사합니다.
------------------------------------------------------------------------------------------------
위의 내용이 고객님께서 원하시는 답변이 되었기를 바랍니다. 혹시 답변이 충분하지 않았거나
더 궁금하신 사항이 있으시면 CSCKorea@microsoft.com 으로 회신 주시거나 또는
고객만족센터 080-985-2000 으로 연락주시면 친절히 안내해 드리겠습니다.
[마이크로소프트 고객만족센터 업무시간 안내]
* 월- 금: 09:00 - 18:00
* 토: 09:00 - 12:00 (일요일 및 공휴일은 근무하지 않습니다.)
[기타 전화번호 안내]
* 마이크로소프트 기술지원센터(소프트웨어 및 게임/하드웨어) : 02-508-0040
* 마이크로소프트 정품인증센터: 080-985-2000
감사합니다.
마이크로소프트 고객만족센터.
2004/11/10
IIS로그를 ODBC를 통해 DB에 저장코자 할경우
IIS5에서는 ODBC로깅을 지원합니다.
말그대로 ODBC를 통해서 특정 데이터베이스에 저장이 가능하며, 데이터베이스는 mdb파일 및 SQL Server 도 가능하다.
ODBC에 저장할려면, 로그파일을 저장하는 테이블을 생성해야 하는데
이에 대한 스키마 파일은 C:\WINDOWS\system32\inetsrv\logtemp.sql 이다.
해당 파일을 통해서 테이블을 생성한후,
1.관리도구 - 데이터원본(ODBC)를 통해서 해당 DB에 접속가능한 정보를 설정합니다.
2. IIS의 해당 웹의 로깅방법을 ODBC로 지정후, 설정에서 ODBC생성시 지정했던
ODBC정보를 입력하면 됩니다.
Windows2000 ASP.NET에서 네트웍 파일 접근시
ASP의 경우 IIS의 해당웹의 익명계정 설정부분에서 특정계정을 지정해 주면 되나,
ASP.NET의 경우는 실행계정이 ASPNET이므로 해당 계정이 적절한 권한이 있어야 한다.
권한설정방법은,
machine.config 에서
<identity impersonate="true" userName="" password=""/> 에 특정 계정을 지정해 주면 된다.
그런데, 특정 웹어플리케이션에만 적용코자 한다면 web.config에서
<location path="testSite/testApplication" allowOverride="false">
<system.web>
<identity impersonate="true" username="testUser" password="dgsd73b8dn">
</system.web>
</location>
를 추가하면 된다.
프로그래밍 코드내에서 해결하는 방법은 다음 문서를 참고하세요.
http://www.netomatix.com/ImpersonateUser.aspx
2004/11/04
IIS6 에서 운영중인 응용프로그램 확인
IIS5의 경우 구성요소에서 확인할수 있으나, IIS6에서는 구성요소 항목에서 확인할수 없다.
확인할려면, iisapp.vbs 를 이용해야 합니다.
iisapp.vbs는 WMI에 접속해서 프로세스 명이 w3wp.exe 인것을 찾아서 해당 id의 응용프로그래명을 찾아냅니다.
자세한 내용은 직접 iisapp.vbs 코드를 보시면 됩니다. 위치는 C:\WINDOWS\system32 에 있습니다.
사용법은 다음과 같습니다.
Syntax :
iisapp [a/ AppPoolName | /p PID]
Parameters:
/a AppPoolName 응용프로그램명
/p PID 프로세스ID
예제 1: 모든 응용프로그램 목록을 보고자 할때..
iisapp
결과:
W3wp.exe PID: 2232 AppPoolID: DefaultAppPool
W3wp.exe PID: 2608 AppPoolID: Serverinfo
예제 2: 특정 PID의 응용프로그램명을 확인하고자 할때.
iisapp /p 2608
결과:
W3wp.exe PID: 2608 AppPoolID: Serverinfo
이런 기능도 있다., 실행중인 응용프로그램 풀을 재생하고자 할때, 다음과 같이 하면 된다.
iisapp /p 1234 /r
가장 많이 본 글
-
구글... 도대체 뭐하는 짓인지......?? 뭐 내용상으로는,. 누군가 Spam 이라며 신고했다는 건데, 스팸 사이트도 아니고 그럴 내용도 없다. 누군가 악의적으로 신고한것인지 ? 아니면 구글 시스템 오류인건지? 특이한건,. 같은 구글 계정으로 생성...
-
업데이트 적용 환경 : Windows Server 2022 Std, 21H2 설치 실패: 0x8024200B 오류 때문에 Windows에서 다음 업데이트를 설치하지 못했습니다. 2024-01 x64 기반 시스템용 Microsoft server oper...
-
PostgreSQL 에서 처음 dblink 를 사용하는 경우에는 dblink 라이브러리를 확장모듈에 로딩을 해놔야 함. 안그러면 알수 없는 함수라는 오류가 표시됨. -- dblink 로딩 (최초1회 > PgAdmin 에서 해당 DB의 확장모듈에...