2025-03-26 00:02:56 +08:00

1.0 KiB
Raw Permalink Blame History

#unity/日常积累

  • 参考

反馈

模块:

Microsoft.PowerShell.Management

获取位于指定位置的项。

语法

Get-Item
   [-Path] <string[]>
   [-Filter <string>]
   [-Include <string[]>]
   [-Exclude <string[]>]
   [-Force]
   [-Credential <pscredential>]
   [-Stream <string[]>]
   [<CommonParameters>]

说明

Get-Item cmdlet 获取位于指定位置的项。 除非使用通配符 (*) 来请求该项的所有内容,否则此命令不会获取位于该位置的项的内容。

PowerShell 提供程序通过使用此 cmdlet可以在不同类型的数据存储进行导航。 某些参数仅适用于特定提供程序。 有关详细信息,请参阅 about_Providers