Powershell – A Task-Based Guide to Windows PowerShell Cmdlets
Source: http://technet.microsoft.com/en-us/scriptcenter/dd772285.aspx
A Task-Based Guide to Windows PowerShell Cmdlets
Cmdlets are the heart-and-soul of Windows PowerShell, Microsoft’s latest command shell/scripting language. This series provides a task-based introduction to Windows PowerShell cmdlets: Rather than focusing on the individual cmdlets themselves, the emphasis is on the tasks you can carry out using those cmdlets. These tasks include everything from reading and writing text files to managing event logs to sorting and filtering data.
As is so often the case with Windows PowerShell, the code snippets found in these articles can either be included within a Windows PowerShell script or typed directly into the Windows PowerShell console.
Dates and TimesThese tasks include such things as retrieving the current date and time, and performing date arithmetic. Files and FoldersThese tasks include such things as creating, renaming, copying, and deleting files and folders. Help and InformationThese tasks include such things as listing Windows PowerShell version information and using the Get-Member cmdlet to retrieve property and method information for an object.
Saving and Importing DataThese tasks include such things as reading and writing to text files as well as saving data in HTML or XML format. Scripting TechniquesThese techniques include such things as sorting data, filtering data, and prompting a user to enter information. |
Security and Security DescriptorsThese tasks include such things as configuring the Windows PowerShell script execution policy and retrieving the digital signature or security descriptor from a file or folder. System Administration TasksThese tasks include such things as starting and stopping services, retrieving data using WMI, and managing event logs and event log events. Windows PowerShell AliasesThese tasks include such things as retrieving and remapping existing aliases as well as creating new aliases. Windows PowerShell SessionsThese tasks include such things as retrieving the Windows PowerShell history and re-invoking a command contained within that history. Scripts and ApplicationsThese tasks include such things as running scripts and/or applications as well as measuring how long it takes a Windows PowerShell task to complete. |