Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 19 additions & 2 deletions docset/winserver2012-ps/smbshare/Set-SmbShare.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ Modifies the properties of the Server Message Block (SMB) share.

## SYNTAX

### UNNAMED_PARAMETER_SET_1
### Query
```
Set-SmbShare [-AsJob] [-CachingMode <CachingMode>] [-CATimeout <UInt32>] [-CimSession <CimSession[]>]
[-ConcurrentUserLimit <UInt32>] [-ContinuouslyAvailable <Boolean>] [-Description <String>]
[-EncryptData <Boolean>] [-FolderEnumerationMode <FolderEnumerationMode>] [-Force] [-PassThru]
[-SecurityDescriptor <String>] [-ThrottleLimit <Int32>] -InputObject <CimInstance[]> [-Confirm] [-WhatIf]
```

### UNNAMED_PARAMETER_SET_2
### InputObject (cdxml)
```
Set-SmbShare [-Name] <String[]> [[-ScopeName] <String[]>] [-AsJob] [-CachingMode <CachingMode>]
[-CATimeout <UInt32>] [-CimSession <CimSession[]>] [-ConcurrentUserLimit <UInt32>]
Expand Down Expand Up @@ -311,6 +311,23 @@ Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```

### -SmbInstance
Specifies the input to this cmdlet.
You can use this parameter, or you can pipe the input to this cmdlet.

```yaml
Type: SmbInstance
Parameter Sets: Query
Aliases:
Accepted values: Default, CSV, SBL, SR

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```

### -ThrottleLimit
Specifies the maximum number of concurrent operations that can be established to run the cmdlet.
If this parameter is omitted or a value of `0` is entered, then Windows PowerShell® calculates an optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running on the computer.
Expand Down
5 changes: 3 additions & 2 deletions docset/winserver2012r2-ps/smbshare/Set-SmbShare.md
Original file line number Diff line number Diff line change
Expand Up @@ -338,13 +338,14 @@ Accept wildcard characters: False
```

### -SmbInstance
{{Fill SmbInstance Description}}
Specifies the input to this cmdlet.
You can use this parameter, or you can pipe the input to this cmdlet.

```yaml
Type: SmbInstance
Parameter Sets: Query
Aliases:
Accepted values: Default, CSV
Accepted values: Default, CSV, SBL, SR

Required: False
Position: Named
Expand Down