Skip to content

Example1 and description do not match #3711

Open
@OgJAkFy8

Description

@OgJAkFy8

This command creates an SMB share named Public not VMSFiles as discribed below. It also appears on older versions.

Example 1: Create an SMB share

$Parameters = @{
    Name = 'Public'
    Path = 'D:\Public'
    FullAccess = 'Contoso\Administrator', 'Contoso\Contoso-HV1$'
}

New-SmbShare @Parameters

This command creates an SMB share named VMSFiles and grants Full Access permissions to Contoso\Administrator, and Contoso\Contoso-HV1$.


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

Labels

area-smbshareIssues for smbshare module

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions