Tuesday, October 28, 2008

Sweet Tool to email text files to yourself

If your like me, you like to have alot of scripts copying backup files around, and doing other things, cleaning up directories, etc..
I found the coolest tool called "Blat"
http://www.blat.net/

You can use it to send yourself these .txt files, it also does alot more, but that's all I need.

set dow=%date:~0,3%
Blat results%dow%.txt -to bsmith9999@gmail.com -server SMTPSERVER -f Server@domain.com

Enable Virtual Center Single Sign on SSO

To enable Windows Single Sign-on follow these steps:
Log in to a workstation where the VI Client is installed.
Right-click the desktop and select New > Shortcut.
In the Create Shortcut Wizard, click Browse and navigate to the location of the VpxClient.exe program and click OK.Note: By default it is located in C:\Program Files\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\
After the full path is in the Type the location of the item field append -passthroughAuth -s to the end of the line, where is the hostname or IP Address of the VirtualCenter instance you want to connect to.
Click Next.
Give a Name for the shortcut.
Click Finish.
After the shortcut has been created, double-click on the new shortcut, and you are logged into the VirtualCenter Server using the currently logged in credentials.

Note: If the currently logged in user does not have appropriate permissions to VirtualCenter log in fails.

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1006611

Friday, October 24, 2008

Exchange 2007 Public Folders Rights

Ok, so I inherited the exchange environment, no biggie, but I need to create a new public folder on the root, however, I dont have rights. 2007 SP1 has a new command I can use.

Add-PublicFolderAdministrativePermission -Identity "\Marketing" -User "Chris" -AccessRights AllExtendedRights -Inheritance SelfAndChildren
from:
http://technet.microsoft.com/en-us/library/aa996369(EXCHG.80).aspx

However, my only question was (and I know i'm a noob) how do I add myself to ALL public folders, I just had to change the identity to "\"

Also to list your Identity's, use this command
Get-PublicFolder –GetChildren

Vmware Server Won't Install on 2003 R2 x64

I got the error "Setup cannot continue. The Microsoft Runtime DLL installer failed to complete installation".

I read another bloggers suggestion to download the redistributable directly from Microsoft, which almost helped me, but it installed sucessfully, no help there.
http://www.microsoft.com/downloads/details.aspx?familyid=EB4EBE2D-33C0-4A47-9DD4-B9A6D7BD44DA&displaylang=en

However, it gave me an idea, I run the setup, and when the error was on my screen (and before I clicked ok) I could go to my %temp% directory and try to run the vcredist_x64.exe file manually, it gave the error that it couldn't write to D: drive, not enough space. Well, I have a CD-ROM drive in D:, so that doesn't suprise me alot.

I simply swapped my D: and E: drives and fixed my issue, now it installed like a champ, I know this is a workaround, not a fix, but if it happens again I know where to start.
Never use Xcopy, always use Robocopy, it's from the 2k3 resource kit, it rocks.