Nota: Este artículo fue publicado originalmente en 2012. Algunos pasos, comandos o versiones de software pueden haber cambiado. Consulta la documentación actual de Windows Server 2012 para la información más reciente.
Windows Server 2012 list of Powershell commandlets & a few common ones
With the release of Windows Server 2012 server powershell got a few changes as well. There are some quick start guides available here: http://www.microsoft.com/en-us/download/details.aspx?id=30002 that will make most tasks in the command prompt much easier. Below are a few common commandlets that can be useful to know: Instalación and removal of Windows features (always useful if you are running a core installation):
- Install-WindowsFeature – ServerManagerCmd.exe. Can install Windows Roles and Features.
- Remove-WindowsFeature – ServerManagerCmd.exe. Can uninstall Windows Roles and Features.
Some general IP / Network commands:
-
Get-NetIPConfiguración – IPConfig. Obtain IP addresses for network adapters.
-
New-NetFirewallRule – Netsh Advfirewall Add. Can add a new Windows Firewall rule.
-
Get-NetTCPConnection – Netstat. Can retrieve statistics of TCP connections.
-
Get-NetRoute – Route Print. Can display network routing.
-
New-SmbMapping – Net Use. Can map a network path.
Service / Computer management:
- Restart-Computer – shutdown.exe. Can restart local or remote computers.
- Start-Service – Net Start. Can start a Windows service.
- Stop-Service – Net Stop. Can stop a Windows service
- Restart-Service – Net Stop | Net Start. Can restart a Windows service.
(http://img.zemanta.com/zemified_h.png?x-id=cc9ad11e-6ff5-4301-b6f2-9a0970fc0ecc)](http://www.zemanta.com/?px “Enhanced by Zemanta”)
Artículos Relacionados
- How to: Enable Shadow Copy or Previous Version in Windows 2012 R2?
- How to: Make my DNS server resolve my WPAD entry for my proxy server and what is the DNS Block List?
- How to: Resolve errors 13 and 12292 on Volume Shadow Copy Service (VSS) and stop Virtual Machines from going into Save state
- How to: Resolve Windows error 0x8004FE33 indicating client activation failure