Create a share on a directory or disk. Using this function you can set
the share permission and user limit as well.
This action is typically used in a script that is intended to manage
existing user accounts and move user home directories. When you use Script Action: Copy directory
no share is created. When you want to share a directory, the Create
share action should be applied. A share is typically used to connect
to network data that should be available for a group of users.
|
Property Name |
Description |
Typical setting |
Remarks |
|
Share path |
The full path of the directory that is going to be shared. Both remote
and local directories can be shared.
The share path can be specified in two ways:
For local directories: <logical_drive>\<directory>\<directory>
etc. Example: 'C:\UserData\Marketing'. For remote and local directories:
\\<computer>\<share>\<directory>\<directory>.
Example: '\\SERVER_A\Users\Data'. The directory which is going to be shared
must exist. |
%SharePath% |
|
|
Share name |
The name given to the share. The name must
be unique with respect to other shares on the computer. |
%ShareName% |
You should always use a name that is easily
identified. An user homedirectory for example would be easily identified
by the username. |
|
Make share name unique |
Makes the share name unique. A share name
must always be unique, when the share name is not unique the share will
not be created. |
|
A number is added to make the share name unique.
The number starts with 1 and will increase till an unique name is found.
When this property is not set the share will not be created when the share
name already exists. |
|
Share permissions |
The permissions of the share (!) of the new
directory. If this property is not specified, the default settings apply. |
|
If the permissions of the share are not specified,
the share permissions are set to full control for everyone. |
|
User limit |
Specifies the number of users who can connect
to the shared folder at one time. If this property is not specified, the
number is set to unlimited. |
|
If not specified, an unlimited number of user connections is accepted.
|