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 Generate a HTML Report of Events from PowerShell

The ConvertTo-HTML command in PowerShell is used to convert PowerShell objects into HTML format for displaying the output in a web page or HTML file. The ConvertTo-HTML command generates an HTML table that contains the properties and values of the objects being converted. The syntax for the ConvertTo-HTML command is as follows:

ConvertTo-Html [[-Property] <Object[]>] [-As <String>] [-Body <String>] [-CSSUri <String>] [-Fragment] [-Head <String>] [-PostContent <String>] [-PreContent <String>] [-Title <String>] [-UseDefaultCSS] [<CommonParameters>]

Where:

  • -Property: Specifies the object properties to be included in the HTML table.
  • -As: Specifies the format of the output, which can be "Fragment" or "Page".
  • -Body: Specifies the HTML content to be inserted into the body section of the HTML document.
  • -CSSUri: Specifies the URL of the CSS file to be used for styling the HTML table.
  • -Fragment: Specifies whether to generate an HTML fragment or a full HTML page.
  • -Head: Specifies the HTML content to be inserted into the head section of the HTML document.
  • -PostContent: Specifies the HTML content to be inserted after the HTML table.
  • -PreContent: Specifies the HTML content to be inserted before the HTML table.
  • -Title: Specifies the title of the HTML document.
  • -UseDefaultCSS: Specifies whether to use the default CSS style sheet provided by PowerShell.

Here's an example of using the ConvertTo-HTML command. In PowerShell, type the command: Get-Process | ConvertTo-Html -Property Name,Id,WorkingSet -As Table -Head "<style>table {border-collapse: collapse;} th, td {border: 1px solid black; padding: 5px;}</style>"

In PowerShell, type the command: Get-Process | ConvertTo-Html -Property Name,Id,WorkingSet -As Table -Head "<style>table {border-collapse: collapse;} th, td {border: 1px solid black; padding: 5px;}</style>"

This will then generate an HTML file in table form like this:

This will then generate an HTML file in table form like this:


This HTML file can be further modified to present in your own ways.

 

Popular posts from this blog

Top international payment gateway transaction fee comparison (2024)

How to Manage Boot Configuration of Windows using CMD

What is Python Syntax and how to use?