SlideShare a Scribd company logo
1 of 19
Raymond Mitchell
Senior Consultant @ Inetium
http://www.iwkid.com
Agenda
            Quick Intro
            SharePoint on Vista!
            Intro to PowerShell
            Break!
            SharePoint Object Model
            Web Services
            PowerShell 2 / Windows 7
            Resources
Introduction
Raymond Mitchell
Senior Consultant at Inetium
  Minneapolis-based Microsoft Gold Certified Partner


Blog and Website at http://www.iwkid.com
SharePoint on Vista!
 FREE Tool from Bamboo Solutions
   http://community.bamboosolutions.com/blogs/bambooteamblog/archive/2008/05/21/how-to-
      install-windows-sharepoint-services-3-0-sp1-on-vista-x64-x86.aspx



 Very easy tool wraps the SharePoint installation and allows
  installation on Windows Vista
SharePoint on Vista!


Step 1 – Download installation helper and
   SharePoint SP1

Step 2 – Install the installation helper


Step 3 – Configure IIS


Step 4 – Run the Setup Launcher and point
   it at the SharePoint install

Step 5 – Install SharePoint Web Front End
   configuration
SharePoint on Vista!
 No more Virtual Machines for most common WSS development


 Install VSeWSS locally – no more Visual Studio on Windows
  Server

 Local debugging!


 PERFECT for playing with SharePoint using PowerShell!
Intro to PowerShell
 What is PowerShell?
   Shell
   “task-based scripting technology ”
   .bat file
   .NET at the command line
Intro to PowerShell
 Previously known as:
   Monad
   Microsoft Command Shell
   MSH
Intro to PowerShell
 Supported on:
   Windows XP SP2
   Windows Server 2003 SP1
   Windows Server R2
   Windows Vista
   Windows Server 2008


   Windows 7 = PowerShell 2?
Intro to PowerShell
Intro to PowerShell
 Getting Started:
     dir         Get-ChildItem
     cd          Set-Location
     del         Remove-Item


     mkdir       param([string[]]$paths); New-
                     Item -type directory -path $paths
