New-SPAccessServicesApplication
Creates an Access Services Service Application.
Syntax
DefaultParameterSet
New-SPAccessServicesApplication
-ApplicationPool <SPIisWebServiceApplicationPoolPipeBind>
-DatabaseServer <String>
[-AssignmentCollection <SPAssignmentCollection>]
[-CacheTimeout <Int32>]
[-Confirm]
[-DatabaseServerCredentials <PSCredential>]
[-Default]
[-Encrypt <Boolean>]
[-Hosted <Boolean>]
[-Name <String>]
[-PrivateBytesMax <Int32>]
[-QueryTimeout <Int32>]
[-RecoveryPointObjective <Int32>]
[-RequestDurationMax <Int32>]
[-SessionsPerAnonymousUserMax <Int32>]
[-SessionsPerUserMax <Int32>]
[-TrustServerCertificate <Boolean>]
[-WhatIf]
[<CommonParameters>]
NoApplicationServerParameterSet
New-SPAccessServicesApplication
-ApplicationPool <SPIisWebServiceApplicationPoolPipeBind>
[-AssignmentCollection <SPAssignmentCollection>]
[-CacheTimeout <Int32>]
[-Confirm]
[-Default]
[-Hosted <Boolean>]
[-Name <String>]
[-PrivateBytesMax <Int32>]
[-QueryTimeout <Int32>]
[-RecoveryPointObjective <Int32>]
[-RequestDurationMax <Int32>]
[-SessionsPerAnonymousUserMax <Int32>]
[-SessionsPerUserMax <Int32>]
[-WhatIf]
[<CommonParameters>]
Description
Creates an Access Services Service Application.
Examples
Example 1
New-SPAccessServicesApplication -DatabaseServer SQLServerName -ApplicationPool 'SharePoint Web Services Default' -Name 'Access Services Service Application' -Default
Creates an Access Services Service Application.
Parameters
-ApplicationPool
Applicable: SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019
Specifies the existing IIS application pool in which to run the Web service for the service application.
The type must be a valid GUID, in the form 12345678-90ab-cdef-1234-567890bcdefgh; a valid name of an application pool (for example, AppPoolName1); or an instance of a valid IISWebServiceApplicationPool object.
Parameter properties
Type: | SPIisWebServiceApplicationPoolPipeBind |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-AssignmentCollection
Applicable: SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019
Manages objects for the purpose of proper disposal. Use of objects, such as SPWeb or SPSite, can use large amounts of memory and use of these objects in Windows PowerShell scripts requires proper memory management. Using the SPAssignment object, you can assign objects to a variable and dispose of the objects after they are needed to free up memory. When SPWeb, SPSite, or SPSiteAdministration objects are used, the objects are automatically disposed of if an assignment collection or the Global parameter is not used.
When the Global parameter is used, all objects are contained in the global store. If objects are not immediately used, or disposed of by using the Stop-SPAssignment command, an out-of-memory scenario can occur.
Parameter properties
Type: | SPAssignmentCollection |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-CacheTimeout
Applicable: SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019
The maximum time (in seconds) that a data cache can remain available, as measured from the end of each request for data in that cache.
Valid values: -1 (indicates no limit); 1 through 2073600 (24 days).
Parameter properties
Type: | Int32 |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Confirm
Applicable: SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019
Prompts you for confirmation before running the cmdlet.
Parameter properties
Type: | SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | cf |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-DatabaseServer
Applicable: SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019
Specifies the name of the host server for the database specified in DatabaseName.
The type must be a valid SQL Server host name; for example, SERVER\Database.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
DefaultParameterSet
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-DatabaseServerCredentials
Applicable: SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019
Specifies the credentials used to log into the database server.
Parameter properties
Type: | PSCredential |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
DefaultParameterSet
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Default
Applicable: SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019
Add to default Service Application Proxy group.
Parameter properties
Type: | SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
DefaultParameterSet
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
NoApplicationServerParameterSet
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Encrypt
Applicable: SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019
Specifies to use SSL encryption between Access Services and the SQL Server hosting Access Services databases.
Parameter properties
Type: | Boolean |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
DefaultParameterSet
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Hosted
Applicable: SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019
Not used.
Parameter properties
Type: | Boolean |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Name
Applicable: SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019
Specifies the name of the Access Services Service Application to create.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-PrivateBytesMax
Applicable: SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019
The maximum number of private bytes (in MB) allocated by the Access Services process.
Valid values: -1 (the limit is set to 50% of physical memory on the machine), any positive integer.
Parameter properties
Type: | Int32 |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-QueryTimeout
Applicable: SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019
Maximum time in seconds for a database command or query to execute before it is cancelled.
Valid values: 0 (indicates no limit); 1 through 2073600 (24 days). Recommended value is 60.
Parameter properties
Type: | Int32 |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-RecoveryPointObjective
Applicable: SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019
Not used.
Parameter properties
Type: | Int32 |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-RequestDurationMax
Applicable: SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019
The maximum duration (in seconds) allowed for a request from an application.
Valid values: -1 (indicates no limit); 1 through 2073600 (24 days).
Parameter properties
Type: | Int32 |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-SessionsPerAnonymousUserMax
Applicable: SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019
The maximum number of sessions allowed per anonymous user. If this maximum is hit the oldest session will be deleted when a new session is started.
Valid values: -1 (no limit), 1 to any positive integer.
Parameter properties
Type: | Int32 |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-SessionsPerUserMax
Applicable: SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019
The maximum number of sessions allowed per user. If a user has this many sessions and starts a new session, the user's oldest session is deleted.
Valid values: -1 (no limit), from 1 to any positive integer.
Parameter properties
Type: | Int32 |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-TrustServerCertificate
Applicable: SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019
Sets a value that indicates whether the channel will be encrypted while bypassing walking the certificate chain to validate trust.
Parameter properties
Type: | Boolean |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
DefaultParameterSet
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-WhatIf
Applicable: SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Parameter properties
Type: | SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | wi |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Inputs
Microsoft.SharePoint.PowerShell.SPIisWebServiceApplicationPoolPipeBind
Microsoft.SharePoint.PowerShell.SPAssignmentCollection