- VMware Docs
- NSX Support Center
- NSX Feature Walk Through
- VMware Hands on Labs (HOLs)
- VMware Product Interoperability Matrices
- VMware Compatibility Guide - Worth checking to see if your hardware is on the HCL and all correct firmware is loaded
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nsx_mgr = 192.168.110.10 | |
user = admin | |
pass = VMware1! | |
for x in 1 2 3; do curl -u $user:$pass -H "Content-Type: application/xml" -X GET -k https://$nsx_mgr/api/2.0/vdn/controller/controller-$x/syslog ;done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$vms = get-vm | |
# Get VM Name based on a MAC | |
foreach ($vm in $vms){ | |
if(get-networkadapter $vm | where-object {$_.MacAddress -eq "MAC-ADDRESS"}) | |
{ | |
write-host $vm | |
} | |
} |
- username: consoleuser
- password: ark1nc0ns0l3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$clusters = get-cluster | |
$clusters | Where-Object {$_.name -like "XXXXX" -OR $_.name -like "XXXXX"} | get-vmhost | select name, Manufacturer, Model, ProcessorType, NumCpu, Version, Build, Parent | |
$clusters | Where-Object {$_.name -like "XXXXX" -OR $_.name -like "XXXXX"} | get-vm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Retrieve any rules that are configured with either block (deny) or reject in the NSX Distributed Firewall | |
Get-NsxFirewallSection | Get-NsxFirewallRule | ? {$_.action -eq "deny" -or $_.action -eq "reject"} | ft -autosize | |
# Retrieve services matching port number | |
get-nsxservice | ? {$_.element.value -eq "80"} | select name | |
# Compare NSX Services from two different NSX environments and list the differences based on name | |
# Not really a one liner I know | |
$old_services = Get-NsxService -Connection $old_env | |
$new_services = Get-NsxService -Connection $new_env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
Created by Tony Sangha | |
July 2017 | |
tonysangha.com | |
version 0.1 | |
#################################### | |
macOS PowerCLI specific commands | |
Get-Module -ListAvailable PowerCLI* | Import-Module |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
Created by Tony Sangha | |
July 2017 | |
tonysangha.com | |
version 0.1 | |
Modified by Shane White | |
October 2017 | |
Version 1.0 | |
- Request a 30 day Network Insight Cloud Trial - Request a Free Trial
- See Getting Started with vRealize Network Insight Cloud which outlines the requirements to onboard, how to sign-up and how to deploy.
- Adding a Data Source in vRealize Network Insight
- Configuring Flows in vRealize Network Insight
Find a list of Ubuntu AMI's in a specific region
aws ec2 describe-images --region us-east-1 \
--filters Name=name,Values="ubuntu/images/hvm-ssd/ubuntu-jammy-22.04-amd64-server*" \
--query 'Images[*].[ImageId,CreationDate,Description]' --output text \
| sort -k2 -r \
| head -n5