Guest User

Untitled

a guest
Oct 24th, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. <# 1) Identify a cmdlet that produces a random number.#>
  2. Get-Random
  3.  
  4. <# 2) Identify a cmdlet that displays the current date and time#>
  5. Get-Date
  6.  
  7. <# 3) What type of object the cmdlet from Task 2 Produce#>
  8. TypeName: System.DateTime (get-date | Get-Member)
  9.  
  10. <# 4) Identify the cmdlet that displays information aboute installed hotfixes on windows#>
  11. Get-HotFix
  12.  
  13. <# 5) Display a list of 50 newest entried from security log#>
  14. Get-EventLog -LogName Security -Newest 50
Add Comment
Please, Sign In to add comment