PowerShell, Microsoft’s replacement for the commandline, is included with Windows Server 2008, but you do need to install it. Here are the steps you need to take to get PowerShell up and running on your server:
1. Click Start and select Server Manager.
![](http://blogs.tech-recipes.com/shamanstears/files/2007/07/ws2008_startservermgr2.png)
2. When the Server Manager window appears, go to the left pane and select Features.
![](http://blogs.tech-recipes.com/shamanstears/files/2007/07/winsrv2k8_features.png)
3. On the right, click the Add Features link.
![](http://blogs.tech-recipes.com/shamanstears/files/2007/07/winsrv2k8_powershll2.png)
4. Scroll down the list and check the Windows PowerShell checkbox.
![](http://blogs.tech-recipes.com/shamanstears/files/2007/07/winsrv2k8_powershll1.png)
5. Click Next.
6. Click Install.
7. When the installation is complete, Windows should display that the installation succeeded.
![](http://blogs.tech-recipes.com/shamanstears/files/2007/07/winsrv2k8_powershll3.png)
8. Click Close.
9. Close the Server Manager.
10. To open PowerShell, go to the Start Menu, click All Programs and expand the Windows PowerShell 1.0 folder to get to the shortcut to Windows PowerShell.
![](http://blogs.tech-recipes.com/shamanstears/files/2007/07/winsrv2k8_powershll4.png)
<!-- google_ad_section_end -->
分享到:
相关推荐
通过PowerShell,你可以使用`Install-WindowsFeature DHCP –IncludeManagementTools`命令来添加DHCP服务及相关的管理工具。这个命令将安装DHCP服务器角色以及所需的管理工具,让你能够通过图形界面或命令行进行配置...
"Windows Server 2012 R2 安装 SQL Server 2012出现的问题" 在安装 SQL Server 2012 时,可能会出现一些问题,例如 OS 和 SQL Server 语言不同导致的报错、安装停留在启用操作系统功能 NetFx3 界面上、安装 .NET ...
《数据保护:Windows Server 2008 R2 中的备份基础》 Windows Server 2008 R2 提供了一套全新的备份工具,旨在帮助IT专业人员更好地保护其服务器数据。相较于旧版的NTBackup,这个新工具集提供更高效、更便捷的备份...
`Install-WindowsFeature Server-Gui-Shell, Server-Gui-Mgmt-Infra` 这将安装图形化界面所需的组件,并显示安装进度条。 步骤 6: 重启系统 重启系统以确保安装生效。 步骤 7: 进入图形化界面 重启系统后,系统...
V Step by step instructions on how to install Hyper-V Proactively Monitor SQL Server with Operations Manager Install Windows Server 2008 certificates to encrypt SQL Server dataContributing Writers ...
这是一个PowerShell模块,可以使用OS身份验证或数据库用户凭据从Windows查询Oracle数据库。 用户可以传递查询或SQL文件以对数据库运行。 它适用于Windows和Linux服务器上托管的数据库。 依存关系 要访问数据库,该...
PowerShell PKI模块项目介绍...文献资料所有文档都可以在PKI解决方案上找到:使用PowerShell从PowerShell库下载并安装PowerShell PKI模块Install-Module - Name PSPKI模块要求Windows PowerShell 3.0或更高版本.NET Fra
install-windowsfeature Wireless-Networking 之后重启。 运行cmd输入: sc config WlanSvc start= auto && sc start Audiosrv 2.音频服务 运行cmd输入: sc config Audiosrv start= auto && sc start Audiosrv ...
C:\Windows\System32\WindowsPowerShell\v1.0\; c:\python32\python;C:\MinGW\bin;C:\Program Files\GTK2-Runtime\lib; C:\Program Files\MySQL\MySQL Server 5.5\bin;C:\Program Files\nodejs\; C:\Users\rg\App...
New-ItemProperty -Path "HKLM:\SOFTWARE\OpenSSH" -Name DefaultShell -Value "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -PropertyType String -Force New-ItemProperty -Path "HKLM:\...
如果域服务器是 Windows Server 2008R2 的话,我们需要额外配置以支持 Windows 10 的组策略。具体步骤如下: 1. 下载 ADMX 模板:https://www.microsoft.com/en-us/download/details.aspx?id=53430 2. 在 DC 的 \\...
Windows Server 2012 R2 简体中文语言包 打开PowerShell,输入“LPKSetup.exe”,单击“install display languages”,单击“browse...”来选择下载好的语言包(zh-cn下的lp)
SQL Server登录监视器使用PowerShell和Windows Task Scheduler API对可远程访问SQL Server数据库进行蛮力攻击防御。 本文中的更多详细信息: : 安装: 以本地Windows管理员(或域管理员)身份登录运行SQL Server的...
在Windows Server 2016中安装Docker是一项重要的任务,因为这将允许你利用容器技术来部署和管理应用程序。Windows Server 2016原生支持两种类型的容器:Windows Server容器和Hyper-V容器,这两种容器都提供了一种轻...
VisualSVN Server allows you to easily install and manage a fully-functional Subversion server on the Windows platform. Thanks to its robustness, unbeatable usability and unique enterprise-grade ...
You will also learn how to use Hyper-V version 3 PowerShell cmdlets to install and configure Hyper-V in a Windows Server environment and also learn about the various administration tasks in detail....
3. Microsoft SQL Server 2008 R2 SP1 Native Client:用于与 SQL Server 数据库进行交互。 4. Windows Identity Foundation (KB974405) 和 Windows Identity Extensions:提供身份验证和授权支持。 5. Microsoft ...
2. **安装MSA账号**:在需要使用MSA的服务主机上,同样以管理员身份打开PowerShell,使用`Install-ADServiceAccount`命令将MSA安装到本地系统中。 3. **分配MSA给服务**:在服务控制管理器中,找到需要配置的服务,...
在Windows Server上安装Zabbix-Agent的Ansible角色 经过测试的平台是: Windows Server 2012 R2 依赖关系: 该角色在本地和远程计算机上使用WinRM模块。 适用于本地计算机的WinRM模块: pip install ...
Sample VBScript scripts and Windows PowerShell scripts Troubleshooting tools Links to toolkits, documentation, and white papers Fully searchable eBook of this guide Complete eBook of INTRODUCING ...