Intro to PowerShell
 Getting Started:
     help        param([string]$Name,[string[]]$C
                     ategory=@('All'),[string[]]$Comp
                     onent,

                     [string[]]$Functionality,[string[]]$
                     Role,[switch]$Full,

                     [switch]$Detailed,[switch]$Exam
                     ples,[string]$Parameter=$null)
                         &{
Intro to PowerShell
 Core Components:
   Aliases
     dir, cd, del
   Cmdlets
     Get-ChildItem, Set-Location, Remove-Item, Get-Alias
   Functions
     mkdir, help
   Providers
     FileSystem, Alias, Function
     Get-PSDrive
   Snapins
Getting around with PowerShell
Intro to PowerShell
 Variables

   $str = “this is my variable”   String
   $ary = 0,1,2,3,4               Object
   $num = 4                       Int32
Intro to PowerShell
 Introducing the pipeline
   Pass output from one command to the next
   Similar to Dir | More in command prompt


   BETTER with objects
     Passes actual .NET Objects between commands
Variables and the Pipeline

More Related Content

What's hot

High Performance Ajax Applications
High Performance Ajax ApplicationsHigh Performance Ajax Applications
High Performance Ajax Applications
Julien Lecomte
 

What's hot (20)

Python Code Camp for Professionals 1/4
Python Code Camp for Professionals 1/4Python Code Camp for Professionals 1/4
Python Code Camp for Professionals 1/4
 
Realize mais com HTML 5 e CSS 3 - 16 EDTED - RJ
Realize mais com HTML 5 e CSS 3 - 16 EDTED - RJRealize mais com HTML 5 e CSS 3 - 16 EDTED - RJ
Realize mais com HTML 5 e CSS 3 - 16 EDTED - RJ
 
Python Code Camp for Professionals 2/4
Python Code Camp for Professionals 2/4Python Code Camp for Professionals 2/4
Python Code Camp for Professionals 2/4
 
Spark IT 2011 - Simplified Web Development using Java Server Faces 2.0
Spark IT 2011 - Simplified Web Development using Java Server Faces 2.0Spark IT 2011 - Simplified Web Development using Java Server Faces 2.0
Spark IT 2011 - Simplified Web Development using Java Server Faces 2.0
 
DevOps and Chef
DevOps and ChefDevOps and Chef
DevOps and Chef
 
How to Make AJAX Applications Scream on the Client
How to Make AJAX Applications Scream on the ClientHow to Make AJAX Applications Scream on the Client
How to Make AJAX Applications Scream on the Client
 
Top 10 HTML5 features
Top 10 HTML5 featuresTop 10 HTML5 features
Top 10 HTML5 features
 
High Performance Ajax Applications
High Performance Ajax ApplicationsHigh Performance Ajax Applications
High Performance Ajax Applications
 
MongoDB user group israel May
MongoDB user group israel MayMongoDB user group israel May
MongoDB user group israel May
 
ICEfaces and JSF 2.0 on GlassFish
ICEfaces and JSF 2.0 on GlassFishICEfaces and JSF 2.0 on GlassFish
ICEfaces and JSF 2.0 on GlassFish
 
OSCON Google App Engine Codelab - July 2010
OSCON Google App Engine Codelab - July 2010OSCON Google App Engine Codelab - July 2010
OSCON Google App Engine Codelab - July 2010
 
jQuery UI and Plugins
jQuery UI and PluginsjQuery UI and Plugins
jQuery UI and Plugins
 
How to make Ajax work for you
How to make Ajax work for youHow to make Ajax work for you
How to make Ajax work for you
 
Introduction to RESTful Web Services
Introduction to RESTful Web ServicesIntroduction to RESTful Web Services
Introduction to RESTful Web Services
 
Crossing the Boundaries of Web Applications with OpenSocial
Crossing the Boundaries of Web Applications with OpenSocialCrossing the Boundaries of Web Applications with OpenSocial
Crossing the Boundaries of Web Applications with OpenSocial
 
Django Rest Framework and React and Redux, Oh My!
Django Rest Framework and React and Redux, Oh My!Django Rest Framework and React and Redux, Oh My!
Django Rest Framework and React and Redux, Oh My!
 
YSlow 2.0
YSlow 2.0YSlow 2.0
YSlow 2.0
 
Progressive Downloads and Rendering
Progressive Downloads and RenderingProgressive Downloads and Rendering
Progressive Downloads and Rendering
 
Summit2014 topic 0066 - 10 enhancements that require 10 lines of code
Summit2014 topic 0066 - 10 enhancements that require 10 lines of codeSummit2014 topic 0066 - 10 enhancements that require 10 lines of code
Summit2014 topic 0066 - 10 enhancements that require 10 lines of code
 
Building an HTML5 Video Player
Building an HTML5 Video PlayerBuilding an HTML5 Video Player
Building an HTML5 Video Player
 

Viewers also liked (7)

Randy Moss
Randy MossRandy Moss
Randy Moss
 
Azevedopresentation
AzevedopresentationAzevedopresentation
Azevedopresentation
 
Presentazione2
Presentazione2Presentazione2
Presentazione2
 
Somos como pensamos
Somos como pensamosSomos como pensamos
Somos como pensamos
 
Randy Moss
Randy MossRandy Moss
Randy Moss
 
Presentatie Sjadam 5 7 2007
Presentatie Sjadam 5 7 2007Presentatie Sjadam 5 7 2007
Presentatie Sjadam 5 7 2007
 
Randy Moss
Randy MossRandy Moss
Randy Moss
 

Similar to Operacion Guinda 2

Playing with php_on_azure
Playing with php_on_azurePlaying with php_on_azure
Playing with php_on_azure
CEDRIC DERUE
 
Brian Jackett: Managing SharePoint 2010 Farms with Powershell
Brian Jackett: Managing SharePoint 2010 Farms with PowershellBrian Jackett: Managing SharePoint 2010 Farms with Powershell
Brian Jackett: Managing SharePoint 2010 Farms with Powershell
SharePoint Saturday NY
 
Brian Jackett: Managing SharePoint 2010 Farms with Powershell
Brian Jackett: Managing SharePoint 2010 Farms with PowershellBrian Jackett: Managing SharePoint 2010 Farms with Powershell
Brian Jackett: Managing SharePoint 2010 Farms with Powershell
SharePoint Saturday NY
 
symfony on action - WebTech 207
symfony on action - WebTech 207symfony on action - WebTech 207
symfony on action - WebTech 207
patter
 

Similar to Operacion Guinda 2 (20)

SPugPt Meeting 35: Manage govern and drive adoption of share point online wit...
SPugPt Meeting 35: Manage govern and drive adoption of share point online wit...SPugPt Meeting 35: Manage govern and drive adoption of share point online wit...
SPugPt Meeting 35: Manage govern and drive adoption of share point online wit...
 
NZ Code Camp 2011 PowerShell + SharePoint
NZ Code Camp 2011 PowerShell + SharePointNZ Code Camp 2011 PowerShell + SharePoint
NZ Code Camp 2011 PowerShell + SharePoint
 
SPSTC - PowerShell - Through the SharePoint Looking Glass
SPSTC - PowerShell - Through the SharePoint Looking GlassSPSTC - PowerShell - Through the SharePoint Looking Glass
SPSTC - PowerShell - Through the SharePoint Looking Glass
 
PowerShell: Through the SharePoint Looking Glass
PowerShell: Through the SharePoint Looking GlassPowerShell: Through the SharePoint Looking Glass
PowerShell: Through the SharePoint Looking Glass
 
Introduction to PowerShell - Be a PowerShell Hero - SPFest workshop
Introduction to PowerShell - Be a PowerShell Hero - SPFest workshopIntroduction to PowerShell - Be a PowerShell Hero - SPFest workshop
Introduction to PowerShell - Be a PowerShell Hero - SPFest workshop
 
SPSSTL - PowerShell - Through the SharePoint Looking Glass
SPSSTL - PowerShell - Through the SharePoint Looking GlassSPSSTL - PowerShell - Through the SharePoint Looking Glass
SPSSTL - PowerShell - Through the SharePoint Looking Glass
 
Global Windows Azure Bootcamp : Cedric Derue playing with php on azure. (spon...
Global Windows Azure Bootcamp : Cedric Derue playing with php on azure. (spon...Global Windows Azure Bootcamp : Cedric Derue playing with php on azure. (spon...
Global Windows Azure Bootcamp : Cedric Derue playing with php on azure. (spon...
 
Playing with php_on_azure
Playing with php_on_azurePlaying with php_on_azure
Playing with php_on_azure
 
Intro to PowerShell
Intro to PowerShellIntro to PowerShell
Intro to PowerShell
 
Brian Jackett: Managing SharePoint 2010 Farms with Powershell
Brian Jackett: Managing SharePoint 2010 Farms with PowershellBrian Jackett: Managing SharePoint 2010 Farms with Powershell
Brian Jackett: Managing SharePoint 2010 Farms with Powershell
 
Brian Jackett: Managing SharePoint 2010 Farms with Powershell
Brian Jackett: Managing SharePoint 2010 Farms with PowershellBrian Jackett: Managing SharePoint 2010 Farms with Powershell
Brian Jackett: Managing SharePoint 2010 Farms with Powershell
 
SPO Migration - New API
SPO Migration - New APISPO Migration - New API
SPO Migration - New API
 
Make the hosting company life easier with SharePoint PowerShell
Make the hosting company life easier with SharePoint PowerShellMake the hosting company life easier with SharePoint PowerShell
Make the hosting company life easier with SharePoint PowerShell
 
Automating OSD and Post-OSD Configuration with Powershell and Orchestrator
Automating OSD and Post-OSD Configuration with Powershell and OrchestratorAutomating OSD and Post-OSD Configuration with Powershell and Orchestrator
Automating OSD and Post-OSD Configuration with Powershell and Orchestrator
 
PHP on Windows and on Azure
PHP on Windows and on AzurePHP on Windows and on Azure
PHP on Windows and on Azure
 
SPSBE18: New era of customizing site provisioning
SPSBE18: New era of customizing site provisioningSPSBE18: New era of customizing site provisioning
SPSBE18: New era of customizing site provisioning
 
New era of customizing site provisioning
New era of customizing site provisioningNew era of customizing site provisioning
New era of customizing site provisioning
 
Powershell to the People #suguk
Powershell to the People #sugukPowershell to the People #suguk
Powershell to the People #suguk
 
symfony on action - WebTech 207
symfony on action - WebTech 207symfony on action - WebTech 207
symfony on action - WebTech 207
 
Nagios Conference 2014 - Jeff Mendoza - Monitoring Microsoft Azure with Nagios
Nagios Conference 2014 - Jeff Mendoza - Monitoring Microsoft Azure with NagiosNagios Conference 2014 - Jeff Mendoza - Monitoring Microsoft Azure with Nagios
Nagios Conference 2014 - Jeff Mendoza - Monitoring Microsoft Azure with Nagios
 

More from Red RADAR

3er Encuentro COLOREANDO REDES SOCIALES
3er Encuentro COLOREANDO REDES SOCIALES3er Encuentro COLOREANDO REDES SOCIALES
3er Encuentro COLOREANDO REDES SOCIALES
Red RADAR
 
2011 argentina año_verde
2011 argentina año_verde2011 argentina año_verde
2011 argentina año_verde
Red RADAR
 
Suma recursos profesionales
Suma recursos profesionalesSuma recursos profesionales
Suma recursos profesionales
Red RADAR
 

More from Red RADAR (20)

Autoempleo 2013
Autoempleo 2013Autoempleo 2013
Autoempleo 2013
 
Edicion Digital
Edicion DigitalEdicion Digital
Edicion Digital
 
DE TRELEW A EE.UU.
DE TRELEW A EE.UU.DE TRELEW A EE.UU.
DE TRELEW A EE.UU.
 
Consorcios Incubados en red
Consorcios Incubados en redConsorcios Incubados en red
Consorcios Incubados en red
 
3er Encuentro COLOREANDO REDES SOCIALES
3er Encuentro COLOREANDO REDES SOCIALES3er Encuentro COLOREANDO REDES SOCIALES
3er Encuentro COLOREANDO REDES SOCIALES
 
La formación en ética para el desarrollo
La formación en ética para el desarrolloLa formación en ética para el desarrollo
La formación en ética para el desarrollo
 
3er Encuentro COLOREANDO REDES SOCIALES
3er Encuentro COLOREANDO REDES SOCIALES3er Encuentro COLOREANDO REDES SOCIALES
3er Encuentro COLOREANDO REDES SOCIALES
 
2011 argentina año_verde
2011 argentina año_verde2011 argentina año_verde
2011 argentina año_verde
 
Redes
RedesRedes
Redes
 
Guia rapida
Guia rapidaGuia rapida
Guia rapida
 
Suma recursos profesionales
Suma recursos profesionalesSuma recursos profesionales
Suma recursos profesionales
 
RADAR: Nuevo Articulo
RADAR: Nuevo ArticuloRADAR: Nuevo Articulo
RADAR: Nuevo Articulo
 
La Red Crece
La Red CreceLa Red Crece
La Red Crece
 
Gerente Virtual
Gerente VirtualGerente Virtual
Gerente Virtual
 
Posicionamiento
PosicionamientoPosicionamiento
Posicionamiento
 
Festejo y Despedida
Festejo y DespedidaFestejo y Despedida
Festejo y Despedida
 
Patagonia En Camping II
Patagonia En Camping IIPatagonia En Camping II
Patagonia En Camping II
 
Coleccion2009artelista
Coleccion2009artelistaColeccion2009artelista
Coleccion2009artelista
 
Reciclados
RecicladosReciclados
Reciclados
 
Operacion Guinda 2
Operacion Guinda 2Operacion Guinda 2
Operacion Guinda 2
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Recently uploaded (20)

TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 

Operacion Guinda 2

  • 1. Raymond Mitchell Senior Consultant @ Inetium http://www.iwkid.com
  • 2. Agenda  Quick Intro  SharePoint on Vista!  Intro to PowerShell  Break!  SharePoint Object Model  Web Services  PowerShell 2 / Windows 7  Resources
  • 3. Introduction Raymond Mitchell Senior Consultant at Inetium Minneapolis-based Microsoft Gold Certified Partner Blog and Website at http://www.iwkid.com
  • 4.
  • 5. SharePoint on Vista!  FREE Tool from Bamboo Solutions http://community.bamboosolutions.com/blogs/bambooteamblog/archive/2008/05/21/how-to- install-windows-sharepoint-services-3-0-sp1-on-vista-x64-x86.aspx  Very easy tool wraps the SharePoint installation and allows installation on Windows Vista
  • 6. SharePoint on Vista! Step 1 – Download installation helper and SharePoint SP1 Step 2 – Install the installation helper Step 3 – Configure IIS Step 4 – Run the Setup Launcher and point it at the SharePoint install Step 5 – Install SharePoint Web Front End configuration
  • 7. SharePoint on Vista!  No more Virtual Machines for most common WSS development  Install VSeWSS locally – no more Visual Studio on Windows Server  Local debugging!  PERFECT for playing with SharePoint using PowerShell!
  • 8.
  • 9. Intro to PowerShell  What is PowerShell?  Shell  “task-based scripting technology ”  .bat file  .NET at the command line
  • 10. Intro to PowerShell  Previously known as:  Monad  Microsoft Command Shell  MSH
  • 11. Intro to PowerShell  Supported on:  Windows XP SP2  Windows Server 2003 SP1  Windows Server R2  Windows Vista  Windows Server 2008  Windows 7 = PowerShell 2?
  • 13. Intro to PowerShell  Getting Started:  dir  Get-ChildItem  cd  Set-Location  del  Remove-Item  mkdir  param([string[]]$paths); New- Item -type directory -path $paths
  • 14. Intro to PowerShell  Getting Started:  help  param([string]$Name,[string[]]$C ategory=@('All'),[string[]]$Comp onent, [string[]]$Functionality,[string[]]$ Role,[switch]$Full, [switch]$Detailed,[switch]$Exam ples,[string]$Parameter=$null) &{
  • 15. Intro to PowerShell  Core Components:  Aliases  dir, cd, del  Cmdlets  Get-ChildItem, Set-Location, Remove-Item, Get-Alias  Functions  mkdir, help  Providers  FileSystem, Alias, Function  Get-PSDrive  Snapins
  • 16. Getting around with PowerShell
  • 17. Intro to PowerShell  Variables  $str = “this is my variable” String  $ary = 0,1,2,3,4 Object  $num = 4 Int32
  • 18. Intro to PowerShell  Introducing the pipeline  Pass output from one command to the next  Similar to Dir | More in command prompt  BETTER with objects  Passes actual .NET Objects between commands
  • 19. Variables and the Pipeline
  • 20. Intro to PowerShell  Pipeline Commands  ForEach-Object  dir | foreach-object { $_.Name }  Alias: dir | % { $_.Name }  Where-Object  dir | where-object {$_.Length –gt 10}  Alias: dir | ? {$_.Length –gt 10}  SelectObject  dir | select-object –first 5
  • 21. Intro to PowerShell  Flow Control  if  switch  Operators  -eq  -lt / -gt  -le / -ge  -like / -notlike
  • 22. Intro to PowerShell  Output formatting options  Format-Custom  Format-List  Format-Table  Format-Wide
  • 23. Dealing with a full pipeline
  • 24. Intro to PowerShell  Working with PowerShell + .NET  Loosely typed variables  $foo = “bar” (implicit System.String)  $ary = 1,2,3,4 (object array)  Strongly typed variables  [string]$foo = “bar”  Enhanced Types  [xml]$d = “<a><b><c>c stuff 1</c><c>c stuff 2</c></b></a>”  $d.a.b.c (array of strings)
  • 25. Intro to PowerShell  Working with PowerShell + .NET  Constants:  $True, $False, $Null  Constructing Objects  $str = New-Object System.String(“”)  Static Method Calls  [Namespace.Class]::Method(arg1)  Enumerations  [System.Drawing.KnownColor]::Green
  • 26. Intro to PowerShell  Importing Namespaces:  [System.Reflection.Assembly]::LoadFile(“”)  [System.Reflection.Assembly]::LoadWithPartialName(“”)
  • 27. Real World Scenario: Controlling a Wiimote via PowerShell
  • 29.
  • 30. SharePoint Object Model  What is the Object Model?  Series of classes to allow local access to SharePoint Objects  Key Namespaces  Microsoft.SharePoint  Microsoft.SharePoint.Administration ONLY ON THE SERVER – does not work remotely!
  • 31. SharePoint Object Model Object Hierarchy: SPSite SPWeb SPList SPField SPListItem
  • 32. SharePoint Object Model  What about PowerShell?  [System.Reflection.Assembly]::LoadWithPartialN ame(“Microsoft.SharePoint”)  $site = New-Object Microsoft.SharePoint.SPSite(“http://localhost”)
  • 34. SharePoint Object Model Admin object hierarchy overview SPFarm SPServerCollection SPServer SPServiceInstance SPWebApplication SPSite
  • 35. PowerShell + SharePoint Administration
  • 36.
  • 37. Web Services  What are they?  Located in C:Program FilesCommon Filesmicrosoft sharedWeb Server Extensions12ISAPI  Accessible via http://site/_vti_bin/*.asmx
  • 38. Web Services Administration  What’s available in WSS Alerts Authentication Copy DocumentWorkspace Forms Imaging ListDataRetrieval Lists Meetings People Permissions SharepointDirectoryManagementService SiteData Sites SPSearch UsersGroups Versions Views WebPartPages Webs
  • 39. Web Services  What’s available in MOSS Area – obsolete in V3 Official File Published Links Search User Profile Change User Profile Workflow
  • 40. Web Services  Using New-WebServiceProxy.ps1 $p = C:DevelopmentNew-WebServiceProxy.ps1 -url quot;http://localhost/_vti_bin/lists.asmxquot; $p | Get-Member $p.GetListCollection() $p.GetListCollection().List | Format-Table title, id
  • 41. PowerShell + SharePoint Web Services
  • 42.
  • 43. PowerShell 2.0  CTP2 available for download  PowerShell Remoting  Integrated Scripting Environment  Think “Query Analyzer”
  • 44. Quick look at Windows 7 + PowerShell 2
  • 45. Resources  PowerShell 2.0 CTP 2  http://go.microsoft.com/fwlink/?LinkID=10 7395  Windows SharePoint Services SDK  Download  http://www.microsoft.com/downloads/details.aspx ?FamilyID=05E0DD12-8394-402B-8936- A07FE8AFAFFD&displaylang=en  Online  http://msdn.microsoft.com/en- us/library/bb931737.aspx
  • 46. Resources  Windows PowerShell Team Blog  http://blogs.msdn.com/PowerShell  http://powershellcommunity.org  http://poshcode.org  http://www.microsoft.com/technet/scr iptcenter/hubs/msh.mspx  New-WebServiceProxy.ps1  http://poshcode.org/538
  • 47. Resources  Wiimote fun  Getting Started:  http://blogs.msdn.com/coding4fun/archive/2007/03 /14/1879033.aspx  CodePlex Project  http://www.codeplex.com/WiimoteLib  My Post on the topic  http://www.iwkid.com/blog/Lists/Posts/Post.aspx?I D=28
  • 48. Resources  http://www.iwkid.com