VMware Horizon View – Script to create Persona Management Repositories, Shares and Permissions

When setting up VMware Horizon View Persona Management, one of the task to do is to create a remote repository to store the user data and settings, application-specific data, and other user-generated information in user profiles. Required persona management remote repository permissions The minimum required NTFS and share level permissions …

VMware – SQL script to create the vCenter 4.1 database

use [master] go CREATE DATABASE [VCDB] ON PRIMARY (NAME = N’vcdb’, FILENAME = N’C:\Program Files\Microsoft SQL Server\MSSQL10.VIMSQL\MSSQL\DATA\VCDB.mdf’, SIZE = 2000KB, FILEGROWTH = 10%) LOG ON (NAME = N’vcdb_log’, FILENAME = N’C:\Program Files\Microsoft SQL Server\MSSQL10.VIMSQL\MSSQL\DATA\VCDB.ldf’, SIZE = 1000KB , FILEGROWTH = 10%) COLLATE SQL_Latin1_General_CP1_CI_AS go use VCDB go sp_addlogin @loginame=[vpxuser], @passwd=N’@Password’, …

VMware – SQL script to create the SRM 4.1 database

use [master] go CREATE DATABASE [SRMDB] ON PRIMARY (NAME = N’srmdb’, FILENAME = N’C:\Program Files\Microsoft SQL Server\MSSQL10.VIMSQL\MSSQ\DATA\SRMDB.mdf’) LOG ON (NAME = N’srmdb_log’, FILENAME = N’C:\Program Files\Microsoft SQL Server\MSSQL10.VIMSQL\MSSQ\DATA\SRMDB.ldf’) COLLATE SQL_Latin1_General_CP1_CI_AS go use SRMDB go sp_addlogin @loginame=[srm], @passwd=N’@Password’, @defdb=’SRMDB’, @deflanguage=’us_english’ go ALTER LOGIN [srm] WITH CHECK_POLICY = OFF go CREATE USER …

VMware – Scripted installation of ESX4i

A good article on scripted installations for ESX4i can be found here: http://blog.arentcs.com/esxi-4-1-scripted-installation/ http://blog.arentcs.com/esxi-scripted-installation-%E2%80%93-part-ii/                                           This solution uses the Microsoft Windows Deployment Service.

VMware – Powershell

How te get started with Powershell. Download and install Powershell from http://www.microsoft.com/powershell Powershell 1.0: http://support.microsoft.com/kb/926139 Powershell 2.0: http://support.microsoft.com/kb/968930 Add Registry key HKLM\Software\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell\ExecutionPolicy and set to “RemoteSigned” (REG_SZ) Download and install VMware PowerCLI from http://www.vmware.com/go/powershell Download and install vEcoshell from http://thevesi.org/ Download and install VMWare community Powerpack from http://powergui.org/entry.jspa?externalID=2551&categoryID=290 References: Powershell …