Archives for: June 2011

06/29/11

Permalink 11:00:00 am by vappsnl, Categories: Personal
To get an overview of Virtual Machines with snapshots and put the outcome in an htm-file you can use the following script: $a = "<style>" $a = $a + "BODY{background-color:white;}" $a = $a + "TABLE{border-width: 1px;border-style: solid;border-colo… more »

06/10/11

Permalink 12:29:00 pm by admin, Categories: Personal
Just a little script to get sizes (in Mb) of directories, in this case the size of the user's home folders.   $directories = Get-ChildItem \\domain.local\dfs\home | Where {$_.psIsContainer -eq $true} foreach ($directory in $directories) { $colItems =… more »

06/07/11

Permalink 11:54:00 am by admin, Categories: Personal
Ever wondered what sessions are connected to your vCenter? Here's a script that will show you in an HTML which users are connected, their Login Time and their Last Active Time. cls $a = "<style>" $a = $a + "BODY{background-color:black;}" $a = $a… more »