Things to know before admitting your kids to school

Here are few things that you must know or take care of before admitting your kids to school. If you are not taking care of these things, you might be putting you children to wrong school, risking life. Only irresponsible parents do this mistake who all do not love their children or one who are not serious about their children or one who are uneducated. So, let me guide you to few thins that you need to take care of before admitting your children to school. 1. See if school is registered to local registerer (respective government). 2. Check the classroom, bathroom, playground, kitchen, it needs to be clean. 3. Sit in the classroom for 5 to 10 min., see how they lecture children. 4. Check the school fee, other fee, transportation fee, see if you can afford. 5. Check the food they fed to children, how many times, they give food to children. 6. Check the school duration, start and end time, usually for children 4 to 8 hours, see for how long your student can sit in class. 7. Ask for holida...

How to Fetch Event Log of Your Computer using PowerShell

The "Get-EventLog" command is a built-in cmdlet in Windows PowerShell that retrieves events and event logs from the local computer or a remote computer.

The syntax of the "Get-EventLog" command is: Get-EventLog [-LogName] <string> [-After <datetime>] [-Before <datetime>] [-InstanceId <int[]>] [-EntryType {Error | Information | FailureAudit | SuccessAudit | Warning}] [-Source <string[]>] [-Message <string>] [-Newest <int>] [-ComputerName <string[]>] [<CommonParameters>]


Where:

  • -LogName specifies the name of the event log to retrieve events from (e.g. "Application", "System", "Security", etc.).
  • -After and -Before specify the range of dates to retrieve events for.
  • -InstanceId specifies the event ID(s) to retrieve.
  • -EntryType specifies the type of event to retrieve (e.g. Error, Information, Warning, etc.).
  •  -Source specifies the event source(s) to retrieve.
  • -Message specifies the message text to search for.
  • -Newest specifies the number of most recent events to retrieve.
  • -ComputerName specifies the name of the remote computer to retrieve events from.


For example, to retrieve the 50 most recent events from the "Application" event log, you would enter: Get-EventLog -LogName Application -Newest 50


How to retrieve the 50 most recent events from the "Application" event log, you would enter: Get-EventLog -LogName Application -Newest 50


To retrieve all events from the "System" event log that occurred between January 1, 2022 and February 28, 2022, you would enter: Get-EventLog -LogName System -After "01/01/2022" -Before "02/28/2022"


How To retrieve all events from the "System" event log that occurred between January 1, 2022 and February 28, 2022, you would enter: Get-EventLog -LogName System -After "01/01/2022" -Before "02/28/2022"


The "Get-EventLog" command can be useful for troubleshooting and analyzing system and application issues on Windows computers. "Get-EventLog" command has been superseded by the "Get-WinEvent" command in PowerShell version 2.0 and later. The "Get-WinEvent" command provides additional functionality and performance improvements over the "Get-EventLog" command.

 

Popular posts from this blog

Top international payment gateway transaction fee comparison (2024)

How to Manage Boot Configuration of Windows using CMD

How to Get Inverse of a Matrix in Excel