Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
Bentley 中国优先社区
  • Welcome to Bentley Communities
  • Bentley's Communities
  • Bentley 中国优先社区
  • Cancel
Bentley 中国优先社区
技术资料库 1. PowerShell常用命令
    • Sign In
    Bentley 中国优先社区 requires membership for participation - click to join
    • -Bentley 中文技术资料库
      • +AutoPIPE
      • +Bentley Civil
      • +Bentley Navigator
      • +Bentley Substation
      • +BRCM
      • +BridgeMasterModeler/OpenBridgeModeler
      • +i-model / DgnDb
      • +LumenRT/ContextCapture
      • +MicroStation
      • +MOSES
      • +OpenBuildings Designer
      • +OpenFlows
      • +OpenPlant
      • +OpenPlant Electrical CCK
      • Plaxis 地质分析
      • -ProjectWise
        • 01 - ProjectWise简介
        • +02 - 服务器安装配置
        • +03 - ProjectWise远程办公指南
        • +04-ProjectWise Web China
        • +ProjectWise Caching Server_缓存服务器
        • +ProjectWise Distribution Services_分发服务
        • ProjectWise Essentials
        • ProjectWise Gateway Service_网关服务
        • ProjectWise InterPlot Server_打印服务器
        • ProjectWise Publishing Server_文档发布服务器
        • +ProjectWise Transmittal Services_传送服务
        • +ProjectWise Web服务
        • +ProjectWise Workflow Rules Engine
        • +ProjectWise 中国工具包
        • +ProjectWise 客户端
        • +ProjectWise 常见问题
        • +ProjectWise 新版本特性
        • +ProjectWise 用户同步服务
        • +ProjectWise 课程视频
        • +ProjectWise 集成服务器
        • +ProjectWise_CE_WorkSpace配置
        • +ProjectWise二次开发
        • ProjectWise成功案例
        • +ProjectWise打印
        • +ProjectWise本地化工作流程引擎插件
        • +Projectwise移动端应用
        • +ProjectWise管理员端
        • -ProjectWise自动化工具——PWPS_DAB
          • 0. PowerShell是什么?
          • 1. PowerShell常用命令
          • 2. 安装PWPS_DAB
        • +Transmittal Services
        • 升级到ProjectWise CE
      • +ProStructures
      • +SACS
      • +STAAD.Pro
      • +SYNCHRO Pro
      • +其 它
      • +建筑设计之思考(赵大师专作)
      • +桥梁大师<BridgeMaster>
      • +现浇箱梁
      • +软件激活及授权
    • +iTwin 数字孪生平台
    • Bentley二次开发资料库
    • +常见问题汇总
    • Bentley-Learn 官方教学平台-使用方法
    • +中国优先社区使用指南
    • +Bentley学习资料库
    • +Bentley用户成功活动精选
    • +服务合作伙伴计划

     
     Questions about this article, topic, or product? Click here. 

    1. PowerShell常用命令

    0. 如何启动PowerShell:在Windows的搜索窗口中直接输入PowerShell并回车就能启动PowerShell。如下图所示:

           

    1. 查询当前PowerShell的版本:在PowerShell命令提示符后输入$PSVersionTable并回车。如下图所示:

    2. 获取PowerShell支持的所有命令:在PowerShell命令提示符后输入gcm并回车能列出很长一长串当前PowerShell支持的命令。gcm是Get-Command的缩写。

    3. 查询某个PowerShell命令的帮助:当我们对gcm列出的某个命令不熟悉时,可以在PowerShell命令提示符后输入help 命令名并回车就能列出该命令的说明。比如help gcm。要查看更详细的帮助,可以键入help gm -detailed或help gcm -Full。要想查看某个命令的例子,可以键入help gcm -Examples。

    4. 清空当前窗口内容:在PowerShell命令提示符后输入cls并回车能情况当前窗口内容。cls是Clear-Host的缩写。

    5. 退出PowerShell:在PowerShell命令提示符后输入exit并回车能关闭当前PowerShell窗口。

    • Share
    • History
    • More
    • Cancel
    • Yongan.Fu Created by Bentley Colleague Yongan.Fu
    • When: Thu, Aug 4 2022 9:44 PM
    • Yongan.Fu Last revision by Bentley Colleague Yongan.Fu
    • When: Tue, Dec 13 2022 10:52 PM
    • Revisions: 3
    • Comments: 0
    • Sign in to reply
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies