The main reason why I love PowerShell so much, is that it allows me to surface information that is kept deep into the application’s model and find interesting jewels that are kept in the background (or hidden).Today, I decided to dig deeper into the SharePoint 2016 Web Application. I went ahead and created two identical web applications, one on my SharePoint 2013 environment, and the second on my SharePoint 2016. After extracting the value of each property, I went ahead and compared the defaults between SharePoint 2013 and SharePoint 2016 using PowerShell. I ran the following lines of PowerShell on both environment and compared the resulting tab delimited files:
Add-PSSnapin Microsoft.SharePoint.PowerShell
$webApp = Get-SPWebApplication http://localhost
$webApp | Select -Property * | Export-CSV <FilePath>.csv
So what differs? The following table compares all properties that differ between SharePoint 2013 and SharePoint 2016:
SPWebApplication:
Property Name |
SharePoint 2016 Default Value |
SharePoint 2013 Default Value |
AnonymousResourceTrackingSettings |
Object SPAnonymousResourceTrackingSettings |
Does not exist |
BlockNewContentDatabaseWhenMounting |
FALSE |
Does not exist |
ChangeLogRetentionPeriod |
120 Days |
60 Days |
DeploymentLocked |
FALSE |
Does not exist |
FileSavePostProcessExtensions |
Jpg Jpeg |
Does not exist |
HttpStrictTransportSecuritySettings |
Object SPHttpStrictTransportSecuritySettings |
Does not exist |
IPAddressAccessControlSettings |
SPIPAddressAccessControlSettings Name=SPIPAddressAccessControlSettingsObject |
Does not exist |
ListViewAuditEnabled |
FALSE |
Does not exist |
MaxAuditLogTrimmingRetention |
30 |
Does not exist |
MaximumFileSize |
2047 |
250 |
MaxPreAuthorizedAccessUrlTimeToLive |
2 Days |
Does not exist |
MaxSizeForSelfServiceEvalSiteCreationMB |
20,480 |
102,400 |
ODBSettings |
Object SPODBSettings |
Does not exist |
OutboundMailCertificateThumbprint |
Null |
Does not exist |
OutboundMailEnableSsl |
Null |
Does not exist |
OutboundMailOverrideEnvelopeSender |
Null |
Does not exist |
OutboundMailPort |
Null |
Does not exist |
PingProcessDelay |
90,000 |
Does not exist |
PingTimeAvailable |
NULL |
Does not exist |
PingWarmupPage |
NULL |
Does not exist |
PolicyLoggingEnabled |
TRUE |
Does not exist |
SharePoint2010WorkflowsEnabled |
TRUE |
Does not exist |
ShouldDeferUpgradeActions |
FALSE |
Does not exist |
ShowStartASiteMenuItem |
FALSE |
Does not exist |
SiteResourceTrackingSettings |
Object SPSiteResourceTrackingSettings |
Does not exist |
SiteSubscriptionResourceTrackingSettings |
Object SPSiteSubscriptionResourceTrackingSettings |
Does not exist |
SyncPolicySettings |
SyncPolicySettings Name=SyncPolicySettingsDefault |
Does not exist |
SyncSiteProvisioningDBThrottle |
0 |
Does not exist |
SyncSiteProvisioningThrottle |
1 |
Does not exist |
SyncSiteProvisioningWaitTime |
5 |
Does not exist |
TrimAuditLogEnforced |
TRUE |
Does not exist |
WebFileExtensions |
Ascx Asmx Aspx Htc Jar Master Swf Xap Xsf |
Does not exist |
WnsConfigurationSettings |
SPWnsConfigurationSettings Name=Wns Configuration Settings |
Does not exist |
While some properties names are intuitive, others are more “obscure” and we don’t have all the details as to what they actually do. I will be posting more details as they become available.