Skip to content

Instantly share code, notes, and snippets.

View balouchi26's full-sized avatar

balouchi26

View GitHub Profile
Connect-PnPOnline –Url https://site.sharepoint.com/sites/subsite –Credentials (Get-Credential)
$context = Get-PnPContext
$Web = $context.Web
$context.Load($Web)
Execute-PnPQuery
Write-Host $Web.Title
function GetUserLookupString {
[CmdletBinding()]