Category Archives: Uncategorized

How to scan HBA Vmware ESXi Vmware Power CLI

How to scan HBA Vmware ESXi Vmware Power CLI Connect to your ESX or VCenter Server Connect-VIServer -Server 192.168.1.10  -Protocol https -User Administrator@vsphere.local -Password P@ssw0rd To Scan all ESXi hosts is Cluster Get-Cluster ‘cluster name‘ | Get-VMHost  | Get-VMHostStorage -RescanAllHba … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

How to Bring Up a SVI Interface Cisco Switch

How to Bring Up a SVI Interface  Cisco Switch SVI must meet all of the following conditions to transition to the full “up/up” state. 1- The VLAN must exist and be active in the VLAN database. 2- At least one … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

How to enable ESXi SSH And ESXi Shell Using PowerCLI

How to enable ESXi SSH And ESXi Shell Using PowerCLI Connect to the VCenter Server   #Connect to VCenter Server Connect-VIServer -Server 192.168.10.1 -Protocol https -User Administrator@vsphere.local -Password P@ssw0rd #Now Check which serveries are running and you want to start … Continue reading

Posted in Uncategorized | 1 Comment

NAT information saved in Elastix by FreePBX

NAT information saved in Elastix by FreePBX /etc/asterisk/sip_general_additional.conf

Posted in Uncategorized | Tagged | Leave a comment

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 … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

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 … Continue reading

Posted in Uncategorized | Leave a comment

VMware Datastores free space report PowerCLI

VMware Datastores free space report PowerCLI. Below script will give below report as used space and percentage of free space .    

Posted in Uncategorized | Leave a comment

Cisco UCS PowerTool and scripts

Cisco UCS PowerTool and scripts Source Link :- https://communities.cisco.com/docs/DOC-60339

Posted in Uncategorized | Tagged | Leave a comment

test.ps1 is not digitally signed. The script will not execute on the system

test.ps1 is not digitally signed.  The script will not execute on the system The fix is to run Set-ExecutionPolicy and change the Execution Policy setting. Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass

Posted in Uncategorized | Tagged | Leave a comment

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 … Continue reading

Posted in Uncategorized | Tagged | Leave a comment