Create a SharePoint Online Site - Office 365 using Powershell # Usage # .\create-site-csom.ps1 -siteTitle "new site2" -siteUrl "newsite2" -cred $false -parent "https://pravahaminfo.sharepoint.com/teams/appdev1/" # # .\create-site-csom.ps1 -siteTitle "new site2" -siteUrl "newsite2" -cred $true -parent "https://pravahaminfo.sharepoint.com/teams/appdev1/" # Will ask for Credentials Param( [Parameter(Mandatory=$true)] [string] $parent, [Parameter(Mandatory=$true)] [string] $siteTitle, [Parameter(Mandatory=$true)] [string] $siteUrl, [string] $siteDescription, [string] $template = "STS#0", [bool] $cred #Use custom Credentials ) #Clear-Host Write-Host "Initializing..." $resources = split-path $script:MyInvocation.MyCommand.Definition if(-not $(Test-Path "$resources\bin")) ...
Your comprehensive resource for Microsoft 365 productivity solutions. Explore expert tutorials, best practices, and real-world implementations for SharePoint Online, Power Platform (Power Apps, Power Automate, Power BI), Microsoft Copilot and Python. Whether you're building automated workflows, creating custom apps, managing SharePoint sites, or leveraging AI with Copilot, find practical guides and insights to transform your digital workplace