CmdID / PowerShell / Cmdlets / New
New-FileShare
Creates an access point for a remote file share. Windows Server PowerShell reference
From the Windows Server PowerShell reference 15 parameters Its page in the reference
Parameters
-AsJobRuns the cmdlet as a background job.-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-ContinuouslyAvailableIndicates whether the file share is continuously available.-DescriptionSpecifies a user-friendly description of the file share.-EncryptDataIndicates whether to encrypt the data on transport.-FileServerFriendlyNameSpecifies the name of the file server to host the file share.-FileServerUniqueId, -IdSpecifies the unique ID of the file server.-InputObjectSpecifies the input object that is used in a pipeline command.-NameSpecifies the name of the file share to create.-ProtocolSpecifies the file sharing protocol.-RelativePathNameSpecifies the relative path.-SourceVolumeSpecifies the source volume.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.