SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Was ist angesagt?

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/4DEVCON
 
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 - RJLeonardo Balter
 
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/4DEVCON
 
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.0Arun Gupta
 
DevOps and Chef
DevOps and ChefDevOps and Chef
DevOps and ChefPiXeL16
 
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 Clientgoodfriday
 
Top 10 HTML5 features
Top 10 HTML5 featuresTop 10 HTML5 features
Top 10 HTML5 featuresGill Cleeren
 
High Performance Ajax Applications
High Performance Ajax ApplicationsHigh Performance Ajax Applications
High Performance Ajax ApplicationsJulien Lecomte
 
MongoDB user group israel May
MongoDB user group israel MayMongoDB user group israel May
MongoDB user group israel MayAlon Horev
 
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 2010ikailan
 
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 youSimon Willison
 
Introduction to RESTful Web Services
Introduction to RESTful Web ServicesIntroduction to RESTful Web Services
Introduction to RESTful Web ServicesFelipe Dornelas
 
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 OpenSocialBastian Hofmann
 
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!Eric Palakovich Carr
 
Progressive Downloads and Rendering
Progressive Downloads and RenderingProgressive Downloads and Rendering
Progressive Downloads and RenderingStoyan Stefanov
 
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 codeAngel Borroy López
 
Building an HTML5 Video Player
Building an HTML5 Video PlayerBuilding an HTML5 Video Player
Building an HTML5 Video PlayerJim Jeffers
 

Was ist angesagt? (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
 

Andere mochten auch

Randy Moss
Randy MossRandy Moss
Randy MossKauz
 
Azevedopresentation
AzevedopresentationAzevedopresentation
Azevedopresentationguest6000a6
 
Presentazione2
Presentazione2Presentazione2
Presentazione2ariamolly
 
Somos como pensamos
Somos como pensamosSomos como pensamos
Somos como pensamosRed RADAR
 
Randy Moss
Randy MossRandy Moss
Randy MossKauz
 
Presentatie Sjadam 5 7 2007
Presentatie Sjadam 5 7 2007Presentatie Sjadam 5 7 2007
Presentatie Sjadam 5 7 2007Roy Pereira
 
Randy Moss
Randy MossRandy Moss
Randy MossKauz
 

Andere mochten auch (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
 

Ähnlich wie Intro to PowerShell for SharePoint Admin and Development

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...Comunidade Portuguesa de SharePoiint
 
NZ Code Camp 2011 PowerShell + SharePoint
NZ Code Camp 2011 PowerShell + SharePointNZ Code Camp 2011 PowerShell + SharePoint
NZ Code Camp 2011 PowerShell + SharePointNick Hadlee
 
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 GlassBrian Caauwe
 
PowerShell: Through the SharePoint Looking Glass
PowerShell: Through the SharePoint Looking GlassPowerShell: Through the SharePoint Looking Glass
PowerShell: Through the SharePoint Looking GlassBrian Caauwe
 
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 workshopMichael Blumenthal (Microsoft MVP)
 
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 GlassBrian Caauwe
 
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...MUG-Lyon Microsoft User Group
 
Playing with php_on_azure
Playing with php_on_azurePlaying with php_on_azure
Playing with php_on_azureCEDRIC DERUE
 
Intro to PowerShell
Intro to PowerShellIntro to PowerShell
Intro to PowerShellAdam Preston
 
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 PowershellSharePoint 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 PowershellSharePoint Saturday NY
 
SPO Migration - New API
SPO Migration - New APISPO Migration - New API
SPO Migration - New APIAshish Trivedi
 
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 PowerShellVirtual Affairs
 
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 OrchestratorDigicomp Academy AG
 
PHP on Windows and on Azure
PHP on Windows and on AzurePHP on Windows and on Azure
PHP on Windows and on AzureMaarten Balliauw
 
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 provisioningOlli Jääskeläinen
 
New era of customizing site provisioning
New era of customizing site provisioningNew era of customizing site provisioning
New era of customizing site provisioningBIWUG
 
Powershell to the People #suguk
Powershell to the People #sugukPowershell to the People #suguk
Powershell to the People #sugukChris McKinley
 
symfony on action - WebTech 207
symfony on action - WebTech 207symfony on action - WebTech 207
symfony on action - WebTech 207patter
 
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 NagiosNagios
 

Ähnlich wie Intro to PowerShell for SharePoint Admin and Development (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
 

Mehr von Red RADAR

Autoempleo 2013
Autoempleo 2013Autoempleo 2013
Autoempleo 2013Red RADAR
 
Edicion Digital
Edicion DigitalEdicion Digital
Edicion DigitalRed RADAR
 
DE TRELEW A EE.UU.
DE TRELEW A EE.UU.DE TRELEW A EE.UU.
DE TRELEW A EE.UU.Red RADAR
 
Consorcios Incubados en red
Consorcios Incubados en redConsorcios Incubados en red
Consorcios Incubados en redRed RADAR
 
3er Encuentro COLOREANDO REDES SOCIALES
3er Encuentro COLOREANDO REDES SOCIALES3er Encuentro COLOREANDO REDES SOCIALES
3er Encuentro COLOREANDO REDES SOCIALESRed RADAR
 
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 desarrolloRed RADAR
 
3er Encuentro COLOREANDO REDES SOCIALES
3er Encuentro COLOREANDO REDES SOCIALES3er Encuentro COLOREANDO REDES SOCIALES
3er Encuentro COLOREANDO REDES SOCIALESRed RADAR
 
2011 argentina año_verde
2011 argentina año_verde2011 argentina año_verde
2011 argentina año_verdeRed RADAR
 
Suma recursos profesionales
Suma recursos profesionalesSuma recursos profesionales
Suma recursos profesionalesRed RADAR
 
RADAR: Nuevo Articulo
RADAR: Nuevo ArticuloRADAR: Nuevo Articulo
RADAR: Nuevo ArticuloRed RADAR
 
La Red Crece
La Red CreceLa Red Crece
La Red CreceRed RADAR
 
Gerente Virtual
Gerente VirtualGerente Virtual
Gerente VirtualRed RADAR
 
Posicionamiento
PosicionamientoPosicionamiento
PosicionamientoRed RADAR
 
Festejo y Despedida
Festejo y DespedidaFestejo y Despedida
Festejo y DespedidaRed RADAR
 
Patagonia En Camping II
Patagonia En Camping IIPatagonia En Camping II
Patagonia En Camping IIRed RADAR
 
Coleccion2009artelista
Coleccion2009artelistaColeccion2009artelista
Coleccion2009artelistaRed RADAR
 
Operacion Guinda 2
Operacion Guinda 2Operacion Guinda 2
Operacion Guinda 2Red RADAR
 

Mehr von 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
 

Kürzlich hochgeladen

Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 

Kürzlich hochgeladen (20)

Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 

Intro to PowerShell for SharePoint Admin and Development

  • 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