virtualcenter


Our IT journal

Using PowerCLI with PowerShell for running scripts on a vCenter

First, we need to disable a few security settings. Start the process by running PowerShell on Admin mode. Run each snippet on the console.   We need to enable TLS 1.2 on PowerShell: [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12   Set the execution policy to run scripts: Set-ExecutionPolicy -ExecutionPolicy Unrestricted   Install the PowerCli module, creating a destination folder for it first: Save-Module -Name … Read More


Random reboots with Dell 14th generation servers CPU0000 PWR2270

If you are experiencing issues with your Dell server, and in the iDRAC logs you are receiving these errors: CPU0000 Internal error has occurred check for additional logs PWR2270 The Intel Management Engine has encountered a Health Event   It’s caused by the power states on the BIOS configuration of the servers. This can occurr regardless of the hypervisor or … Read More


Keep-alive VPN on Windows using PowerShell

Having to rely on Windows VPNs sometimes can be tricky, especially if the VPN tunnel times out. We can use this script for monitoring the tunnel and reconnecting automatically whenever it goes down. We are using the password for the VPN encrypted as seen on this post. $ip = “192.168.5.1” $result = gwmi -query “SELECT * FROM Win32_PingStatus WHERE Address … Read More


Configuring NTP on Windows

This will work for most Windows releases, it will force the OS to update its time sync against an NTP server. Run the following commands on a Powershell window:   w32tm /config /manualpeerlist:time.nist.gov /syncfromflags:MANUAL Stop-Service w32time Start-Service w32time After running those commands, force the sync:   w32tm /resync Check w32tm status: w32tm /query /status  


Dell iDRAC Network connection has dropped

After the latest Java updates you may have seen this message “Network connection has dropped” whenever trying to use viewer.jnlp Go to your Java release lib folder, and comment/change the following lines on your java.security file jdk.tls.disabledAlgorithms=SSLv3, RC4, MD5withRSA, DH keySize < 1024, \ EC keySize < 224, DES40_CBC, RC4_40 This issue is caused by Java disabling 3DES_EDE_CBC – after making … Read More


Exchange 2013/2016/2019 new escalation vulnerability found

Microsoft Exchange appears to be currently vulnerable to a privilege escalation attack that allows any user with a mailbox to become a Domain Admin. On Thursday, Dirk-jan Mollema, a security researcher with Fox-IT in the Netherlands, published proof-of-concept code and an explanation of the attack, which involves the interplay of three separate issues. According to Mollema, the primary problem is that Exchange has … Read More


Block WAN SSH / GUI on Edgerouter OS

To prevent exposing your device from WAN, which is the default, get to the GUI or SSH locally and run these commands. Change the addresses as needed.   configure set service gui listen-address 192.168.20.1 set service ssh listen-address 192.168.20.1 commit save exit  


Property ‘MaxInternalSize’ does not exist in class ‘Msvm_VirtualHardDiskSettingData’ – VHDX on Hyper-V

Sometimes we can mount a VHDX that had its checkpoints saved on another location. When trying to boot the VM we will have a “Property ‘MaxInternalSize’ does not exist in class ‘Msvm_VirtualHardDiskSettingData’.” This is because the disk properties have changed and the VM is linking the checkpoint back to its parent, making the chain corrupted. To remediate this, we will … Read More


virtualcenter is now an approved and recommended Microsoft Solution Provider

We are very happy to announce that we have applied and received the Microsoft Solution Provider approval, which lists us in the main Partner directory. We are ready to be a part of your next project!


Querying EC2 IPs via AWS CLI

I had to get a list for all public IPs mapped to EC2 instances. First start by connecting to AWS via CLI, then use the following:   aws ec2 describe-instances –query “Reservations[*].Instances[*].PublicIpAddress” –output=text   aws ec2 describe-instances –query “Reservations[*].Instances[*].PrivateIpAddress” –output=text   You will see all public/private IPs listed