Samy strike back...

This story is true...

This is my almost everyday life as Windows system administrator. Only names have been changed...

Samy ;-p


Monday, June 14, 2010

I'm not alone...

Monday, June 14, 2010
Saturday June 6th at 00:30 AM, I've seen a meteor crushing in the sky from NE to SW...
It was very impressive and also short only a few seconds for traveling through the horizon. First of my life maybe that last...waiting for 2012...

0 comments

Tuesday, June 8, 2010

PsExec StdOut

Tuesday, June 8, 2010
A few days ago I've to write a small VBScript in association with PsExec for executing an ms-dos on a remote computer. No issues but...
After few unsuccessful tries; no way to get the StdOut I've start finding other reason than my poor programmer knowledges. So after few search on Google, I've discover that there is a known bug on PsExec versions prior to 1.98.
As ever and as recommended by software and hardware providers always update to the latest available version of code...
So here's the link to PSTools lastest version on Microsoft website. These tools are certainly the most useful toolbox for a Windows administrator. That might explain why Microsoft has acquire Sysinternal some times ago...

If it helps, here's the script which should works with PsExec v1.98. Provided as is...

Option Explicit   
On Error Resume Next
Dim WshShell, oExec, Cmmd, CptName, UsrName, UsrPWd, PsxCmmd, PsxReturn, PSPath
Set WshShell = CreateObject("WScript.Shell")

CptName = "ComputerName"
UsrName = "UserName"
UsrPWd = "Paswword"
PsxCmmd = "ipconfig /all" ' MS-Dos command-line example
PSPath =  "C:\WINDOWS\PSTools\"

Cmmd = PSPath  & "psexec.exe \\" & CptName & " -u " & UsrName & " -p " & UsrPWd & " " & PsxCmmd
Set oExec = WshShell.Exec(Cmmd)
Do While Not oExec.StdOut.AtEndOfStream
   PsxReturn= oExec.StdOut.readall()
Loop
wScript.Echo "PSXReturn :" &PsxReturn

2 comments

Friday, June 4, 2010

Tips & Tricks...

Friday, June 4, 2010
One of my colleague ask me after being bored by the Windows "Sticky/Filter keys". How he can remove it...
So here a way to get ride of it...

Use regedit and delete the entire following folder :

HKEY_CURRENT_USER\Control Panel\Accessibility

and after a reboot, you will not be bored again...(normally)

0 comments

Thursday, June 3, 2010

VMware vSphere 4

Thursday, June 3, 2010
A few weeks ago I've been sent by my company to classroom for following the course VMWare vSphere 4, Install, Configure and Manage. We are using VMWare since V2.5 in my client site, so after few years of intensive use (almost 100 ESX V3.5 and at least about 600 VMs), it was very interesting to focus on VMWare "how to" and best practices...
Now I've to make some home & work implementation in order to go for VCP 410.
Major improvements for me from previous version are :
   - Virtual Distributed Switch which will radically improve and simplify the creation of "Standard switch" like but across a datacenter. Useful when you start having few ESX and you're providing new ones.
   -  Data Recovery is a fully integrated tool for VC 4. which allows to easily making backup and restoration in few clicks. Creating a VM is always an easy thing but having a strong solution for backup/restore management  is a different question without a third party tool. But now it's over...
I hope to have more time in the future to deal with some information about vSphere and its everyday use; mostly after passing the VCP.

0 comments

Introducing to the new SAMY.COM website...

Hi,


Just a few words to explain the name of this web site "samy.com".
Samy is only a nickname given by my older sister regarding the "Mystery machine" cartoon. In France "Shaggy" is called "Samy" and Scooby-Doo is always saying "Uh-oh, Shaggy" "Ohooo Samy". As during my teenage hood I was saying this almost every two words...She calls me "Samy"
So here's the beginning of the explanation. In 1998, I've discovered that the domain name "samy.com" was not reserved anymore so since that time this little piece of Internet belongs to ME.

0 comments