PowerCLI: Oneliners
From VI-Toolkit
Revision as of 21:06, 19 August 2009 by
Wila
(
talk
|
contribs
)
(
diff
)
← Older revision
|
Latest revision
(
diff
) |
Newer revision →
(
diff
)
Jump to navigation
Jump to search
Contents
1
Statistics
2
Events
3
Host Configuration
4
VM Configuration
5
Storage
Statistics
Statistics: Average CPU and memory usage
Statistics: Number of CPUs, amount of memory assigned, Average CPU and memory usage
Memory Usage statistics sorted per VM
Statistics: Top 20 VM with least free disk space
Get a list of vm's and the number of snapshots per vm
Number of VM's per Resource Pool
How many VM's per Host
Events
Get all events per VM
Get all errors from the past 24 hours
Get all errors related to a cluster
Get all events related to DRS
Hosts whose CPU reached red Load level
Inform when running task completes
Host Configuration
Oneliner: Service Console IP with PowerCLI
Checking VMware NTP configuration with Powershell
Oneliner: Get Logged on Users with Powershell
Display Host Hardware information
Cluster name, ESX host and the total running VM’s on the host
Hostname with the least running VM’s on it
Check Host processor types
VM Configuration
Copy Active Directory Description to your VM
Reset CPU and Memory limits to “Unlimited” for all VMs in vCenter
Get name of the VM and the network adapter for supplied Mac address
Get names of VM's not yet upgraded to vSphere
Get names of VM's not yet upgraded to vSphere and VM Tools not upgraded
Add notes to multiple VM's using CSV
Set description of custom fields for multiple VM's from CSV
Storage
List all VMDK files for VM's stored on local storage
Check the Usage of your datastore
Category
:
PowerCLI
Navigation menu
VI-Toolkit
Guest
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
Search
Navigation
Main page
Community portal
Recent changes
Resources
Random page
Help
Tools
What links here
Related changes
Special pages
Printable version
Permanent link
Page information
Support my products
Vimalin
Vimarun