-
Notifications
You must be signed in to change notification settings - Fork 107
SPVisioServiceApp
Brian Farnhill edited this page Oct 26, 2016
·
19 revisions
Parameters
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
Name | Key | string | The name of the service application | |
ApplicationPool | Required | string | The name of the application pool to run the service app in | |
ProxyName | Write | string | The name of the Visio Service Application Proxy | |
Ensure | Write | string | Present if the service app should exist, absent if it should not | Present, Absent |
InstallAccount | Write | String | POWERSHELL 4 ONLY: The account to run this resource as, use PsDscRunAsCredential if using PowerShell 5 |
Description
This resource is responsible for creating Visio Graphics Service Application instances within the local SharePoint farm. The resource will provision and configure the Visio Graphics Service Application.
Examples
Example 1
This example shows how to create a new visio services service app in the local farm
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-DscResource -ModuleName SharePointDsc
node localhost {
SPVisioServiceApp VisioServices
{
Name = "Visio Graphics Service Application"
ApplicationPool = "SharePoint Web Services"
InstallAccount = $SetupAccount
}
}
}
Example 2
This example shows how to remove a visio services service app in the local farm. The ApplicationPool property is still requried but is not used when removing, so the value used here doesn't matter.
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-DscResource -ModuleName SharePointDsc
node localhost {
SPVisioServiceApp VisioServices
{
Name = "Visio Graphics Service Application"
ApplicationPool = "n/a"
Ensure = "Absent"
InstallAccount = $SetupAccount
}
}
}
- Home
- Getting Started
- Pre-requisites
- Installing the module
- Exporting SharePoint Configuration
- Creating Configuration Files
- Pre-created Examples
- Creating an Azure development environment
- Understanding Resources & Syntax
- Remote PowerShell Authentication
- Contributing to SharePointDsc
- Other useful modules for SharePoint DSC configurations