DSCResources/DSC_WSManConfig/en-US/about_WSManConfig.help.txt

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
.NAME
    WSManConfig
 
.DESCRIPTION
    This resource is used to configure general WS-Man settings.
 
.PARAMETER IsSingleInstance
    Key - String
    Allowed values: Yes
    Specifies the resource is a single instance, the value must be 'Yes'
 
.PARAMETER MaxEnvelopeSizekb
    Write - UInt32
    Specifies the WS-Man maximum envelope size in KB. The minimum value is 32 and the maximum is 4294967295.
 
.PARAMETER MaxTimeoutms
    Write - UInt32
    Specifies the WS-Man maximum timeout in milliseconds. The minimum value is 500 and the maximum is 4294967295.
 
.PARAMETER MaxBatchItems
    Write - UInt32
    Specifies the WS-Man maximum batch items. The minimum value is 1 and the maximum is 4294967295.
 
.EXAMPLE 1
 
Set the WS-Man maximum envelope size to 2000KB, the
maximum timeout to 120 seconds and the maximum batch
items to 64000.
 
Configuration WSManConfig_Config
{
    Import-DscResource -Module WSManDsc
 
    Node localhost
    {
        WSManConfig Config
        {
            IsSingleInstance = 'Yes'
            MaxEnvelopeSizekb = 2000
            MaxTimeoutms = 120000
            MaxBatchItems = 64000
        } # End of WSManConfig Resource
    } # End of Node
} # End of Configuration