CmdID / PowerShell / Cmdlets / Set
Set-SmbShare
Modifies the properties of the SMB share. Windows Server PowerShell reference
From the Windows Server PowerShell reference 25 parameters Its page in the reference
Parameters
Show its 25 parameters
-AsJobRuns the cmdlet as a background job.-CachingModeSpecifies the caching mode of the offline files for the SMB share.-CATimeoutSpecifies the continuous availability time-out of the SMB share.-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.-CompressDataIndicates that the shares being enumerated should request compression from clients.-ConcurrentUserLimitSpecifies the maximum number of concurrently connected users that the SMB share may accommodate.-ContinuouslyAvailableIndicates whether the share is continuously available.-DescriptionSpecifies an optional description of the SMB share.-DirectoryHandleLeasingWhen directory handle leasing is set to $true, the SMB client can cache directory handles and reuse them for future requests.-EncryptDataIndicates whether the SMB share is encrypted.-FolderEnumerationModeSpecifies which files and folders in the new SMB share will be visible to the users.-ForceForces the command to run without asking for user confirmation.-InputObjectSpecifies the input object that's used in a pipeline command.-IsolatedTransportSpecifies whether to use an isolated transport for the SMB share.-LeasingModeSpecifies SMB leasing and oplock behaviors for application compatibility.-NameSpecifies the name of one or more SMB shares.-PassThruReturns an object representing the item with which you're working.-QoSFlowScopeSpecifies the Quality of Service (QoS) flow scope for the SMB share.-QoSPolicyIdSpecifies the QoS policy ID for the SMB share.-ScopeNameSpecifies the scope name of the SMB share.-SecurityDescriptorSpecifies the security descriptor for the SMB share in string format.-SmbInstanceSpecifies the input to this cmdlet.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.