Add-SCACShare

Applies To: System Center 2012 R2 App Controller

Add-SCACShare

Adds a library share.

Syntax

Parameter Set: Default
Add-SCACShare [-Path] <Uri> [-PassThru] [ <CommonParameters>]

Detailed Description

The Add-SCACShare cmdlet adds a library share.

Parameters

-PassThru

Returns a share path object. By default, this cmdlet does not generate output.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Path<Uri>

Specifies the path of the share to add.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Add a library share

This command adds the share named \\LibraryServer\LibraryPath.

PS C:\> Add-SCACShare -Path "\\LibraryServer\LibraryPath"

Get-SCACShare

Remove-SCACShare