Jonathan Medd's Powershell 2.0 One Cmdlet at a time: Difference between revisions

From VI-Toolkit
Jump to navigation Jump to search
(Jonathan Medd is still going strong with his One Cmdlet at a time series, added the 11 next Cmdlet's!!! he documented to this page here. Very impressive reading!)
(Reordered Jonathan's Medds "One cmdlet at a time series" into a more logical ordering)
 
(4 intermediate revisions by the same user not shown)
Line 8: Line 8:
As a final teaser he also explains how you could do a similar thing with Powershell 1.0
As a final teaser he also explains how you could do a similar thing with Powershell 1.0


Very nicely done Jonathan, keep up the good work!
Very nicely done Jonathan, keep up the good work! His list is -at the time of writing- almost 100 Cmdlets, VERY impressive!


* [http://www.jonathanmedd.net/2009/11/powershell-2-0-one-cmdlet-at-a-time-1-get-random.html Get-Random]
* [http://www.jonathanmedd.net/2009/11/powershell-2-0-one-cmdlet-at-a-time-1-get-random.html Get-Random]
Line 22: Line 22:
* [http://www.jonathanmedd.net/2009/11/powershell-2-0-one-cmdlet-at-a-time-6-test-connection.html Test-Connection]
* [http://www.jonathanmedd.net/2009/11/powershell-2-0-one-cmdlet-at-a-time-6-test-connection.html Test-Connection]


* [http://www.jonathanmedd.net/2009/11/powershell-2-0-one-cmdlet-at-a-time-7-reset-computermachinepassword.html Reset-ComputerMachinePassword]
* [http://www.jonathanmedd.net/2009/12/powershell-2-0-one-cmdlet-at-a-time-14-start-process.html Start-Process]
 
* [http://www.jonathanmedd.net/2009/12/powershell-2-0-one-cmdlet-at-a-time-21-select-xml.html Select-Xml]
 
* [http://www.jonathanmedd.net/2009/12/powershell-2-0-one-cmdlet-at-a-time-26-new-webserviceproxy.html New-WebServiceProxy]
 
* [http://www.jonathanmedd.net/2009/12/powershell-2-0-one-cmdlet-at-a-time-27-test-computersecurechannel.html Test-ComputerSecureChannel]
 
* [http://www.jonathanmedd.net/2010/01/powershell-2-0-one-cmdlet-at-a-time-28-export-counter.html Export-Counter]
 
* [http://www.jonathanmedd.net/2010/01/powershell-2-0-one-cmdlet-at-a-time-29-import-counter.html Import-Counter]
 
* [http://www.jonathanmedd.net/2010/01/powershell-2-0-one-cmdlet-at-a-time-30-enable-psremoting.html Enable-PSRemoting]
 
==== Jobs ====
 
* [http://www.jonathanmedd.net/2009/12/powershell-2-0-one-cmdlet-at-a-time-15-start-job.html Start-Job]
 
* [http://www.jonathanmedd.net/2009/12/powershell-2-0-one-cmdlet-at-a-time-16-get-job.html Get-Job]
 
* [http://www.jonathanmedd.net/2009/12/powershell-2-0-one-cmdlet-at-a-time-17-receive-job.html Receive-Job]
 
* [http://www.jonathanmedd.net/2009/12/powershell-2-0-one-cmdlet-at-a-time-18-remove-job.html Remove-Job]
 
* [http://www.jonathanmedd.net/2009/12/powershell-2-0-one-cmdlet-at-a-time-19-stop-job.html Stop-Job]
 
* [http://www.jonathanmedd.net/2009/12/powershell-2-0-one-cmdlet-at-a-time-20-wait-job.html Wait-Job]
 
==== Sessions ====
 
* [http://www.jonathanmedd.net/2010/01/powershell-2-0-one-cmdlet-at-a-time-31-enter-pssession.html Enter-PSSession]
 
* [http://www.jonathanmedd.net/2010/01/powershell-2-0-one-cmdlet-at-a-time-32-exit-pssession.html Exit-PSSession]
 
* [http://www.jonathanmedd.net/2010/01/powershell-2-0-one-cmdlet-at-a-time-33-new-pssession.html New-PSSession]
 
* [http://www.jonathanmedd.net/2010/01/powershell-2-0-one-cmdlet-at-a-time-34-invoke-commmand.html Invoke-Command]
 
* [http://www.jonathanmedd.net/2010/01/powershell-2-0-one-cmdlet-at-a-time-35-new-pssessionoption.html New-PSSessionOption]
 
* [http://www.jonathanmedd.net/2010/01/powershell-2-0-one-cmdlet-at-a-time-36-get-pssession.html Get-PSSession]
 
* [http://www.jonathanmedd.net/2010/01/powershell-2-0-one-cmdlet-at-a-time-37-remove-pssession.html Remove-PSSession]
 
* [http://www.jonathanmedd.net/2010/01/powershell-2-0-one-cmdlet-at-a-time-38-get-pssessionconfiguration.html Get-PSSessionConfiguration]
 
* [http://www.jonathanmedd.net/2010/01/powershell-2-0-one-cmdlet-at-a-time-39-register-pssessionconfiguration.html Register-PSSessionConfiguration]
 
* [http://www.jonathanmedd.net/2010/01/powershell-2-0-one-cmdlet-at-a-time-40-set-pssessionconfiguration.html Set-PSSessionConfiguration]
 
* [http://www.jonathanmedd.net/2010/01/powershell-2-0-one-cmdlet-at-a-time-41-disable-pssessionconfiguration.html Disable-PSSessionConfiguration]
 
* [http://www.jonathanmedd.net/2010/01/powershell-2-0-one-cmdlet-at-a-time-42-enable-pssessionconfiguration.html Enable-PSSessionConfiguration]
 
* [http://www.jonathanmedd.net/2010/01/powershell-2-0-one-cmdlet-at-a-time-43-unregister-pssessionconfiguration.html Unregister-PSSessionConfiguration]
 
* [http://www.jonathanmedd.net/2010/01/powershell-2-0-one-cmdlet-at-a-time-44-set-wsmanquickconfig.html Set-WSManQuickConfig]
 
* [http://www.jonathanmedd.net/2010/01/powershell-2-0-one-cmdlet-at-a-time-45-connect-wsman.html Connect-WSMan]
 
* [http://www.jonathanmedd.net/2010/01/powershell-2-0-one-cmdlet-at-a-time-46-test-wsman.html Test-WSMan]
 
* [http://www.jonathanmedd.net/2010/01/powershell-2-0-one-cmdlet-at-a-time-47-invoke-wsmanaction.html Invoke-WSManAction]
 
* [http://www.jonathanmedd.net/2010/01/powershell-2-0-one-cmdlet-at-a-time-48-get-wsmaninstance.html Get-WSManInstance]
 
* [http://www.jonathanmedd.net/2010/01/powershell-2-0-one-cmdlet-at-a-time-49-new-wsmaninstance.html New-WSManInstance]
 
* [http://www.jonathanmedd.net/2010/01/powershell-2-0-one-cmdlet-at-a-time-50-set-wsmaninstance.html Set-WSManInstance]
 
* [http://www.jonathanmedd.net/2010/02/powershell-2-0-one-cmdlet-at-a-time-51-remove-wsmaninstance.html Remove-WSManInstance]
 
* [http://www.jonathanmedd.net/2010/02/powershell-2-0-one-cmdlet-at-a-time-52-new-wsmansessionoption.html New-WSManSessionOption]
 
* [http://www.jonathanmedd.net/2010/02/powershell-2-0-one-cmdlet-at-a-time-53-enable-wsmancredssp.html Enable-WSManCredSSP]
 
* [http://www.jonathanmedd.net/2010/02/powershell-2-0-one-cmdlet-at-a-time-54-get-wsmancredssp.html Get-WSManCredSSP]
 
* [http://www.jonathanmedd.net/2010/02/powershell-2-0-one-cmdlet-at-a-time-55-disable-wsmancredssp.html Disable-WSManCredSSP]
 
* [http://www.jonathanmedd.net/2010/02/powershell-2-0-one-cmdlet-at-a-time-56-disconnect-wsman.html Disconnect-WSMan]
 
* [http://www.jonathanmedd.net/2010/02/powershell-2-0-one-cmdlet-at-a-time-57-import-pssession.html Import-PSSession]
 
* [http://www.jonathanmedd.net/2010/02/powershell-2-0-one-cmdlet-at-a-time-58-export-pssession.html Export-PSSession]
 
==== Breakpoints ====
 
* [http://www.jonathanmedd.net/2010/02/powershell-2-0-one-cmdlet-at-a-time-59-set-psbreakpoint.html Set-PSBreakpoint]
 
* [http://www.jonathanmedd.net/2010/02/powershell-2-0-one-cmdlet-at-a-time-60-get-psbreakpoint.html Get-PSBreakpoint]
 
* [http://www.jonathanmedd.net/2010/02/powershell-2-0-one-cmdlet-at-a-time-61-disable-psbreakpoint.html Disable-PSBreakpoint]
 
* [http://www.jonathanmedd.net/2010/02/powershell-2-0-one-cmdlet-at-a-time-62-enable-psbreakpoint.html Enable-PSBreakpoint]
 
* [http://www.jonathanmedd.net/2010/02/powershell-2-0-one-cmdlet-at-a-time-63-remove-psbreakpoint.html Remove-PSBreakpoint]
 
==== Eventlog ====
 
* [http://www.jonathanmedd.net/2009/12/powershell-2-0-one-cmdlet-at-a-time-12-write-eventlog.html Write-EventLog]
 
* [http://www.jonathanmedd.net/2009/12/powershell-2-0-one-cmdlet-at-a-time-13-clear-eventlog.html Clear-EventLog]
 
* [http://www.jonathanmedd.net/2010/02/powershell-2-0-one-cmdlet-at-a-time-64-clear-history.html Clear-History]
 
* [http://www.jonathanmedd.net/2010/02/powershell-2-0-one-cmdlet-at-a-time-65-new-eventlog.html New-EventLog]
 
* [http://www.jonathanmedd.net/2010/02/powershell-2-0-one-cmdlet-at-a-time-66-limit-eventlog.html Limit-EventLog]
 
* [http://www.jonathanmedd.net/2010/02/powershell-2-0-one-cmdlet-at-a-time-67-remove-eventlog.html Remove-EventLog]
 
* [http://www.jonathanmedd.net/2010/02/powershell-2-0-one-cmdlet-at-a-time-68-show-eventlog.html Show-EventLog]
 
* [http://www.jonathanmedd.net/2010/03/powershell-2-0-one-cmdlet-at-a-time-69-get-winevent.html Get-WinEvent]
 
==== Modules ====


* [http://www.jonathanmedd.net/2009/11/powershell-2-0-one-cmdlet-at-a-time-8-get-module.html Get-Module]
* [http://www.jonathanmedd.net/2009/11/powershell-2-0-one-cmdlet-at-a-time-8-get-module.html Get-Module]
* [http://www.jonathanmedd.net/2010/03/powershell-2-0-one-cmdlet-at-a-time-70-import-module.html Import-Module]
* [http://www.jonathanmedd.net/2010/03/powershell-2-0-one-cmdlet-at-a-time-71-new-module.html New-Module]
* [http://www.jonathanmedd.net/2010/03/powershell-2-0-one-cmdlet-at-a-time-72-export-modulemember.html Export-ModuleMember]
* [http://www.jonathanmedd.net/2010/03/powershell-2-0-one-cmdlet-at-a-time-73-new-modulemanifest.html New-ModuleManifest]
* [http://www.jonathanmedd.net/2010/03/powershell-2-0-one-cmdlet-at-a-time-74-test-modulemanifest.html Test-ModuleManifest]
* [http://www.jonathanmedd.net/2010/03/powershell-2-0-one-cmdlet-at-a-time-75-remove-module.html Remove-Module]
==== Computer ====
* [http://www.jonathanmedd.net/2009/11/powershell-2-0-one-cmdlet-at-a-time-7-reset-computermachinepassword.html Reset-ComputerMachinePassword]


* [http://www.jonathanmedd.net/2009/11/powershell-2-0-one-cmdlet-at-a-time-9-checkpoint-compute.html Checkpoint-Computer]
* [http://www.jonathanmedd.net/2009/11/powershell-2-0-one-cmdlet-at-a-time-9-checkpoint-compute.html Checkpoint-Computer]
Line 32: Line 164:
* [http://www.jonathanmedd.net/2009/12/powershell-2-0-one-cmdlet-at-a-time-11-add-computer.html Add-Computer]
* [http://www.jonathanmedd.net/2009/12/powershell-2-0-one-cmdlet-at-a-time-11-add-computer.html Add-Computer]


* [http://www.jonathanmedd.net/2009/12/powershell-2-0-one-cmdlet-at-a-time-12-write-eventlog.html Write-EventLog]
* [http://www.jonathanmedd.net/2009/12/powershell-2-0-one-cmdlet-at-a-time-22-enable-computerrestore.html Enable-ComputerRestore]
 
* [http://www.jonathanmedd.net/2009/12/powershell-2-0-one-cmdlet-at-a-time-23-disable-computerrestore.html Disable-ComputerRestore]
 
* [http://www.jonathanmedd.net/2009/12/powershell-2-0-one-cmdlet-at-a-time-24-get-computerrestorepoint.html Get-ComputerRestorePoint]
 
* [http://www.jonathanmedd.net/2009/12/powershell-2-0-one-cmdlet-at-a-time-25-restore-computer.html Restore-Computer]
 
* [http://www.jonathanmedd.net/2010/03/powershell-2-0-one-cmdlet-at-a-time-76-stop-computer.html Stop-Computer]
 
* [http://www.jonathanmedd.net/2010/03/powershell-2-0-one-cmdlet-at-a-time-77-remove-computer.html Remove-Computer]
 
==== Transactions ====
 
* [http://www.jonathanmedd.net/2010/03/powershell-2-0-one-cmdlet-at-a-time-78-start-transaction.html Start-Transaction]
 
* [http://www.jonathanmedd.net/2010/03/powershell-2-0-one-cmdlet-at-a-time-79-complete-transaction.html Complete-Transaction]
 
* [http://www.jonathanmedd.net/2010/03/powershell-2-0-one-cmdlet-at-a-time-80-get-transaction.html Get-Transaction]
 
* [http://www.jonathanmedd.net/2010/03/powershell-2-0-one-cmdlet-at-a-time-81-undo-transaction.html Undo-Transaction]
 
* [http://www.jonathanmedd.net/2010/03/powershell-2-0-one-cmdlet-at-a-time-82-use-transaction.html Use-Transaction]
 
==== Converting and formatting data ====
 
* [http://www.jonathanmedd.net/2010/03/powershell-2-0-one-cmdlet-at-a-time-83-convertto-csv.html ConvertTo-CSV]
 
* [http://www.jonathanmedd.net/2010/03/powershell-2-0-one-cmdlet-at-a-time-84-convertfrom-csv.html ConvertFrom-CSV]
 
* [http://www.jonathanmedd.net/2010/03/powershell-2-0-one-cmdlet-at-a-time-85-convertfrom-stringdata.html ConvertFrom-StringData]
 
* [http://www.jonathanmedd.net/2010/04/powershell-2-0-one-cmdlet-at-a-time-86-convertto-xml.html ConvertTo-XML]
 
* [http://www.jonathanmedd.net/2010/04/powershell-2-0-one-cmdlet-at-a-time-87-get-formatdata.html Get-FormatData]
 
* [http://www.jonathanmedd.net/2010/04/powershell-2-0-one-cmdlet-at-a-time-88-export-formatdata.html Export-FormatData]
 
==== WMI Methods ====
 
* [http://www.jonathanmedd.net/2010/04/powershell-2-0-one-cmdlet-at-a-time-89-invoke-wmimethod.html Invoke-WMIMethod]
 
* [http://www.jonathanmedd.net/2010/04/powershell-2-0-one-cmdlet-at-a-time-90-remove-wmiobject.html Remove-WMIMethod]
 
* [http://www.jonathanmedd.net/2010/04/powershell-2-0-one-cmdlet-at-a-time-91-set-wmiinstance.html Set-WMIInstance]
 
* [http://www.jonathanmedd.net/2010/04/powershell-2-0-one-cmdlet-at-a-time-92-register-wmievent.html Register-WMIEvent]
 
==== Events ====
 
* [http://www.jonathanmedd.net/2010/04/powershell-2-0-one-cmdlet-at-a-time-93-register-objectevent.html Register-ObjectEvent]
 
* [http://www.jonathanmedd.net/2010/04/powershell-2-0-one-cmdlet-at-a-time-94-get-eventsubscriber.html Get-EventSubscriber]


* [http://www.jonathanmedd.net/2009/12/powershell-2-0-one-cmdlet-at-a-time-13-clear-eventlog.html Clear-EventLog]
* [http://www.jonathanmedd.net/2010/04/powershell-2-0-one-cmdlet-at-a-time-95-register-engine-event.html Register-Engine-Event]


* [http://www.jonathanmedd.net/2009/12/powershell-2-0-one-cmdlet-at-a-time-14-start-process.html Start-Process]
* [http://www.jonathanmedd.net/2010/05/powershell-2-0-one-cmdlet-at-a-time-96-new-event.html New-Event]


* [http://www.jonathanmedd.net/2009/12/powershell-2-0-one-cmdlet-at-a-time-15-start-job.html Start-Job]
* [http://www.jonathanmedd.net/2010/05/powershell-2-0-one-cmdlet-at-a-time-97-get-event.html Get-Event]


* [http://www.jonathanmedd.net/2009/12/powershell-2-0-one-cmdlet-at-a-time-16-get-job.html Get-Job]
* [http://www.jonathanmedd.net/2010/05/powershell-2-0-one-cmdlet-at-a-time-98-wait-event.html Wait-Event]


* [http://www.jonathanmedd.net/2009/12/powershell-2-0-one-cmdlet-at-a-time-17-receive-job.html Receive-Job]
* [http://www.jonathanmedd.net/2010/05/powershell-2-0-one-cmdlet-at-a-time-99-unregister-event.html Unregister-Event]


* [http://www.jonathanmedd.net/2009/12/powershell-2-0-one-cmdlet-at-a-time-18-remove-job.html Remove-Job]


[[Category: Powershell]]
[[Category: Powershell]]

Latest revision as of 12:55, 13 May 2010

Learning Powershell

Jonathan Medd is creating a powershell 2.0 guide where he explains cmdlet's one by one.

He call's it the Cmdlet series: Powershell 2.0: One Cmdlet at a Time

Per Cmdlet, he explains what it does and adds a nice example on how-to use the Cmdlet in real life. If there are any dependencies besides installing powershell 2.0, they are listed. As a final teaser he also explains how you could do a similar thing with Powershell 1.0

Very nicely done Jonathan, keep up the good work! His list is -at the time of writing- almost 100 Cmdlets, VERY impressive!

Jobs

Sessions

Breakpoints

Eventlog

Modules

Computer

Transactions

Converting and formatting data

WMI Methods

Events