Open Powershell with administrative credentials:
PS C:\> $Credential = Get-Credential
PS C:\> $VMHost = Get-SCVMHost -ComputerName “<Hostname of Server here>”
PS C:\> Remove-SCVMHost -VMHost $VMHost -Credential $Credential
The Get-Credential cmd-let will open a prompt in which you have to supply credentials with the rights to remove the host. In the second line you specify the server. This doesn’t have to be the FQDN, the Netbios name will do.
The last line actually removes the server. This may take a few minutes, depending if the server responds or not. If the server does not respond, Powershell waits for a time-out.
VHDX files can take up a lot of unnecessary disk-space, especially if the disk is used for a lot of writes. A dynamic vdisk expands, but does not automatically compacts again.
Read More “Compact a Dynamic VHDX with DiskPart”
When planning for a new Active Directory (AD) or upgrade AD, or merging AD one of the topics that will get on the table is planning DNS. DNS is the Domain Naming system, used to translate names into network (IP) addresses. Certainly this is the case if you need to plan for integration with an extranet, DMZ (demilitarized zone, typically between intranet and internet), or publishing website and applications
Read More “Active Directory: Best Practices for Internal Domain and Network Names”
- WMI is a Windows OS component that is present on every Windows server and PC
- WMI corruption can cause failures that include failure to apply Group Policy
- Some organizations rely upon Group Policy to secure servers, secure group membership to groups with elevated rights, and to provide the working environment for interactive Remote Desktop Services users
- WMI failures could lead to service outages or security issues
Read More “Monitoring for WMI corruption issues and rebuilding WMI”