Starting Windows PowerShell (启动 Windows PowerShell)

这篇具有很好参考价值的文章主要介绍了Starting Windows PowerShell (启动 Windows PowerShell)。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

Starting Windows PowerShell (启动 Windows PowerShell)

Windows PowerShell is a scripting engine .DLL that’s embedded into multiple hosts. The most common hosts you’ll start are the interactive command-line powershell.exe and the Interactive Scripting Environment powershell_ise.exe.
Windows PowerShell 是一个嵌入到多个主机中的脚本引擎 .DLL。启动的最常见主机是交互式命令行 powershell.exe 和交互式脚本环境 powershell_ise.exe

1. PowerShell has renamed binary

PowerShell version 6 and higher uses .NET Core. Supported versions are available on Windows, macOS, and Linux.

Beginning in PowerShell 6, the PowerShell binary was renamed pwsh.exe for Windows and pwsh for macOS and Linux. You can start PowerShell preview versions using pwsh-preview.
可以使用 pwsh-preview 启动 PowerShell 预览版。

2. How to Start Windows PowerShell on Earlier Versions of Windows

This section explains how to start Windows PowerShell and Windows PowerShell Integrated Scripting Environment (ISE) on Windows.

2.1. From the Start Menu

  • Click Start, type PowerShell, and then click Windows PowerShell.
  • From the Start menu, click Start, click All Programs, click Accessories, click the Windows PowerShell folder, and then click Windows PowerShell.

2.2. With Administrative privileges / Run as administrator (使用管理权限 / 以管理员身份运行)

Click Start, type PowerShell, right-click Windows PowerShell, and then click Run as administrator.

Starting Windows PowerShell (启动 Windows PowerShell)

2.3. At the Command Prompt (在命令提示符处)

In cmd.exe, Windows PowerShell, or Windows PowerShell ISE, to start Windows PowerShell, type: PowerShell

Starting Windows PowerShell (启动 Windows PowerShell)

3. How to Start Windows PowerShell ISE on Earlier Releases of Windows

3.1. From the Start Menu

  • Click Start, type ISE, and then click Windows PowerShell ISE.
  • From the Start menu, click Start, click All Programs, click Accessories, click the Windows PowerShell folder, and then click Windows PowerShell ISE.

3.2. With Administrative privileges / Run as administrator (使用管理权限 / 以管理员身份运行)

Click Start, type ISE, right-click Windows PowerShell ISE, and then click Run as administrator.

Starting Windows PowerShell (启动 Windows PowerShell)

3.3. At the Command Prompt

In cmd.exe, Windows PowerShell, or Windows PowerShell ISE, to start Windows PowerShell, type: PowerShell_ISE

Starting Windows PowerShell (启动 Windows PowerShell)

Starting Windows PowerShell (启动 Windows PowerShell)

4. Starting the 32-Bit Version of Windows PowerShell

When you install Windows PowerShell on a 64-bit computer, Windows PowerShell (x86), a 32-bit version of Windows PowerShell is installed in addition to the 64-bit version. When you run Windows PowerShell, the 64-bit version runs by default.

However, you might occasionally need to run Windows PowerShell (x86), such as when you’re using a module that requires the 32-bit version or when you’re connecting remotely to a 32-bit computer.
但是,有时可能需要运行 Windows PowerShell (x86),例如使用需要 32 位版本的模块时,或者远程连接到 32 位计算机时。

References

Starting Windows PowerShell
https://learn.microsoft.com/en-us/powershell/scripting/windows-powershell/starting-windows-powershell文章来源地址https://www.toymoban.com/news/detail-452942.html

