v-Apps Blog moved

Permalink 03:30:00 pm by admin, Categories:

The v-Apps Blog has moved from www.v-apps.nl to blog.v-apps.nl to be abled to use the b2evolution blog.

Now visitors are abled to comment on the blogs i publish, i'm very curious about your opinion.

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 = (Get-ChildItem \\domain.local\dfs\Home\$directory -Recurse | Measure-Object -property length -sum)
$directory.Name + ":"
"{0:N2}" -f ($colItems.sum / 1MB) + " MB"
}

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 + "TABLE{border-width: 1px;border-style: solid;border-color: black;border-collapse: collapse;}"
$a = $a + "TH{border-width: 1px;padding: 2px;border-style: solid;border-color: black;background-color:darkgrey}"
$a = $a + "TD{border-width: 1px;padding: 2px;border-style: solid;border-color: black;background-color:palegoldenrod}"
$a = $a + "</style>"

Connect-VIServer vcs02.domain.loc

$ServiceInstance = Get-View ServiceInstance
$SessionManager = Get-View $ServiceInstance.Content.SessionManager
$sessions = $SessionManager.SessionList | select UserName,LoginTime,LastActiveTime  | ConvertTo-Html -head $a | Out-File c:\temp\sessions.html
Invoke-Expression c:\temp\sessions.html

Disconnect-VIServer vcs02.domain.loc -Confirm:$false

Source: PeetersOnline (http://www.peetersonline.nl)  and Microsoft (http://technet.microsoft.com/en-us/library/ff730936.aspx)

05/20/11

Permalink 03:21:00 pm by vappsnl, Categories: Personal , Tags: caase.com, classic, cloud, computersos

The company i work for, ComputerSOS, has gotten a new name: Caase.com.

Caase stands for: Computer As A SErvice.

Caase.com

Caase.com is the combination of classic IT with the Cloud possibilities there are today.

Our slogan: From classic to cloud!

http://www.caase.com is the company's website (Dutch)

Permalink 03:07:00 pm by vappsnl, Categories: Personal

Hello all,

This is my first blog on my newley created blog-site using b2evolution!

I hope you'll enjoy my writings, don't hesitate to comment on the various items i will post.

<< Previous ::