virtualcenter


Our IT journal

3CX v16 Alpha – Telnyx Inbound SMS not working

Recently 3CX released the Update 7 Alpha version with SMS support. Having clients that were looking forward for the option to centralize SMS messages to call queues or agents, we created a new instance and started the setup with Telnyx. They will give you $10 on credit for registering, ideal to do some tests. Once the setup for Telnyx was … Read More


3CX Debian – Recordings not working – 404 not found

We switched from a Windows-based 3CX to a Debian instance, and migrated the recordings over. The recording path is set by default here: /var/lib/3cxpbx/Instance1/Data/Recordings However, you need to be careful and use the phonesystem user as the owner of the recording folder, and subsequent folders inside, otherwise recordings will stop being saved. This can happen when you restore this folder … Read More


Bypass UAC for programs running without Admin privileges

Due problems on permissions, some programs will try escalating privileges to run with administrative privileges, even if they don’t really have to. We have users that don’t have admin privileges, and in order to bypass the need of making them local admins, we use the following cmd:   Correct the path of the software to run as an admin: cmd … Read More


VMware Virtual Replication – Virtual Machine stays on configuring after datastore migration

We experienced this issue last week, after migrating a replicated VM to a new datastore. We migrated several VMs to faster storage, but there were two with errors related to authentication. The replication kept going fine, but the error didn’t go away. The machine inside the Site Recovery application kept saying: “configuration error. The session is not authenticated”, and the … Read More


Querying a vCenter for mounted ISOs on VMs using PowerCli

As we are retiring datastores that hosts ISOs, some are still in use (or just mounted) on VMs. We can’t take these datastores offline until we figure out which VMs are consuming the datastore just for ISOs. As manually checking is going to take a lot of time, we will just run this via PowerCLI. Start by connecting to PowerCLI … Read More


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


Connecting to AWS CLI using MFA Authentication

Sometimes you may need to connect to AWS environments with MFA enforced using AWS CLI. If you don´t authenticate with MFA, you got high probabilities to obtain a denied access. With this process, you will be able to authenticate with MFA over CLI. 1-Connect to AWS CLI. >$ aws configure >AWS Access Key ID: Your access key >AWS Secret Access … 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