SPS Cincinnati slidedeck

307 views

Published on

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
307
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
6
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Start from a new PowerShell Window:Create a Site Collection:$site = New-SPSite –Url http://sps.adventureworks.com –Template “CMSPUBLISHING#0” –Name “SharePoint Saturday Cincinnati” –OwnerAlias isg1085\\spfarm –SecondaryOwnerAlias isg1085\\sharepointryan –Verbose$site | gm$web = $site.rootweb$web.title = “Modified”$web.update()Get-History | Out-File c:\\scripts\\demo.ps1
  • Create a script first, then talk about making it reusable by adding parameters and making it a functionCreate a dummy function on the shell to show how they work, then move into PowerGUIAdd some output with Write-HostAdd comment-based help
  • Show and talk through the XML fileShow and talk through the actual function line by lineRun the functionShow the sites
  • SPS Cincinnati slidedeck

    1. 1. The Power is in the Shell, Use it Wisely!
    2. 2.  2 | SharePoint Saturday Cincinnati 2011
    3. 3. Thanks to Our Sponsors!
    4. 4.  4 | SharePoint Saturday Cincinnati 2011
    5. 5.  5 | SharePoint Saturday Cincinnati 2011
    6. 6.  6 | SharePoint Saturday Cincinnati 2011
    7. 7. 7 | SharePoint Saturday Cincinnati 2011
    8. 8.  8 | SharePoint Saturday Cincinnati 2011
    9. 9.  9 | SharePoint Saturday Cincinnati 2011
    10. 10.  10 | SharePoint Saturday Cincinnati 2011
    11. 11. ••••• 11 | SharePoint Saturday Cincinnati 2011
    12. 12.   12 | SharePoint Saturday Cincinnati 2011
    13. 13. Demonstration
    14. 14.  14 | SharePoint Saturday Cincinnati 2011
    15. 15.  15 | SharePoint Saturday Cincinnati 2011
    16. 16. Demonstration Two
    17. 17.     17 | SharePoint Saturday Cincinnati 2011
    18. 18.    18 | SharePoint Saturday Cincinnati 2011
    19. 19.  Get-Content     ForEach-Object  19 | SharePoint Saturday Cincinnati 2011
    20. 20. <?xml version="1.0" encoding="utf-8"?><Sites> <Site> <SiteTitle>Ryan Dennis</SiteTitle> <SiteUrl>http://sps.adventureworks.com/rdennis</SiteUrl> <Page> <PageTitle>Home</PageTitle> <PageUrl>Home.aspx</PageUrl> <PageContent>HTML Content</PageContent> <PageLayout>Body Only</PageLayout> </Page> </Site></Sites> 20 | SharePoint Saturday Cincinnati 2011
    21. 21. Demonstration Three
    22. 22.     22 | SharePoint Saturday Cincinnati 2011
    23. 23.  23 | SharePoint Saturday Cincinnati 2011
    24. 24. 1.2.3.4.5. 24 | SharePoint Saturday Cincinnati 2011
    25. 25.  25 | SharePoint Saturday Cincinnati 2011

    ×