event-viewer

Windows 7 – Event logs

Location of the event logs: c:\Windows\System32\winevt\Logs Application.evtx HardwareEvents.evtx Internet Explorer.evtx Key Management Service.evtx Media Center.evtx Microsoft-Windows-Application-Experience%4Problem-Steps-Recorder.evtx Microsoft-Windows-Application-Experience%4Program-Compatibility-Assistant.evtx Microsoft-Windows-Application-Experience%4Program-Compatibility-Troubleshooter.evtx Microsoft-Windows-Application-Experience%4Program-Inventory.evtx Microsoft-Windows-Application-Experience%4Program-Telemetry.evtx Microsoft-Windows-Audio%4CaptureMonitor.evtx Microsoft-Windows-Audio%4Operational.evtx Microsoft-Windows-Bits-Client%4Operational.evtx Microsoft-Windows-BranchCacheSMB%4Operational.evtx Microsoft-Windows-CodeIntegrity%4Operational.evtx Microsoft-Windows-Dhcp-Client%4Admin.evtx Microsoft-Windows-Dhcpv6-Client%4Admin.evtx Microsoft-Windows-Diagnosis-DPS%4Operational.evtx Microsoft-Windows-Diagnosis-PLA%4Operational.evtx Microsoft-Windows-Diagnosis-Scheduled%4Operational.evtx Microsoft-Windows-Diagnosis-Scripted%4Admin.evtx Microsoft-Windows-Diagnosis-Scripted%4Operational.evtx Microsoft-Windows-Diagnosis-ScriptedDiagnosticsProvider%4Operational.evtx Microsoft-Windows-Diagnostics-Performance%4Operational.evtx Microsoft-Windows-DiskDiagnosticDataCollector%4Operational.evtx Microsoft-Windows-DriverFrameworks-UserMode%4Operational.evtx Microsoft-Windows-Fault-Tolerant-Heap%4Operational.evtx Microsoft-Windows-GroupPolicy%4Operational.evtx Microsoft-Windows-Help%4Operational.evtx Microsoft-Windows-HomeGroup Provider Service%4Operational.evtx Microsoft-Windows-International%4Operational.evtx Microsoft-Windows-Kernel-EventTracing%4Admin.evtx Microsoft-Windows-Kernel-Power%4Thermal-Operational.evtx Microsoft-Windows-Kernel-StoreMgr%4Operational.evtx Microsoft-Windows-Kernel-WHEA%4Errors.evtx Microsoft-Windows-Kernel-WHEA%4Operational.evtx Microsoft-Windows-Known Folders API Service.evtx Microsoft-Windows-LanguagePackSetup%4Operational.evtx Microsoft-Windows-MUI%4Admin.evtx Microsoft-Windows-MUI%4Operational.evtx…

apache

Apache 2

Exception on a web folder <Location “/timeline”> <Limit GET> Order deny,allow Allow from all Require valid-user Satisfy any </Limit> </Location>   Restart Apache2 on a RedHat system # /usr/local/apache2/bin/httpd -f /usr/local/apache2/conf/httpd.conf -k restart Apache2 – SSL – Put a website on HTTPS You must have certificates previously created in order to have an https website.…

nfs

NFS

Installation of NFS (server side) System Requirements & Prerequisites On our server (IP :10.10.13.58), we define a place (a folder) which will be reserved for NFS. In our case, the whole /backup directory is reserved for NFS. We plan to have several shared folders, one by server. So, in order to do that, we create…

log-rotate

Logrotate

Logrotate is a tool is a tool installed by default on linux distributions. It rotates logs automatically but it also compresses or transfers its. It could also suppress obsoletes files. It main config file is: /etc/logrotate.conf If we want to add log files to be rotate automatically by logrotate, we must type some lines of…

Exchange Management Shell

Exchange Management Shell – Distribution Group

Here, you can find some commands for the Exchange Management Shell, in order to monitor your distribution lists. Retrieve all the members of a specific Distribution List For retrieving all the members of a specific Distribution list, we execute the following comamnd: Get-DistributionGroupMember -Identity “EnterDLNameHere” | Get-Mailbox | ft DisplayName,PrimarySMTPAddress   Result: [PS] C:\>Get-DistributionGroupMember -Identity…

netstat_ano

Netstat

C:\Users\firstname.lastname>netstat –help Displays protocol statistics and current TCP/IP network connections. NETSTAT [-a] [-b] [-e] [-f] [-n] [-o] [-p proto] [-r] [-s] [-t] [interval] -a Displays all connections and listening ports. -b Displays the executable involved in creating each connection or listening port. In some cases well-known executables host multiple independent components, and in these cases…