Extension information saved in Elastix

Extension information saved in Elastix cat /etc/asterisk/sip_additional.conf   [root@pbx asterisk]# cat /etc/asterisk/sip_additional.conf ;——————————————————————————–; ; Do NOT edit this file as it is auto-generated by FreePBX. All modifications to ; ; this file must be done via the web gui. There are alternative files to make ; ; custom modifications, details at: http://freepbx.org/configuration_files ; ;——————————————————————————–; ; … Read more

How to get vms, with their current ips, macaddresses, networkcard types

How to get vms, with their current ips, macaddresses, networkcard types Below are the script i got to get all VM name UUID, VLAN assigned, MAC address , IP address,Network card type. Its export in CSV .   $reportedvms=New-Object System.Collections.ArrayList $vms=get-view -viewtype virtualmachine |Sort-Object -Property { $_.Config.Hardware.Device | where {$_ -is [VMware.Vim.VirtualEthernetCard]} | Measure-Object | … Read more

How to Configuring an NTP Time Server on ESXi PowerCLI

How to Configuring an NTP Time Server on ESXi PowerCLI If there are no NTP server configured Get-VMHost esx01 | Add-VMHostNtpServer -NtpServer ntpservername   Or to first of all clear existing NTP server(s) then set the new one: Get-VMHost esx01 | Remove-VMHostNtpServer -NtpServer (Get-VMHost esx01 | Get-VMHostNtpServer) Get-VMHost esx01 | Add-VMHostNtpServer -NtpServer ntpservername   Source … Read more

How to check VMFS version & block sizes PowerCLI

How to check VMFS version & block sizes PowerCLI Get-Datastore | Get-View | Select-Object Name,@{N=”VMFS version”;E={$_.Info.Vmfs.Version}},@{N=”BlocksizeMB”;E={$_.Info.Vmfs.BlockSizeMB}}   NameVMFS version BlocksizeMB —————- ———– TempDS 5.58 1 datastore1 5.54 1 datastore1 (3) 5.54 1 datastore1 (1) 5.54 1 datastore1 (4) 5.54 1 datastore1 (7) 5.54 1 datastore1 (6) 5.54 1