WINDOWS: mudanças entre as edições

De Wiki Clusterlab.com.br
Ir para navegação Ir para pesquisar
Linha 39: Linha 39:
*[https://docs.vmware.com/en/VMware-vSphere/6.7/vsphere-esxi-vcenter-server-671-setup-mscs.pdf Setup for Failover Clustering and Microsoft Cluster Service]
*[https://docs.vmware.com/en/VMware-vSphere/6.7/vsphere-esxi-vcenter-server-671-setup-mscs.pdf Setup for Failover Clustering and Microsoft Cluster Service]
==Install==
==Install==
Listing windows features
<syntaxhighlight lang=powershell>
Get-WindowsFeature
</syntaxhighlight>
Highlight Faiolver feature
<syntaxhighlight lang=powershell>
<syntaxhighlight lang=powershell>
Get-WindowsFeature Failover*
Get-WindowsFeature Failover*

Edição das 12h07min de 16 de outubro de 2019

PowerShell

RemoteExecution

Enable remote execution

Enable-PSRemoting -Force

Test connection

Test-WsMan localhost

Run remote command

$cred=Get-Credential
$sess = New-PSSession -Credential $cred -ComputerName localhost
Enter-PSSession $sess
#<remote command to execute>
Exit-PSSession
Remove-PSSession $sess

Remote execution from a server list

$cred=Get-Credential
foreach($line in [System.IO.File]::ReadLines("c:\list.txt"))
{
       $line
       $sess = New-PSSession -Credential $cred -ComputerName $line
       Enter-PSSession $sess
       c:\command_to_execute.exe
       Exit-PSSession
       Remove-PSSession $sess
}

FailOverManager

Install

Listing windows features

Get-WindowsFeature

Highlight Faiolver feature

Get-WindowsFeature Failover*

Errors

0xc0000135

Message

---------------------------
ServerManager.exe - Application Error
---------------------------
The application was unable to start correctly (0xc0000135). Click OK to close the application. 
---------------------------
OK   
---------------------------

Solution

DISM.exe /online /enable-feature /all /featurename:NetFx3
or
DISM.exe /online /enable-feature /all /featurename:NetFx4

Get DELL Service TAG

Get-WmiObject win32_SystemEnclosure | select serialnumber