how to use telnet command in vCenter appliance putty session

Telnet is the command which we can easily use to check the service status of the remote system.

Ex if we can telnet to vCenter server from our desktop using port 443, we can say that web services of the vCenter is up

But when we use vCenter shell or ESXi shell, we cannot use telnet command.

clip_image001

As an alternative option, we can use curl command. Please refer the below screen capture

clip_image002

 

curl -v telent://vcsa-01a:443

Script for enable adrecycle bin in Windows 2008R2

Using this small script we can easily enable the active directory recycle bin feature in windows 2008r2.we have to copy the code to text editior and save it as a powershell script format(ps1).

 

 

 

Import-Module ActiveDirectory
$strforestname=(Get-AdForest).name
Enable-AdoptionalFeature ‘Recycle Bin Feature’ -Scope ForestOrconfigurationSet -Target $strforestname

 

*note-Remember to set the execution policy before running any of the powershell script(refer the below link)

http://technet.microsoft.com/en-us/library/ee176961.aspx