到了这里,关于Starting Windows PowerShell (启动 Windows PowerShell)的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • zookeeper启动时Starting zookeeper ... FAILED TO START问题处理

    Linux服务器中启动zookeeper服务时,出现 Starting zookeeper ... FAILED TO START 错误 通过分析zookeeper启动日志发现 启动zookeeper失败提示8080端口被占用,这是zookeeper3.5的特性 Zookeeper AdminServer,默认使用8080端口 修改zoo.cfg文件的配置,添加如下配置 修改后再次启动zookeeper,查看启动日志

    2024年02月06日
    浏览(35)
  • Windows 10 系统PowerShell美化 IDEA终端、VsCode终端以及Windows Terminal的PowerShell

    Linux 和 macOS 上的 PowerShell 使用 .NET Core,即 Microsoft Windows 上的完整 .NET Framework 的子集。 这非常重要,因为 PowerShell 提供对基础框架类型和方法的直接访问。 因此,在 Windows 上运行的脚本可能无法在非 Windows 平台上运行,因为框架之间存在差异。 Windows 终端程序是一款新式、

    2024年02月07日
    浏览(41)
  • mysql启动Starting MySQL ERROR! Starting MySQL ERROR! Couldn‘t find MySQL server (/usr/local/mysql/bin/

    原因:mysql.server里面这两行没有添加路径,添加路径后即可解决问题 之后又出现新的报错: Starting MySQL.2023-11-23T17:38:37.571813Z mysqld_safe error: log-error set to \\\'/var/log/mariadb/mariadb.log\\\', however file don\\\'t exists. Create writable for user \\\'mysql\\\'.  ERROR! The server quit without updating PID file (/data/mysql-5.

    2024年02月02日
    浏览(45)
  • 【powershell】Windows环境powershell 运维之历史文件压缩清理

    🦄 个人主页——🎐开着拖拉机回家_Linux,大数据运维-CSDN博客 🎐✨🍁 🪁🍁🪁🍁🪁🍁🪁🍁 🪁🍁🪁🍁🪁🍁🪁 🪁🍁🪁🍁🪁🍁🪁🍁🪁🍁🪁🍁 感谢点赞和关注 ,每天进步一点点!加油! 目录 一、Power Shell概述 1.1 Windows Power Shell简介 1.2 PowerShell是什么 1.3 windo

    2024年02月04日
    浏览(40)
  • win11家庭版安装Docker启动一直Starting the Docker Engine...

    越多越多的应用通过Docker方式来运行,确实Docker方式运行也很方便,都是一个独立的运行环境,部署也很方便。于是决定安装下Docker试试,之前用Docker的时候还是win10,现在win11了。 安装倒是可以安装上,但是启动的时候,一直Starting the Docker Engine...,问度娘的方式试了也不行

    2024年03月26日
    浏览(32)
  • powershell中文乱码 windows cmd

    问题的起因是windoes默认字符编码是GBK,而目前通用字符集使用的是UTF-8 关于字符集的问题欢迎移架到 字符集 最终解决方案 为使用最新的windows特性,将默认字符集切换到UTF-8 方法1. 进入控制面板 - 时钟和区域 - 区域 - 管理 - 更改系统区域设置 - 勾选Beta版:使用 UnicodeUTF-8提供全

    2024年02月02日
    浏览(34)
  • 用powershell代码安装Windows软件

    最近由于工作原因,经常需要接触到服务器,开始的时候我用的cmd命令栏,后来改了注意换掉到了powershell,建议使用Windows 2012及以上,因为涉及到Windows版本问题。 相信各位很多都有接触过云服务器,没有接触过也没关系,相当多的厂商对新手都比较友好,不仅提供了试用,

    2024年02月12日
    浏览(29)
  • zookeeper启动报错出现Starting zookeeper ... FAILED TO START详细解决方案

    第1步 来到zkServer.sh 的文件目录下,执行 发现是 此节点上的Zookeeper 所处阶段与 当前ClouderaManager中Zookeeper 的阶段 不匹配 ,导致无法启动此节点上面的 Zookeeper Quorum Server 。   第2步 来到zkData,目录,然后清空version-2文件夹 和删除zookeeper-server.pid文件并同步其他服务器 第3步

    2024年02月02日
    浏览(46)
  • Windows系统Starting the Docker Engine 一直转圈解决方法

    Windows系统Starting the Docker Engine 一直转圈解决方法 – 蓝队云 docker初始化安装时的WSL两个问题_unexpected wsl error-CSDN博客 docker desktop 因为某些原因无法打开报错wsl_docker desktop something went wrong-CSDN博客

    2024年04月12日
    浏览(32)
  • windows使用vim编辑文本powershell

    1、安装 chocolatey 包 以管理员身份打开 PowerShell 进行安装 2、管理员身份打开 PowerShell 并使用 choco 安装 vim 安装后,你可以运行 vim 在 PowerShell 控制台上编辑文本文件 vim .mercurial.ini

    2024年02月10日
    浏览(45)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包