Skip to content

Scripts and other utilities to administer a VMware Horizon (formerly: View) environement

License

Notifications You must be signed in to change notification settings

SethosII/vmware-vdi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vmware-vdi

Scripts and other utilities to administer a VMware Horizon (formerly: View) environement

Structure

graph

  • folder contains HTML file to view the pool usage statistics generated by poolConnections.ps1
  • this uses the dygraphs library

poolconections

  • data generated by poolConnections.ps1 is stored here

scripts

  • cleanEntitlements.ps1
    • remove all pool entitlements without an assigned vm
  • constants.ps1
    • contains shared variables for all scripts
  • diskUsage.ps1
    • get virtual disk usage, sorted by "wasted" space (space used according to vsphere minus space used according to windows)
  • iopsLimit.ps1
    • sets an IOPS limit for all vms matching to a pattern
  • lastLogin.ps1
    • prints the last time a user was connected to a vm since given time and the note field based on the files in the vmusage folder
  • notLoggedInSince.sh
    • bash script, that does the same as lastLogin.ps1 - but much faster
  • oneLiner.ps1
    • contains small snippets and general tips and tricks
  • poolConnections.ps1
    • stores current date and number of logged in users for each pool in poolconnections folder
  • printMatch.ps1
    • prints all vm names matching to the specified pattern
  • unusedVMs.ps1
    • generates a report of unused vms for the last 30, 60, 90, 120 and 150 days based on the files in the vmusage folder and stores the report in the unused folder
  • viewUsers.ps1
    • generates a list of vms and their assigned user
  • vmIP.ps1
    • generates a list of vms, their assgined user and IP adress
  • vmUsage.ps1
    • stores current date and the logged in user for each vm in vmusage folder
  • vmUsers.ps1
    • stores all users that connected since the given time based on the vmusage folder

unused

  • report generated by unusedVMs.ps1 is stored here

vmusage

  • data generated by vmUsage.ps1 is stored here

About

Scripts and other utilities to administer a VMware Horizon (formerly: View) environement

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published