This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$tenant = "yourTenant" | |
$tenantUrl = "https://{0}.sharepoint.com/" -f $tenant | |
$siteTitle = "siteToShareTitle" | |
$siteToShareUrl = "https://{0}.sharepoint.com/sites/{1}" -f $tenant, $siteTitle | |
$adminSiteUrl = "https://{0}-admin.sharepoint.com/" -f $tenant | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"window.zoomLevel": 0, | |
//"terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", | |
"terminal.integrated.shell.windows": "C:/Program Files/PowerShell/7/pwsh.exe", | |
"shellLauncher.shells.windows": [{ | |
"shell": "C:/Program Files/PowerShell/7/pwsh.exe", | |
"label": "PowerShell 7 Core" | |
}, | |
{ | |
"shell": "C:/Windows/system32/WindowsPowerShell/v1.0/powershell.exe", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ($env:TERM_PROGRAM -eq "vscode") { | |
Set-PSReadLineKeyHandler -Chord 'Ctrl+w' -Function BackwardKillWord | |
Set-PSReadLineKeyHandler -Chord 'Alt+D' -Function KillWord | |
Set-PSReadLineKeyHandler -Chord 'Ctrl+@' -Function MenuComplete | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# SharePoint must be configured to allow Remote Endpoint intranet calls to local web services by using the following Windows PowerShell commands. | |
# | |
Add-PSSnapin Microsoft.sharepoint.powershell | |
$f = Get-SPFarm | |
$f.Properties.DisableIntranetCalls = $false | |
$f.Properties.DisableIntranetCallsFromApps = $false | |
$f.Update() |