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
This command shows the contents of the "Windows NT" registry key.
116
+
This command shows the contents of the Microsoft.PowerShell registry key.
163
117
You can use this cmdlet with the Windows PowerShell Registry provider to get registry keys and subkeys, but you must use the **Get-ItemProperty** cmdlet to get the registry values and data.
164
118
165
119
### Example 7: Get items in a directory that have an exclusion
166
120
```
167
121
PS C:\> Get-Item c:\Windows\*.* -exclude "w*"
168
-
169
-
170
-
Directory: C:\Windows
171
-
172
-
173
-
Mode LastWriteTime Length Name
174
-
---- ------------- ------ ----
175
-
d-r--- 12/11/2017 10:25 AM Microsoft.NET
176
-
d----- 4/5/2017 4:34 PM SoftwareDistribution.bak
177
-
-a---- 5/20/2017 10:54 AM 0 ativpsrm.bin
178
-
-a---- 8/25/2008 10:31 PM 292352 atprs.exe
179
-
-a---- 6/3/2017 1:21 PM 64512 bfsvc.exe
180
-
-a--s- 12/11/2017 1:10 PM 67584 bootstat.dat
181
-
-a---- 10/30/2015 10:48 AM 31816 CoreSingleLanguage.xml
182
-
-a---- 10/8/2016 9:45 PM 232960 DfsrAdmin.exe
183
-
-a---- 5/22/2017 10:24 AM 1315 DfsrAdmin.exe.config
184
-
-a---- 12/10/2017 1:21 PM 1908 diagerr.xml
185
-
-a---- 12/10/2017 1:21 PM 1908 diagwrn.xml
186
-
-a---- 3/19/2017 12:29 AM 34774 Enterprise.xml
187
-
-a---- 10/7/2015 2:11 AM 2238152 ETDUninst.dll
188
-
-a---- 9/30/2017 9:12 AM 4848952 explorer.exe
189
-
-a---- 6/3/2017 1:29 PM 975360 HelpPane.exe
190
-
-a---- 3/19/2017 12:27 AM 18432 hh.exe
191
-
-a---- 12/14/2016 10:57 AM 0 HPMProp.INI
192
-
-a---- 3/19/2017 12:27 AM 43131 mib.bin
193
-
-a---- 4/9/2008 6:00 PM 53478 mvtcpui.ini
194
-
-a---- 3/19/2017 12:28 AM 246784 notepad.exe
195
-
-a---- 11/29/2017 4:23 PM 686 PFRO.log
196
-
-a---- 3/19/2017 12:27 AM 321024 regedit.exe
197
-
-a---- 12/10/2017 1:21 PM 445 setupact.log
198
-
-a---- 12/10/2017 1:16 PM 0 setuperr.log
199
-
-a---- 3/19/2017 12:28 AM 130560 splwow64.exe
200
-
-a---- 10/30/2015 10:51 AM 219 system.ini
201
-
-a---- 3/19/2017 12:28 AM 65536 twain_32.dll
202
122
```
203
123
204
124
This command gets items in the Windows directory with names that include a dot (.), but do not begin with w*.
0 commit comments