background preloader

Cheat Sheets

Facebook Twitter

Cheat Sheet : All Cheat Sheets in one page. Cheat Sheets & Quick Reference Cards for Developers | DevCheatSheet.com. DPM 2010 datasheets - All Backed Up. PowerShell Tutorial - Variables, Arrays, and Hashes | PowerShell Pro! PowerShell Tutorial 7: Accumulate, Recall, and Modify Data In this PowerShell training session we are going to discuss storing, retrieving, and manipulating data within PowerShell. PowerShell enables us to store information using the following methods: Variables – allows us to store single bits of information.Arrays – allows us to store information in an index.Hash Table – allows us to store in key-value pairs. Launch PowerShell and let’s get started… PowerShell Variables Think of a variable as an imaginary box where we store information.

Two basic uses of variables are: Store information that will be later utilized within a script.Store information that is a result of running a script. In PowerShell, variables can contain text strings, integers, and even objects (complete with properties and methods). Special Variable Examples $_ – Contains the current pipeline object, used in script blocks, filters, and the where statement. Get-Help about_automatic_variables<enter> -or just type- image 7.0. SharePoint2010PowerShell.