Powershell notes: Difference between revisions

From Federal Burro of Information
Jump to navigationJump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:


  update-help
  update-help


  get-member - show all the stuff a cmtlst or object has. ( a cmdlet _is_ an object )
  get-member - show all the stuff a cmtlst or object has. ( a cmdlet _is_ an object )


  cmtlet | select * | - print all properties , including hidden ones.
  cmtlet | select * | - print all properties , including hidden ones.
Get-Module
last host fix was installed:
get-hotfix | sort InstalledOn | select -last 1

Latest revision as of 19:43, 17 May 2017


where object
update-help
get-member - show all the stuff a cmtlst or object has. ( a cmdlet _is_ an object )
cmtlet | select * | - print all properties , including hidden ones.
Get-Module

last host fix was installed:

get-hotfix | sort InstalledOn | select -last 1