Hi there,
Here is my checklist of items,
What I need my checklist to do is to look up the items, for example, 4.1.1 Alerter and return the 2nd last values 'Automatic'
So far what I have tried and it returns me:
I would like to improve on it:
Here is my checklist of items,
Code:
4.1.1 Alerter
4.1.2 Client Services for Netware
4.1.3 Clipbook
4.1.4 Fax Service
4.1.5 File Replication
4.1.6 File Services for Macintosh
4.1.7 FTP Publishing Service
4.1.8 Help and Support
4.1.9 HTTP SSL
4.1.10 IIS Admin Service
4.1.11 Indexing Service
4.1.12 License Logging Service
4.1.13 Messenger
4.1.14 Microsoft POP3 Service
4.1.15 NetMeeting Remote Desktop Sharing
4.1.16 Network Connections
4.1.17 Network News Transport Protocol (NNTP)
4.1.18 Print Server for Macintosh
4.1.19 Print Spooler
4.1.20 Remote Access Auto Connection Manager
4.1.21 Remote Access Connection Manager
4.1.22 Remote Administration Service
4.1.23 Remote Desktop Help Session Manager
4.1.24 Remote Installation
4.1.25 Remote Procedure Call (RPC) Locator
4.1.26 Remote Registry Service
4.1.27 Remote Server Manager
4.1.28 Remote Server Monitor
4.1.29 Remote Storage Notification
4.1.30 Remote Storage Server
4.1.31 Simple Mail Transfer Protocol (SMTP)
4.1.32 Simple Network Management Protocol (SNMP) Service
4.1.33 Simple Network Management Protocol (SNMP) Trap
4.1.34 Telephony
4.1.35 Telnet
4.1.36 Terminal Services
4.1.37 Trivial FTP Daemon
4.1.38 Volume Shadow Service
4.1.39 Wireless Configuration
4.1.40 Windows Media Server
4.1.41 World Wide Web Publishing Services
4.1.42 Data Execution Prevention
Code:
Name Description Status Startup Type Log On As
.NET Runtime Optimization Service v2.0.50727_X86 Microsoft .NET Framework NGEN Manual Local System
Acronis Managed Machine Service Enables data backup and recovery on the machine. Disabled sla\admct3
Acronis Remote Agent Service Enables connectivity among Acronis components. Started Automatic Network Service
Acronis Scheduler2 Service Provides scheduling for Acronis components' tasks. Started Automatic Local System
Alerter Notifies selected users and computers of administrative alerts. If the service is stopped, programs that use administrative alerts will not receive them. If this service is disabled, any services that explicitly depend on it will fail to start. Started Automatic Local Service
Application Experience Lookup Service Process application compatibility lookup requests for applications as they are launched. Started Automatic Local System
Application Layer Gateway Service Provides support for 3rd party protocol plug-ins for Internet Connection Sharing and the Windows Firewall Manual Local Service
Application Management Processes installation, removal, and enumeration requests for Active Directory IntelliMirror group policy programs. If the service is disabled, users will be unable to install, remove, or enumerate any IntelliMirror programs. If this service is disabled, any services that explicitly depend on it will fail to start. Started Manual Local System
ASP.NET State Service Provides support for out-of-process session states for ASP.NET. If this service is stopped, out-of-process requests will not be processed. If this service is disabled, any services that explicitly depend on it will fail to start. Manual Network Service
Automatic Updates Enables the download and installation of Windows updates. If this service is disabled, this computer will not be able to use the Automatic Updates feature or the Windows Update Web site. Started Automatic Local System
Background Intelligent Transfer Service Transfers files in the background using idle network bandwidth. If the service is stopped, features such as Windows Update, and MSN Explorer will be unable to automatically download programs and other information. If this service is disabled, any services that explicitly depend on it may fail to transfer files if they do not have a fail safe mechanism to transfer files directly through IE in case BITS has been disabled. Manual Local System
CA License Client CA License Client Manual Local System
ClipBook Enables ClipBook Viewer to store information and share it with remote computers. If the service is stopped, ClipBook Viewer will not be able to share information with remote computers. If this service is disabled, any services that explicitly depend on it will fail to start. Disabled Local System
COM+ Event System Supports System Event Notification Service (SENS), which provides automatic distribution of events to subscribing Component Object Model (COM) components. If the service is stopped, SENS will close and will not be able to provide logon and logoff notifications. If this service is disabled, any services that explicitly depend on it will fail to start. Started Automatic Local System
COM+ System Application Manages the configuration and tracking of Component Object Model (COM)+-based components. If the service is stopped, most COM+-based components will not function properly. If this service is disabled, any services that explicitly depend on it will fail to start. Manual Local System
Computer Browser Maintains an updated list of computers on the network and supplies this list to computers designated as browsers. If this service is stopped, this list will not be updated or maintained. If this service is disabled, any services that explicitly depend on it will fail to start. Started Automatic Local System
Cryptographic Services Provides three management services: Catalog Database Service, which confirms the signatures of Windows files; Protected Root Service, which adds and removes Trusted Root Certification Authority certificates from this computer; and Key Service, which helps enroll this computer for certificates. If this service is stopped, these management services will not function properly. If this service is disabled, any services that explicitly depend on it will fail to start. Started Automatic Local System
Data ONTAP DSM Management Service Manages paths and policies for MPIO disks using the Data ONTAP Device Specific Module. Started Automatic Local System
Data ONTAP VSS Hardware Provider VSS Hardware Provider for Data ONTAP LUNs Manual SLA\SLANETAPP
Data Protector Inet [HP Data Protector] - Backup client service Started Automatic .\ndmpuser
DCOM Server Process Launcher Provides launch functionality for DCOM services. Started Automatic Local System
DHCP Client Registers and updates IP addresses and DNS records for this computer. If this service is stopped, this computer will not receive dynamic IP addresses and DNS updates. If this service is disabled, any services that explicitly depend on it will fail to start. Started Automatic Network Service
Distributed File System Integrates disparate file shares into a single, logical namespace and manages these logical volumes distributed across a local or wide area network. If this service is stopped, users will be unable to access file shares. If this service is disabled, any services that explicitly depend on it will fail to start. Manual Local System
Distributed Link Tracking Client Enables client programs to track linked files that are moved within an NTFS volume, to another NTFS volume on the same computer, or to an NTFS volume on another computer. If this service is stopped, the links on this computer will not be maintained or tracked. If this service is disabled, any services that explicitly depend on it will fail to start. Started Automatic Local System
Distributed Link Tracking Server Enables the Distributed Link Tracking Client service within the same domain to provide more reliable and efficient maintenance of links within the domain. If this service is disabled, any services that explicitly depend on it will fail to start. Disabled Local System
Distributed Transaction Coordinator Coordinates transactions that span multiple resource managers, such as databases, message queues, and file systems. If this service is stopped, these transactions will not occur. If this service is disabled, any services that explicitly depend on it will fail to start. Started Automatic Network Service
DNS Client Resolves and caches Domain Name System (DNS) names for this computer. If this service is stopped, this computer will not be able to resolve DNS names and locate Active Directory domain controllers. If this service is disabled, any services that explicitly depend on it will fail to start. Started Automatic Network Service
Emulex CIM Server Emulex CIM Server with HBA Provider Started Automatic Local System
Emulex HBA Discovery Performs discovery of local and remote HBAs. Manual Local System
Emulex HBA Management Provides remote and local HBA management. Started Automatic Local System
Emulex SvcMgr Manages HBA management services during hot-swaps and driver updates. Started Automatic Local System
Error Reporting Service Collects, stores, and reports unexpected application crashes to Microsoft. If this service is stopped, then Error Reporting will occur only for kernel faults and some types of user mode faults. If this service is disabled, any services that explicitly depend on it will not start. Started Automatic Local System
Event Log Enables event log messages issued by Windows-based programs and components to be viewed in Event Viewer. This service cannot be stopped. Started Automatic Local System
Event Log Watch Event Log Watch Started Automatic Local System
File Replication Allows files to be automatically copied and maintained simultaneously on multiple servers. If this service is stopped, file replication will not occur and servers will not synchronize. If this service is disabled, any services that explicitly depend on it will fail to start. Disabled Local System
FileNet NLS Service Disabled .\fnsw
Help and Support Enables Help and Support Center to run on this computer. If this service is stopped, Help and Support Center will be unavailable. If this service is disabled, any services that explicitly depend on it will fail to start. Started Automatic Local System
HID Input Service Enables generic input access to Human Interface Devices (HID), which activates and maintains the use of predefined hot buttons on keyboards, remote controls, and other multimedia devices. If this service is stopped, hot buttons controlled by this service will no longer function. If this service is disabled, any services that explicitly depend on it will fail to start. Started Automatic Local System
HP Insight Event Notifier HP Insight Event Notifier Disabled Local System
HP Insight Foundation Agents HP Insight Foundation Agents Started Automatic Local System
HP Insight NIC Agents HP Insight NIC Agents Started Automatic Local System
HP Insight Server Agents HP Insight Server Agents Started Automatic Local System
HP Insight Storage Agents HP Insight Storage Agents Started Automatic Local System
HP ProLiant Remote Monitor Service Provides support for the HP ProLiant Integrated Management Log Viewer. Started Automatic Local System
HP ProLiant System Shutdown Service Shuts down the system in the event of overheating or loss of cooling in response to commands from the HP ProLiant iLO Advanced System Management Controller and Enhanced Management Controller driver. Started Automatic Local System
HP Smart Array SAS/SATA Event Notification Service The HP Smart Array SAS/SATA Event Notification Service provides event notification to the Windows system event log, HP ProLiant Integrated Management Log and HP Integrity System Event Log for systems using the HP Smart Array SAS/SATA controller driver. Started Automatic Local System
HP System Management Homepage The HP System Management Homepage allows an administrator to monitor the web-apps on the system. Started Automatic Local System
HP Version Control Agent Collects data and allows management of ProLiant software and firmware. Started Automatic Local System
HTTP SSL This service implements the secure hypertext transfer protocol (HTTPS) for the HTTP service, using the Secure Socket Layer (SSL). If this service is disabled, any services that explicitly depend on it will fail to start. Started Automatic Local System
IMAPI CD-Burning COM Service Manages CD recording using Image Mastering Applications Programming Interface (IMAPI). If this service is stopped, this computer will be unable to record CDs. If this service is disabled, any services that explicitly depend on it will fail to start. Disabled Local System
Indexing Service Indexes contents and properties of files on local and remote computers; provides rapid access to files through flexible querying language. Disabled Local System
InstallDriver Table Manager Provides support for the Running Object Table for InstallShield Drivers Manual Local System
Intersite Messaging Enables messages to be exchanged between computers running Windows Server sites. If this service is stopped, messages will not be exchanged, nor will site routing information be calculated for other services. If this service is disabled, any services that explicitly depend on it will fail to start. Disabled Local System
IPSEC Services Provides end-to-end security between clients and servers on TCP/IP networks. If this service is stopped, TCP/IP security between clients and servers on the network will be impaired. If this service is disabled, any services that explicitly depend on it will fail to start. Started Automatic Local System
IS ControlService Started Manual .\fnsw
Kerberos Key Distribution Center On domain controllers this service enables users to log on to the network using the Kerberos authentication protocol. If this service is stopped on a domain controller, users will be unable to log on to the network. If this service is disabled, any services that explicitly depend on it will fail to start. Disabled Local System
License Logging Monitors and records client access licensing for portions of the operating system (such as IIS, Terminal Server and File/Print) as well as products that aren't a part of the OS, like SQL and Exchange Server. If this service is stopped, licensing will be enforced, but will not be monitored. Disabled Network Service
Logical Disk Manager Detects and monitors new hard disk drives and sends disk volume information to Logical Disk Manager Administrative Service for configuration. If this service is stopped, dynamic disk status and configuration information may become out of date. If this service is disabled, any services that explicitly depend on it will fail to start. Started Automatic Local System
Logical Disk Manager Administrative Service Configures hard disk drives and volumes. The service only runs for configuration processes and then stops. Started Manual Local System
Messenger Transmits net send and Alerter service messages between clients and servers. This service is not related to Windows Messenger. If this service is stopped, Alerter messages will not be transmitted. If this service is disabled, any services that explicitly depend on it will fail to start. Disabled Local System
Microsoft Software Shadow Copy Provider Manages software-based volume shadow copies taken by the Volume Shadow Copy service. If this service is stopped, software-based volume shadow copies cannot be managed. If this service is disabled, any services that explicitly depend on it will fail to start. Manual Local System
Net Logon Maintains a secure channel between this computer and the domain controller for authenticating users and services. If this service is stopped, the computer may not authenticate users and services and the domain controller cannot register DNS records. If this service is disabled, any services that explicitly depend on it will fail to start. Started Automatic Local System
Net.Tcp Port Sharing Service Provides ability to share TCP ports over the net.tcp protocol. Started Automatic Local Service
NetMeeting Remote Desktop Sharing Enables an authorized user to access this computer remotely by using NetMeeting over a corporate intranet. If this service is stopped, remote desktop sharing will be unavailable. If this service is disabled, any services that explicitly depend on it will fail to start. Disabled Local System
Network Connections Manages objects in the Network and Dial-Up Connections folder, in which you can view both local area network and remote connections. If this service is disabled, you will not be able to view local area network and remote connections and any services that explicitly depend on it will fail to start. Started Manual Local System
Network DDE Provides network transport and security for Dynamic Data Exchange (DDE) for programs running on the same computer or on different computers. If this service is stopped, DDE transport and security will be unavailable. If this service is disabled, any services that explicitly depend on it will fail to start. Disabled Local System
Network DDE DSDM Manages Dynamic Data Exchange (DDE) network shares. If this service is stopped, DDE network shares will be unavailable. If this service is disabled, any services that explicitly depend on it will fail to start. Disabled Local System
Network Location Awareness (NLA) Collects and stores network configuration and location information, and notifies applications when this information changes. Started Manual Local System
Network Provisioning Service Manages XML configuration files on a domain basis for automatic network provisioning. Manual Local System
NT LM Security Support Provider Provides security to remote procedure call (RPC) programs that use transports other than named pipes. Manual Local System
OracleMTSRecoveryService Manual Local System
OracleOraHome92Agent Manual Local System
OracleOraHome92ClientCache Manual Local System
OracleOraHome92HTTPServer Manual Local System
OracleOraHome92PagingServer Manual Local System
OracleOraHome92SNMPPeerEncapsulator Manual Local System
OracleOraHome92SNMPPeerMasterAgent Manual Local System
OracleOraHome92TNSListener Disabled Local System
OracleOraHome92TNSListenerORA9ILSTNR Disabled Local System
OracleServiceIDB Disabled Local System
PatrolAgent Started Automatic Local System
Performance Logs and Alerts Collects performance data from local or remote computers based on preconfigured schedule parameters, then writes the data to a log or triggers an alert. If this service is stopped, performance information will not be collected. If this service is disabled, any services that explicitly depend on it will fail to start. Automatic Network Service
Plug and Play Enables a computer to recognize and adapt to hardware changes with little or no user input. Stopping or disabling this service will result in system instability. Started Automatic Local System
Portable Media Serial Number Service Retrieves the serial number of any portable media player connected to this computer. If this service is stopped, protected content might not be down loaded to the device. Manual Local System
PowerChute Network Shutdown Group 1 Reliable network based shutdown of multiple servers. Started Automatic Local System
Print Spooler Manages all local and network print queues and controls all printing jobs. If this service is stopped, printing on the local machine will be unavailable. If this service is disabled, any services that explicitly depend on it will fail to start. Disabled Local System
Protected Storage Protects storage of sensitive information, such as private keys, and prevents access by unauthorized services, processes, or users. If this service is stopped, protected storage will be unavailable. If this service is disabled, any services that explicitly depend on it will fail to start. Started Automatic Local System
Remote Access Auto Connection Manager Creates a connection to a remote network whenever a program references a remote DNS or NetBIOS name or address. Disabled Local System
Remote Access Connection Manager Creates a network connection. Manual Local System
Remote Desktop Help Session Manager Manages and controls Remote Assistance. If this service is stopped, Remote Assistance will be unavailable. Before stopping this service, see the Dependencies tab of the Properties dialog box. Disabled Local System
Remote Procedure Call (RPC) Serves as the endpoint mapper and COM Service Control Manager. If this service is stopped or disabled, programs using COM or Remote Procedure Call (RPC) services will not function properly. Started Automatic Network Service
Remote Procedure Call (RPC) Locator Enables remote procedure call (RPC) clients using the RpcNs* family of APIs to locate RPC servers. If this service is stopped or disabled, RPC clients using RpcNs* APIs may be unable to locate servers or fail to start. RpcNs* APIs are not used internally in Windows. Manual Network Service
Remote Registry Enables remote users to modify registry settings on this computer. If this service is stopped, the registry can be modified only by users on this computer. If this service is disabled, any services that explicitly depend on it will fail to start. Disabled Local Service
Removable Storage Manages and catalogs removable media and operates automated removable media devices. If this service is stopped, programs that are dependent on Removable Storage, such as Backup and Remote Storage, will operate more slowly. If this service is disabled, any services that explicitly depend on it will fail to start. Manual Local System
Resultant Set of Policy Provider Enables a user to connect to a remote computer, access the Windows Management Instrumentation database for that computer, and either verify the current Group Policy settings made for the computer or check settings before they are applied. If this service is stopped, remote verification will be unavailable. If this service is disabled, any services that explicitly depend on it will fail to start. Manual Local System
Routing and Remote Access Offers routing services to businesses in local area and wide area network environments. Started Automatic Local System
Secondary Logon Enables starting processes under alternate credentials. If this service is stopped, this type of logon access will be unavailable. If this service is disabled, any services that explicitly depend on it will fail to start. Started Automatic Local System
Security Accounts Manager The startup of this service signals other services that the Security Accounts Manager (SAM) is ready to accept requests. Disabling this service will prevent other services in the system from being notified when the SAM is ready, which may in turn cause those services to fail to start correctly. This service should not be disabled. Started Automatic Local System
Server Supports file, print, and named-pipe sharing over the network for this computer. If this service is stopped, these functions will be unavailable. If this service is disabled, any services that explicitly depend on it will fail to start. Started Automatic Local System
Service Location Protocol Started Automatic Local System
Shell Hardware Detection Provides notifications for AutoPlay hardware events. Started Automatic Local System
Smart Card Manages access to smart cards read by this computer. If this service is stopped, this computer will be unable to read smart cards. If this service is disabled, any services that explicitly depend on it will fail to start. Manual Local Service
SnapDrive Manages and Monitors Network Appliance's SnapDrive Started Automatic SLANETAPP@sla.gov.sg
SnapDrive Management Service Manges SnapDrive in the local or the remote system Started Automatic SLANETAPP@sla.gov.sg
SNMP Service Enables Simple Network Management Protocol (SNMP) requests to be processed by this computer. If this service is stopped, the computer will be unable to process SNMP requests. If this service is disabled, any services that explicitly depend on it will fail to start. Started Manual Local System
SNMP Trap Service Receives trap messages generated by local or remote Simple Network Management Protocol (SNMP) agents and forwards the messages to SNMP management programs running on this computer. If this service is stopped, SNMP-based programs on this computer will not receive SNMP trap messages. If this service is disabled, any services that explicitly depend on it will fail to start. Manual Local Service
Special Administration Console Helper Allows administrators to remotely access a command prompt using Emergency Management Services. Manual Local System
Symantec Endpoint Protection Provides malware and threat protection for Symantec Endpoint Protection Started Automatic Local System
Symantec Management Client Provides communication with the Symantec Endpoint Protection Manager. It also provides network threat protection and application and device control for the client. Started Manual Local System
Symantec Network Access Control Checks that the computer complies with the defined security policy and communicates with the Symantec Enforcers to allow your computer to access the corporate network. Manual Local System
System Event Notification Monitors system events and notifies subscribers to COM+ Event System of these events. If this service is stopped, COM+ Event System subscribers will not receive system event notifications. If this service is disabled, any services that explicitly depend on it will fail to start. Started Automatic Local System
Task Scheduler Enables a user to configure and schedule automated tasks on this computer. If this service is stopped, these tasks will not be run at their scheduled times. If this service is disabled, any services that explicitly depend on it will fail to start. Started Automatic Local System
TCP/IP NetBIOS Helper Provides support for the NetBIOS over TCP/IP (NetBT) service and NetBIOS name resolution for clients on the network, therefore enabling users to share files, print, and log on to the network. If this service is stopped, these functions might be unavailable. If this service is disabled, any services that explicitly depend on it will fail to start. Started Automatic Local Service
Telephony Provides Telephony API (TAPI) support for clients using programs that control telephony devices and IP-based voice connections. If this service is stopped, the function of all dependent programs will be impaired. If this service is disabled, any services that explicitly depend on it will fail to start. Disabled Local System
Telnet Enables a remote user to log on to this computer and run programs, and supports various TCP/IP Telnet clients, including UNIX-based and Windows-based computers. If this service is stopped, remote user access to programs might be unavailable. If this service is disabled, any services that explicitly depend on it will fail to start. Disabled Local Service
Terminal Services Allows users to connect interactively to a remote computer. Remote Desktop, Fast User Switching, Remote Assistance, and Terminal Server depend on this service - stopping or disabling this service may make your computer unreliable. To prevent remote use of this computer, clear the checkboxes on the Remote tab of the System properties control panel item. Started Manual Local System
Terminal Services Session Directory Enables a user connection request to be routed to the appropriate terminal server in a cluster. If this service is stopped, connection requests will be routed to the first available server. Disabled Local System
Themes Provides user experience theme management. Disabled Local System
Uninterruptible Power Supply Manages an uninterruptible power supply (UPS) connected to the computer. Manual Local Service
Virtual Disk Service Provides software volume and hardware volume management service. Started Manual Local System
Volume Shadow Copy Manages and implements Volume Shadow Copies used for backup and other purposes. If this service is stopped, shadow copies will be unavailable for backup and the backup may fail. If this service is disabled, any services that explicitly depend on it will fail to start. Manual Local System
WebClient Enables Windows-based programs to create, access, and modify Internet-based files. If this service is stopped, these functions will not be available. If this service is disabled, any services that explicitly depend on it will fail to start. Disabled Local Service
Windows Audio Manages audio devices for Windows-based programs. If this service is stopped, audio devices and effects will not function properly. If this service is disabled, any services that explicitly depend on it will fail to start. Disabled Local System
Windows CardSpace Securely enables the creation, management, and disclosure of digital identities. Manual Local System
Windows Firewall/Internet Connection Sharing (ICS) Provides network address translation, addressing, name resolution and/or intrusion prevention services for a home or small office network. Disabled Local System
Windows Image Acquisition (WIA) Provides image acquisition services for scanners and cameras. Disabled Local Service
Windows Installer Adds, modifies, and removes applications provided as a Windows Installer (*.msi) package. If this service is disabled, any services that explicitly depend on it will fail to start. Manual Local System
Windows Management Instrumentation Provides a common interface and object model to access management information about operating system, devices, applications and services. If this service is stopped, most Windows-based software will not function properly. If this service is disabled, any services that explicitly depend on it will fail to start. Started Automatic Local System
Windows Management Instrumentation Driver Extensions Monitors all drivers and event trace providers that are configured to publish Windows Management Instrumentation (WMI) or event trace information. If this service is disabled, any services that explicitly depend on it will fail to start. Manual Local System
Windows Presentation Foundation Font Cache 3.0.0.0 Optimizes performance of Windows Presentation Foundation (WPF) applications by caching commonly used font data. WPF applications will start this service if it is not already running. It can be disabled, though doing so will degrade the performance of WPF applications. Manual Local Service
Windows Time Maintains date and time synchronization on all clients and servers in the network. If this service is stopped, date and time synchronization will be unavailable. If this service is disabled, any services that explicitly depend on it will fail to start.
Started Automatic Local Service
Windows User Mode Driver Framework Enables Windows user mode drivers. Manual Local Service
WinHTTP Web Proxy Auto-Discovery Service Implements the Web Proxy Auto-Discovery (WPAD) protocol for Windows HTTP Services (WinHTTP). WPAD is a protocol to enable an HTTP client to automatically discover a proxy configuration. If this service is stopped or disabled, the WPAD protocol will be executed within the HTTP client's process instead of an external service process; there would be no loss of functionality as a result. Manual Local Service
Wireless Configuration Enables automatic configuration for IEEE 802.11 adapters. If this service is stopped, automatic configuration will be unavailable. If this service is disabled, any services that explicitly depend on it will fail to start. Disabled Local System
WMI Performance Adapter Provides performance library information from Windows Management Instrumentation (WMI) providers to clients on the network. This service only runs when Performance Data Helper is activated. Manual Local System
Workstation Creates and maintains client network connections to remote servers. If this service is stopped, these connections will be unavailable. If this service is disabled, any services that explicitly depend on it will fail to start. Started Automatic Local System
Code:
fileset='Audit_ntsla19 /dev/null'
echo '<table border='1'>'
echo '<tr><td>4.1.1</td><td>'
grep -ia 'Alerter' $fileset | awk -F '\t' '{print substr($1,1,index($1,":")) $4 "<br>"}' ; echo '</td></tr>'
echo '<tr><td>4.1.2 </td><td>'
grep -ia 'Client Services for Netware' $fileset | awk -F '\t' '{print substr($1,1,index($1,":")) $4 "<br>"}' ; echo '</td></tr>'
echo '<tr><td>4.1.3 </td><td>'
grep -ia 'Clipbook' $fileset | awk -F '\t' '{print substr($1,1,index($1,":")) $4 "<br>"}' ; echo '</td></tr>'
echo '<tr><td>4.1.4 </td><td>'
grep -ia 'Fax Service' $fileset | awk -F '\t' '{print substr($1,1,index($1,":")) $4 "<br>"}' ; echo '</td></tr>'
echo '<tr><td>4.1.5 </td><td>'
grep -ia 'File Replication' $fileset | awk -F '\t' '{print substr($1,1,index($1,":")) $4 "<br>"}' ; echo '</td></tr>'
echo '<tr><td>4.1.6 </td><td>'
grep -ia 'File Services for Macintosh' $fileset | awk -F '\t' '{print substr($1,1,index($1,":")) $4 "<br>"}' ; echo '</td></tr>'
echo '<tr><td>4.1.7 </td><td>'
grep -ia 'FTP Publishing Service' $fileset | awk -F '\t' '{print substr($1,1,index($1,":")) $4 "<br>"}' ; echo '</td></tr>'
echo '<tr><td>4.1.8 </td><td>'
grep -ia 'Help and Support' $fileset | awk -F '\t' '{print substr($1,1,index($1,":")) $4 "<br>"}' ; echo '</td></tr>'
echo '<tr><td>4.1.9 </td><td>'
grep -ia 'HTTP SSL' $fileset | awk -F '\t' '{print substr($1,1,index($1,":")) $4 "<br>"}' ; echo '</td></tr>'
echo '<tr><td>4.1.10 </td><td>'
grep -ia 'IIS Admin Service' $fileset | awk -F '\t' '{print substr($1,1,index($1,":")) $4 "<br>"}' ; echo '</td></tr>'
echo '<tr><td>4.1.11 </td><td>'
grep -ia 'Indexing Service' $fileset | awk -F '\t' '{print substr($1,1,index($1,":")) $4 "<br>"}' ; echo '</td></tr>'
echo '<tr><td>4.1.12 </td><td>'
grep -ia 'License Logging Service' $fileset | awk -F '\t' '{print substr($1,1,index($1,":")) $4 "<br>"}' ; echo '</td></tr>'
echo '<tr><td>4.1.13 </td><td>'
grep -ia 'Messenger' $fileset | awk -F '\t' '{print substr($1,1,index($1,":")) $4 "<br>"}' ; echo '</td></tr>'
echo '<tr><td>4.1.14 </td><td>'
grep -ia 'Microsoft POP3 Service' $fileset | awk -F '\t' '{print substr($1,1,index($1,":")) $4 "<br>"}' ; echo '</td></tr>'
echo '<tr><td>4.1.15 </td><td>'
grep -ia 'NetMeeting Remote Desktop Sharing' $fileset | awk -F '\t' '{print substr($1,1,index($1,":")) $4 "<br>"}' ; echo '</td></tr>'
echo '<tr><td>4.1.16 </td><td>'
grep -ia 'Network Connections' $fileset | awk -F '\t' '{print substr($1,1,index($1,":")) $4 "<br>"}' ; echo '</td></tr>'
echo '<tr><td>4.1.17 </td><td>'
grep -ia 'Network News Transport Protocol (NNTP)' $fileset | awk -F '\t' '{print substr($1,1,index($1,":")) $4 "<br>"}' ; echo '</td></tr>'
echo '<tr><td>4.1.18 </td><td>'
grep -ia 'Print Server for Macintosh' $fileset | awk -F '\t' '{print substr($1,1,index($1,":")) $4 "<br>"}' ; echo '</td></tr>'
echo '<tr><td>4.1.19 </td><td>'
grep -ia 'Print Spooler' $fileset | awk -F '\t' '{print substr($1,1,index($1,":")) $4 "<br>"}' ; echo '</td></tr>'
echo '<tr><td>4.1.20 </td><td>'
grep -ia 'Remote Access Auto Connection Manager' $fileset | awk -F '\t' '{print substr($1,1,index($1,":")) $4 "<br>"}' ; echo '</td></tr>'
echo '<tr><td>4.1.21 </td><td>'
grep -ia 'Remote Access Connection Manager' $fileset | awk -F '\t' '{print substr($1,1,index($1,":")) $4 "<br>"}' ; echo '</td></tr>'
echo '<tr><td>4.1.22 </td><td>'
grep -ia 'Remote Administration Service' $fileset | awk -F '\t' '{print substr($1,1,index($1,":")) $4 "<br>"}' ; echo '</td></tr>'
echo '<tr><td>4.1.23 </td><td>'
grep -ia 'Remote Desktop Help Session Manager' $fileset | awk -F '\t' '{print substr($1,1,index($1,":")) $4 "<br>"}' ; echo '</td></tr>'
echo '<tr><td>4.1.24 </td><td>'
grep -ia 'Remote Installation' $fileset | awk -F '\t' '{print substr($1,1,index($1,":")) $4 "<br>"}' ; echo '</td></tr>'
echo '<tr><td>4.1.25 </td><td>'
grep -ia 'Remote Procedure Call (RPC) Locator' $fileset | awk -F '\t' '{print substr($1,1,index($1,":")) $4 "<br>"}' ; echo '</td></tr>'
echo '<tr><td>4.1.26 </td><td>'
grep -ia 'Remote Registry Service' $fileset | awk -F '\t' '{print substr($1,1,index($1,":")) $4 "<br>"}' ; echo '</td></tr>'
echo '<tr><td>4.1.27 </td><td>'
grep -ia 'Remote Server Manager' $fileset | awk -F '\t' '{print substr($1,1,index($1,":")) $4 "<br>"}' ; echo '</td></tr>'
echo '<tr><td>4.1.28 </td><td>'
grep -ia 'Remote Server Monitor' $fileset | awk -F '\t' '{print substr($1,1,index($1,":")) $4 "<br>"}' ; echo '</td></tr>'
echo '<tr><td>4.1.29 </td><td>'
grep -ia 'Remote Storage Notification' $fileset | awk -F '\t' '{print substr($1,1,index($1,":")) $4 "<br>"}' ; echo '</td></tr>'
echo '<tr><td>4.1.30 </td><td>'
grep -ia 'Remote Storage Server' $fileset | awk -F '\t' '{print substr($1,1,index($1,":")) $4 "<br>"}' ; echo '</td></tr>'
echo '<tr><td>4.1.31 </td><td>'
grep -ia 'Simple Mail Transfer Protocol (SMTP)' $fileset | awk -F '\t' '{print substr($1,1,index($1,":")) $4 "<br>"}' ; echo '</td></tr>'
echo '<tr><td>4.1.32 </td><td>'
grep -ia 'SNMP Service' $fileset | awk -F '\t' '{print substr($1,1,index($1,":")) $4 "<br>"}' ; echo '</td></tr>'
echo '<tr><td>4.1.33 </td><td>'
grep -ia 'SNMP Trap Service' $fileset | awk -F '\t' '{print substr($1,1,index($1,":")) $4 "<br>"}' ; echo '</td></tr>'
echo '<tr><td>4.1.34 </td><td>'
grep -ia 'Telephony' $fileset | awk -F '\t' '{print substr($1,1,index($1,":")) $4 "<br>"}' ; echo '</td></tr>'
echo '<tr><td>4.1.35 </td><td>'
grep -ia 'Telnet' $fileset | awk -F '\t' '{print substr($1,1,index($1,":")) $4 "<br>"}' ; echo '</td></tr>'
echo '<tr><td>4.1.36 </td><td>'
grep -ia 'Terminal Services' $fileset | awk -F '\t' '{print substr($1,1,index($1,":")) $4 "<br>"}' ; echo '</td></tr>'
echo '<tr><td>4.1.37 </td><td>'
grep -ia 'Trivial FTP Daemon' $fileset | awk -F '\t' '{print substr($1,1,index($1,":")) $4 "<br>"}' ; echo '</td></tr>'
echo '<tr><td>4.1.38 </td><td>'
grep -ia 'Volume Shadow Service' $fileset | awk -F '\t' '{print substr($1,1,index($1,":")) $4 "<br>"}' ; echo '</td></tr>'
echo '<tr><td>4.1.39 </td><td>'
grep -ia 'Wireless Configuration' $fileset | awk -F '\t' '{print substr($1,1,index($1,":")) $4 "<br>"}' ; echo '</td></tr>'
echo '<tr><td>4.1.40 </td><td>'
grep -ia 'Windows Media Server' $fileset | awk -F '\t' '{print substr($1,1,index($1,":")) $4 "<br>"}' ; echo '</td></tr>'
echo '<tr><td>4.1.41 </td><td>'
grep -ia 'World Wide Web Publishing' $fileset | awk -F '\t' '{print substr($1,1,index($1,":")) $4 "<br>"}' ; echo '</td></tr>'
echo '<tr><td>4.1.42 </td><td>'
grep -ia 'Data Execution Prevention' $fileset | awk -F '\t' '{print substr($1,1,index($1,":")) $4 "<br>"}' ; echo '</td></tr>'
echo '</table>'
So far what I have tried and it returns me:
Code:
<table border=1>
<tr><td>4.1.1</td><td>
Audit_ntsla19:Automatic<br>
Audit_ntsla19:Disabled<br>
</td></tr>
<tr><td>4.1.2 </td><td>
</td></tr>
<tr><td>4.1.3 </td><td>
Audit_ntsla19:Disabled<br>
</td></tr>
<tr><td>4.1.4 </td><td>
</td></tr>
<tr><td>4.1.5 </td><td>
Audit_ntsla19:Disabled<br>
</td></tr>
<tr><td>4.1.6 </td><td>
</td></tr>
<tr><td>4.1.7 </td><td>
</td></tr>
<tr><td>4.1.8 </td><td>
Audit_ntsla19:Automatic<br>
</td></tr>
<tr><td>4.1.9 </td><td>
Audit_ntsla19:Automatic<br>
</td></tr>
<tr><td>4.1.10 </td><td>
</td></tr>
<tr><td>4.1.11 </td><td>
Audit_ntsla19:Disabled<br>
</td></tr>
<tr><td>4.1.12 </td><td>
</td></tr>
<tr><td>4.1.13 </td><td>
Audit_ntsla19:Disabled<br>
</td></tr>
<tr><td>4.1.14 </td><td>
</td></tr>
<tr><td>4.1.15 </td><td>
Audit_ntsla19:Disabled<br>
</td></tr>
<tr><td>4.1.16 </td><td>
Audit_ntsla19:Manual<br>
Audit_ntsla19:Automatic<br>
</td></tr>
<tr><td>4.1.17 </td><td>
</td></tr>
<tr><td>4.1.18 </td><td>
</td></tr>
<tr><td>4.1.19 </td><td>
Audit_ntsla19:Disabled<br>
</td></tr>
<tr><td>4.1.20 </td><td>
Audit_ntsla19:Disabled<br>
</td></tr>
<tr><td>4.1.21 </td><td>
Audit_ntsla19:Manual<br>
</td></tr>
<tr><td>4.1.22 </td><td>
</td></tr>
<tr><td>4.1.23 </td><td>
Audit_ntsla19:Disabled<br>
</td></tr>
<tr><td>4.1.24 </td><td>
</td></tr>
<tr><td>4.1.25 </td><td>
Audit_ntsla19:Manual<br>
</td></tr>
<tr><td>4.1.26 </td><td>
</td></tr>
<tr><td>4.1.27 </td><td>
</td></tr>
<tr><td>4.1.28 </td><td>
</td></tr>
<tr><td>4.1.29 </td><td>
</td></tr>
<tr><td>4.1.30 </td><td>
</td></tr>
<tr><td>4.1.31 </td><td>
</td></tr>
<tr><td>4.1.32 </td><td>
Audit_ntsla19:Manual<br>
</td></tr>
<tr><td>4.1.33 </td><td>
Audit_ntsla19:Manual<br>
</td></tr>
<tr><td>4.1.34 </td><td>
Audit_ntsla19:Disabled<br>
</td></tr>
<tr><td>4.1.35 </td><td>
Audit_ntsla19:Disabled<br>
</td></tr>
<tr><td>4.1.36 </td><td>
Audit_ntsla19:Manual<br>
Audit_ntsla19:Disabled<br>
</td></tr>
<tr><td>4.1.37 </td><td>
</td></tr>
<tr><td>4.1.38 </td><td>
</td></tr>
<tr><td>4.1.39 </td><td>
Audit_ntsla19:Disabled<br>
</td></tr>
<tr><td>4.1.40 </td><td>
</td></tr>
<tr><td>4.1.41 </td><td>
</td></tr>
<tr><td>4.1.42 </td><td>
</td></tr>
</table>
- Parse through the entire checklist and check if the 2nd parameter match with any of the settings in the client output and return the 2nd last column,
- Spot an exact match, for example, it will only look through 'Alerter' on the first column, it will look check exactly if it is 'Alerter' with no other words
- Misspelling - Sometimes 'Alerter' in the checklist can be spelled as 'alerter' or 'alert'