/aOSComm-IndiaTour

aOSComm-IndiaTour

Primary LanguagePowerShellMIT LicenseMIT

aOSComm-IndiaTour

aOS : An independent Community
Azure | Office 365 | SharePoint
aOS Community recently organized a great community event in India (Mumbai and Bangalore) with the help of Microsoft. To know more about the event search in twitter #aOSIndiaTour , #aOSBangalore , #aOSMumbai. Follow @aOSComm for latest news and events across the globe.

Refer this link for upcoming aOS Community events in and around your city.

aOSMumbai Agenda

Mumbai

aOSBangalore Agenda

Bangalore

Speakers Twitter ID (Contact for more information about the content)

Name Twitter ID Location Slide Deck (Docs.com)
Ashish Trivedi @_AshishTrivedi Bangalore and Mumbai [YTD]
Chendrayan Venkatesan @ChendrayanV Bangalore and Mumbai [YTD]
Christian Ståhl @CStahl Bangalore and Mumbai Getting Started with Add-in Development for SharePoint Online and Office365
Dipti Chhatrapati @dips84 Bangalore and Mumbai [YTD]
Feroz Khan @TechFero Bangalore [YTD]
Jasjit Chopra @JasjitChopra Mumbai [YTD]
Narasima Perumal @narasimaperumal Bangalore [YTD]
Patrick Guimonet @patricg Bangalore and Mumbai Biggest fails and Best practices using Office 365 toolset for real life projects
Prabhjot Singh Bakshi @prabhjotbakshi Mumbai [YTD]
Rhomil Bheda @Romil_Bheda Mumbai [YTD]
Sébastien Paulet @SP_twit Bangalore and Mumbai [YTD]

Automating O365 Using PowerShell

During this event I shared a demo PowerShell module which helps IT Professionals to build script module and writing external help in MD using platyPS module. We discussed about best practices in script module, Client Side Object Model and EWS Managed API. Yes, we covered few concepts about native SharePoint Online, Exchange Online and MSOnline modules and cmdlets. But, we haven't covered in this repository! At heart, this repo contains about using CSOM, EWS Managed API, platyPS and writing PowerShell script module

General Discussion Panel

  1. Why PowerShell not Python?
    a. There is no thumb rule to use PowerShell if you are familiar in Python do use it. Here is the reference link python-sharepoint. Under the hood it uses REST web services. Be aware of using REST and learn about advantage of using Client Side Object Model.
  2. How to convert JSON to and from?
    a. Refer ConvertFrom-JSON and ConvertTo-JSON
  3. Why I care about Parameter type?
    a. It's best practise to define the parameter type which helps other IT Professionals or power users to understand the parameter and it's type.
  4. Which editor is the best for PowerShell?
    a. With no doubt the answer is VS Code with PowerShell extension. However, make your choice! If you like PowerShell ISE with free or paid add-on's use it. In my case, VS Code it suffice because it supports ll the extension we need for this module (Example: PS1, MD, XML). VS Code download link and follow @Code in twitter for latest news information.
  5. What is the best way to query large lists?
    a. Use caml query
  6. What is ExceptionHandlingScope? Why to use in PowerShell?
    a. Exception Handling Scope is one of the advanced task in the Common Programming Tasks in the Managed Client Object Model and this is very important while considering performance. In short, all the three requests like starttry{}, startcatch{} and startfinally{} executes in one call.I would like to thank DIWUG - Dutch Information Worker User Group for sharing this great information.
  7. What is outputtype? Why to use?
    a. Use help about_Functions_OutputTypeAttribute
    b. A simple one line declaration helps us to select the properties by tab completion.
  8. Where can we get platyPS Module?
    a. Install-Module platyPS -Verbose (Works in PowerShell 5.0 +)
    b. GitHub Link
    c. PowerShell Gallery
    d. Refer Writing Help for Windows PowerShell Modules
  9. Where can we get more videos about CSOM?
    a. With no doubt Channel 9

Sincere Thanks

Vijai Anand Ramalingam for the excellent SharePoint 2013 .Net Client Side Object Model Cookbook.
François-Xavier Cat for sharing help in MD and github.
aOSComm for giving me an oppurtunity to share ideas about CSOM, EWS Managed API and PowerShell

Disclaimer

All the PowerShell function created by me (Chendrayan Venkatesan a.k.a Chen V) in this module are built on the fly to demo about Writing PowerShell Script Module and platyPS for external help. Please do not use this in production environment without testing. Kindly read the MIT License