Monday, July 1, 2013

RemoteAPP

I’ve found this link that explains how to make RemoteApp working over Windows XP, Vista or 7.

Thanks to Aaron Parker

Wednesday, March 27, 2013

How to create one user with ‘operator’ skills in vSphere 4.x

These are the steps to create one user with operator skills in vSphere 4.x. This operator user will be able to power on, suspend or power off virtual machines, mount CDs, make snapshots, but it shall not change virtual machine’s settings, and only in virtual machines it will be authorized.

Wednesday, March 13, 2013

Using DynDNS in Juniper SSG devices

Juniper SSG devices behaviour when configuring dynamic DNS is sometimes frustrating. There is not enough useful information on how to configure on certain circumstances. So I’ll try to give some tips that could help you if you are near to throw in the towel.

Thursday, February 28, 2013

Get service status

You can use this vbs script if you need to know the status of a particular windows service:

Option Explicit
Dim ComputerObj, aService
Dim strComputer, objNetwork
Dim ServiceName
 
 
If WScript.Arguments.count < 1 then
  WScript.Echo "usage: StopSvc.vbs ServiceName"
  WScript.Quit
end If
 
ServiceName = WScript.Arguments.Item(0)
 
Set objNetwork = WScript.CreateObject("WScript.Network")
 
Set aService = GetObject("WinNT://" & objNetwork.ComputerName & "/" & ServiceName & ",Service")
Wscript.echo aService.DisplayName
    
If aService.Name = ServiceName Then
'    WScript.Echo "Service display name = " & aService.DisplayName     
'    WScript.Echo "Service name = " & aService.Name     
'    WScript.Echo "Service account name = " & aService.ServiceAccountName     
'    WScript.Echo "Service executable   = " & aService.Path     
'    WScript.Echo "Current status       = " & aService.Status     
    If aService.Status=4 Then
'      WScript.Echo ServiceName & " is ON: Stopping Service"
       'stopping service
       aService.stop
    End If
End if 
 
WScript.Quit


You can get more info here: http://msdn.microsoft.com/es-es/library/windows/desktop/aa746328%28v=vs.85%29.aspx