@@ -3,26 +3,30 @@ Sitecore PowerShell Extensions
33
44The Sitecore PowerShell Extensions module (SPE) provides a robust environment for automating tasks within Sitecore.
55
6- Consider some of the following examples of how SPE can improve your quality of life as a Sitecore developer/administrator:
6+ Consider some of the following examples to see how SPE can improve your quality of life as a Sitecore developer/administrator:
7+
78- Make changes to a large number of pages:
89``` powershell
910Get-ChildItem -Path master:\content\home -Recurse | % { $_.Text += "<p>Updated with SPE</p>" }
1011```
12+
1113- Find the oldest page on your site:
1214``` powershell
1315gci master:\content\home -Recurse | select Name,Id,"__Updated" | sort "__Updated"
1416```
17+
1518- Remove a file from the Data directory:
1619``` powershell
1720gci $SitecoreDataFolder\packages -Filter "readme.txt" | ri
1821```
22+
1923- Rename items in the Media Library:
2024``` powershell
2125gci "master:\media library\Images" | % { rni $_.ItemPath -NewName ($_.Name + "-old") }
2226```
2327
24- Note:
25- Aliases and positional parameters were used in the above examples
28+ ** Note:** Aliases and positional parameters were used in the above examples. Use * Get-Alias * to see them all.
29+
2630* gci = Get-ChildItem
2731* ri = Remove-Item
2832* rni = Rename-Item
@@ -35,15 +39,20 @@ If you have any questions, comments, or suggegstions with the SPE module, please
3539
3640Enjoy!
3741
38- [ Adam Najmanowicz] ( http://blog.najmanowicz.com/ ) - [ Cognifide] ( http://www.cognifide.com/ )
42+ [ Adam Najmanowicz] ( http://blog.najmanowicz.com/ ) - [ Cognifide] ( http://www.cognifide.com/ ) -and SPE Senior Developer
43+
44+ [ Michael West] ( http://michaellwest.blogspot.com ) - SPE Developer
45+
46+ [ Mike Reynolds] ( http://sitecorejunkie.com/ ) - SPE Evangelist
47+
48+ ---
3949
40- [ Michael West ] ( http://michaellwest.blogspot.com )
50+ ### Resources
4151
42- [ Mike Reynolds ] ( http://sitecorejunkie.com/ )
52+ Download the module from the [ Sitecore Marketplace ] ( http://marketplace.sitecore.net/en/Modules/Sitecore_PowerShell_console.aspx ) .
4353
44- If you simply want to download the module go to the Sitecore Marketplace and download the latest from the
45- [ Sitecore PowerShell Extensions] ( http://marketplace.sitecore.net/en/Modules/Sitecore_PowerShell_console.aspx ) page.
54+ Read the [ SPE user guide] ( http://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/ ) .
4655
47- [ All kind of Resources about Sitecore PowerShell Extensions ] ( http://blog.najmanowicz.com/sitecore-powershell-console/ )
56+ See a whole [ variety of links to SPE material ] ( http://blog.najmanowicz.com/sitecore-powershell-console/ ) .
4857
49- [ Training Videos ] ( http://www.youtube.com/playlist?list=PLph7ZchYd_nCypVZSNkudGwPFRqf1na0b )
58+ Watch some quick start [ training videos ] ( http://www.youtube.com/playlist?list=PLph7ZchYd_nCypVZSNkudGwPFRqf1na0b ) .
0 commit comments