Upload
lauren-chambers
View
219
Download
0
Embed Size (px)
Citation preview
PS SharePoSH:\>
http://www.SharePoSH.com @SharePoSH
PowerPivot & other BI CommandsREST APIs & PowerShell
SharePoint + PowerShell User Group
April 17, 2013
PS SharePoSH:\>
http://www.SharePoSH.com @SharePoSH
Agenda
• Hello!• Group Logistics (GoToMeeting/ website /
register / email / twitter)• Doug! (PowerPivot + BI)• REST API nonsense• Next meeting• Survey!
PS SharePoSH:\>
http://www.SharePoSH.com @SharePoSH
Raymond Mitchell• SharePoint Consultant
– http://www.Rackspace.com
• Author• Dad• Information Worker Kid
– http://www.iwkid.com
• SharePoSHing since 2008
Hello!
PS SharePoSH:\>
http://www.SharePoSH.com @SharePoSH
Doug Hemminger• SharePoint Solution Architect
– Quantitative Risk Management
• Dad• Chicago, IL• @DougHemminger
– http://www.SharePointDoug.com
• SharePoSHing since 2007
Hello!
PS SharePoSH:\>
http://www.SharePoSH.com @SharePoSH
What about you?
PS SharePoSH:\>
http://www.SharePoSH.com @SharePoSH
Your turn, Doug!
PS SharePoSH:\>
http://www.SharePoSH.com @SharePoSH
REST APIs
PS SharePoSH:\>
http://www.SharePoSH.com @SharePoSH
• Interact with SharePoint from your desktop– Automate site/content creation– Check for list content
• Sample requires PowerShell 3.0– Invoke-RestMethod
• Make GET requests
PowerShell + REST API
PS SharePoSH:\>
http://www.SharePoSH.com @SharePoSH
• Upload files to SharePoint
1. Save your creds for use later2. Make a call to get the ContextInfo3. Read the FormDigest from the
ContextInfo4. Tweak the header for future
requests to include FormDigest5. Make a REST call
PowerShell + REST API
Only required for POST/PUT
PS SharePoSH:\>
http://www.SharePoSH.com @SharePoSH
Next Meeting
• TBD – Your Demos
PS SharePoSH:\>
http://www.SharePoSH.com @SharePoSH
Resources
• REST API– http://
msdn.microsoft.com/en-us/library/jj164022.aspx • PowerShell + SharePoint forum at
PowerShell.org:– http://powershell.org/discuss/viewforum.php?f=12
• PowerShell Summit: April 22-24http://powershell.org/summit
PS SharePoSH:\>
http://www.SharePoSH.com @SharePoSH
Resources
http://www.powershell.org/games
#PSH2013
PS SharePoSH:\>
http://www.SharePoSH.com @SharePoSH
Survey!
• http://sdrv.ms/17HzsYd