You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The **Get-DedupMetadata** cmdlet returns a **DeduplicationMetadata** object for every volume that has optimization metadata.
25
-
A **DeduplicationMetadata** object includes read-only properties describing the nature of the deduplication data store, such as chunk counts, container counts, average chunk size, and other statistics.
26
24
27
-
Because this cmdlet must scan the entire file system.
28
-
this cmdlet requires some time to run.
25
+
The `Get-DedupMetadata` cmdlet returns a **DeduplicationMetadata** object for every volume that has
26
+
optimization metadata. A **DeduplicationMetadata** object includes read-only properties describing
27
+
the nature of the deduplication data store, such as chunk counts, container counts, average chunk
28
+
size, and other statistics.
29
29
30
-
This cmdlet cannot be part of a schedule; it must be run manually.
31
-
If another optimization job is running on the specified volume when you start this cmdlet, then this cmdlet fails.
32
-
It also fails if there is not enough memory for the file system scan and cmdlet processing.
33
-
If the cmdlet fails, then review the events and log files for more information.
30
+
Because this cmdlet must scan the entire file system. this cmdlet requires some time to run.
31
+
32
+
This cmdlet cannot be part of a schedule; it must be run manually. If another optimization job is
33
+
running on the specified volume when you start this cmdlet, then this cmdlet fails. It also fails if
34
+
there is not enough memory for the file system scan and cmdlet processing. If the cmdlet fails, then
35
+
review the events and log files for more information.
34
36
35
37
To run this cmdlet, you must start Windows PowerShell® with the **Run as administrator** option.
36
38
37
-
This cmdlet returns the following properties:
38
-
39
-
-**DataChunkCount**.
40
-
Indicates the number of data chunks in a container.
41
-
-**DataContainerCount**.
42
-
Indicates the number of containers in the data store.
43
-
-**DataChunkAverageSize**.
44
-
Indicates the data store size, not including chunk metadata, divided by the total number of data chunks in the data store.
45
-
-**StreamMapCount**.
46
-
Indicates the number of data streams in a container.
47
-
-**StreamMapContainerCount**.
48
-
Indicates the number of containers in the stream map store.
49
-
-**StreamMapAverageChunkCount**.
50
-
Indicates the stream map store size divided by the total number of streams in the store.
51
-
-**HotspotCount**.
52
-
Indicates the number of hotspots in a container.
53
-
-**HotspotContainerCount**.
54
-
Indicates the number of hotspots in the stream map store.
55
-
-**CorruptionCount**.
56
-
Indicates the number of corruptions found on the volume.
39
+
This cmdlet returns the following properties:
40
+
41
+
-`CorruptionCount`
42
+
- Indicates the number of corruptions found on the volume.
43
+
-`DataChunkAverageSize`
44
+
- Indicates the data store size, not including chunk metadata, divided by the total number of data
45
+
chunks in the data store.
46
+
-`DataChunkCount`
47
+
- Indicates the number of data chunks in a container.
48
+
-`DataContainerCount`
49
+
- Indicates the number of containers in the data store.
50
+
-`HotspotContainerCount`
51
+
- Indicates the number of hotspots in the stream map store.
52
+
-`HotspotCount`
53
+
- Indicates the number of hotspots in a container.
54
+
-`StreamMapAverageChunkCount`
55
+
- Indicates the stream map store size divided by the total number of streams in the store.
56
+
-`StreamMapContainerCount`
57
+
- Indicates the number of containers in the stream map store.
58
+
-`StreamMapCount`
59
+
- Indicates the number of data streams in a container.
57
60
58
61
## EXAMPLES
59
62
60
63
### Example 1: Get metadata for a volume
61
-
```
62
-
PS C:\> Get-DedupMetadata -Volume "D:"
64
+
65
+
```powershell
66
+
Get-DedupMetadata -Volume "D:"
63
67
```
64
68
65
-
This command gets metadata for the D: volume.
69
+
This command gets metadata for the `D:` volume.
66
70
67
71
## PARAMETERS
68
72
69
73
### -AsJob
70
-
Runs the cmdlet as a background job. Use this parameter to run commands that take a long time to complete.
71
74
72
-
The cmdlet immediately returns an object that represents the job and then displays the command prompt.
73
-
You can continue to work in the session while the job completes.
74
-
To manage the job, use the `*-Job` cmdlets.
75
-
To get the job results, use the [Receive-Job](https://go.microsoft.com/fwlink/?LinkID=113372) cmdlet.
75
+
Runs the cmdlet as a background job. Use this parameter to run commands that take a long time to
76
+
complete.
76
77
77
-
For more information about Windows PowerShell background jobs, see [about_Jobs](https://go.microsoft.com/fwlink/?LinkID=113251).
78
+
The cmdlet immediately returns an object that represents the job and then displays the command
79
+
prompt. You can continue to work in the session while the job completes. To manage the job, use the
Runs the cmdlet in a remote session or on a remote computer.
93
-
Enter a computer name or a session object, such as the output of a [New-CimSession](/powershell/module/cimcmdlets/new-cimsession) or [Get-CimSession](https://go.microsoft.com/fwlink/p/?LinkId=227966) cmdlet.
94
-
The default is the current session on the local computer.
99
+
100
+
Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session
101
+
object, such as the output of a [New-CimSession](/powershell/module/cimcmdlets/new-cimsession) or
102
+
[Get-CimSession](https://go.microsoft.com/fwlink/p/?LinkId=227966) cmdlet. The default is the
Specifies the maximum number of concurrent operations that can be established to run the cmdlet.
110
-
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.
111
-
The throttle limit applies only to the current cmdlet, not to the session or to the computer.
118
+
119
+
Specifies the maximum number of concurrent operations that can be established to run the cmdlet. If
120
+
this parameter is omitted or a value of `0` is entered, then Windows PowerShell® calculates an
121
+
optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running on the
122
+
computer. The throttle limit applies only to the current cmdlet, not to the session or to the
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
155
+
156
+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
0 commit comments