Posts Tagged ‘PowerShell’
How to manually remove a missing host from SCVMM
You may see the following error when trying to remove a “dead” host from your SCVMM console.
Error (406)
Access has been denied while contacting the server <servername>.
Recommended Action
1. Verify that the specified user account has administrative privileges on <servername>.
2. Verify that DCOM access, launch, and activation permissions are enabled on <servername> for the Administrators group. Use dcomcnfg.exe to modify permissions, and then try the operation again.
If that server is no longer online you need a way to remove it from your SCVMM. To do that you may use the PowerShell that come with the SCVMM console:
get-vmmserver <Vmm_Server_Name>
Than forcibly remove the missing host server by running:
remove-vmhost <Host_Server_Name> –force
Wait a few seconds and the host should be removed from the console.
Core Configurator 2.0 is available for download
Core Configurator 2.0 is available for download at CODEPLEX.
It is completely open source so it can be ammended and change to fit your requirements, this version has been a year in the making and has been written in powershell with a reference to Winforms so that a GUI format is displayed.
The primary focus of this project is to try and get feedback and contributions back from the community to make this a tool the best/ free tool everyone will want in there toolkit, so if you have some code or features that you might want included then please leave a comment and we will get in touch.
Core Configuration tasks include:
-Product Licencing
-Networking Features
-DCPromo Tool
-ISCSI Settings
-Server Roles and Features
-User and Group Permissions
-Share Creation and Deletion
-Dynamic Firewall settings
-Display
-Screensaver Settings
-Add & Remove Drivers
-Proxy settings
-Windows Updates (Including WSUS)
-Multipath I/O
-Hyper-V including virtual machine thumbnails
-JoinDomain and Computer rename
-Add/remove programs
-Services
-WinRM
-Complete logging of all commands executed
