Day 8 of learning PowerShell
On day 8 of my PowerShell learning journey, I learned about objects or some might say/think PSObject. Below are some of my takeaway notes. Feel free to use them at your leisure.
My notes
Identify a cmdlet that produces a random number.
Identify a cmdlet that displays the current date and time.
Use cmdlet above to display on the current day of the week.
Identify a cmdlet that displays information about installed hotfixes on Windows Systems.
Using the cmdlet above display a list of installed hotfixes. Then extend the expression to sort the list by installation date, and display only the installation date, the user who installed the hotfix, and the hotfix ID.
Using the above cmdlet, sort by hotfix description and include the description, the hotfixID, and the installation date. Put results into an HTML file.
Display a list of the 50 newest entries from the Security Event log. Sort the list with the oldest entries appearing first, and with entries made at the same time sorted by there index. Display the index, time, and source for each entry. Output to a text file.