Posts

Showing posts from 2017

Configure SharePoint Server to use Office Online Server

In a test environment that uses HTTP ======================================================================== Step 1: Create the binding between SharePoint 2016 and Office Web Apps Server New-SPWOPIBinding -ServerName <WacServerName> -AllowHTTP Step 2: View the WOPI zones for the SharePoint bindings Get-SPWOPIZone Step 3: Change the WOPI zone to internal-http Set-SPWOPIZone -zone "internal-http" Step 4: Change the AllowOAuthOverHttp setting in SharePoint 2016 to True (Get-SPSecurityTokenServiceConfig).AllowOAuthOverHttp $config = (Get-SPSecurityTokenServiceConfig) $config.AllowOAuthOverHttp = $true $config.Update() (Get-SPSecurityTokenServiceConfig).AllowOAuthOverHttp Step 5: Enable the Excel SOAP API $Farm = Get-SPFarm $Farm.Properties.Add("WopiLegacySoapSupport", "<URL>/x/_vti_bin/ExcelServiceInternal.asmx"); $Farm.Update(); Step 6: Verify that Office Web Apps is working In a production environment that uses H...

PowerShell command to import Module and Get-ADUser

PS C:\Users\adm_shahidul> Get-Module -ListAvailable     Directory: C:\Windows\system32\WindowsPowerShell\v1.0\Modules ModuleType Version    Name                                ExportedCommands ---------- -------    ----                                ---------------- Manifest   2.0.0.0    AppLocker                           {Get-AppLockerFile... Manifest   2.0.0.0    Appx                                {Add-AppxPackage, ... Manifest   1.0        BestPractices                       {Get-BpaModel, Get... Manifest   1.0.0.0   ...