VMware Cloud Community
Thushyaa
Contributor
Contributor
Jump to solution

Get-OSCustomizationSpec

When i run "Get-OSCustomizationSpec" this is what i get, i need to use this to do the mass deployment.

Get-OSCustomizationSpec : 23/09/2010 8:17:01 PM Get-OSCustomizationSpec Object reference not set to an instance of an object.

At line:1 char:23

+ Get-OSCustomizationSpec <<<<

C:\Program Files\VMware\Infrastructure\vSphere PowerCLI> help

thanks for all the help.

Reply
0 Kudos
1 Solution

Accepted Solutions
Dave_Mishchenko
Immortal
Immortal
Jump to solution

Could you post the syntax of your command and are you running this against vCenter Server.




Dave

VMware Communities User Moderator

Now available - vSphere Quick Start Guide

Do you have a system or PCI card working with VMDirectPath? Submit your specs to the Unofficial VMDirectPath HCL.

View solution in original post

Reply
0 Kudos
5 Replies
Dave_Mishchenko
Immortal
Immortal
Jump to solution

Could you post the syntax of your command and are you running this against vCenter Server.




Dave

VMware Communities User Moderator

Now available - vSphere Quick Start Guide

Do you have a system or PCI card working with VMDirectPath? Submit your specs to the Unofficial VMDirectPath HCL.

Reply
0 Kudos
LucD
Leadership
Leadership
Jump to solution

Dave is right. You must run this while connected to a vCenter.

When you are connected to an ESX(i) server you get that specific message.

Customization Specifications are only available when you have vCenter, but I agree that the message could perhaps be a bit more meaningful Smiley Wink

____________

Blog: LucD notes

Twitter: lucd22


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

nnedev
VMware Employee
VMware Employee
Jump to solution

Hi,

The customization functionality is only available when connected to vCenter.

I've filed a bug for the confusing message when connected to ESX.

Regards,

Nedko Nedev

PowerCLI Development Team

Regards, Nedko Nedev PowerCLI Development Team
Thushyaa
Contributor
Contributor
Jump to solution

Thanks guys,

Yes, when i run against vCenter it works, let me see if i can use with my script to get the job done Smiley Happy

will update later today.....

Reply
0 Kudos
Thushyaaa
Contributor
Contributor
Jump to solution

now the script is workning but the customization did not take place.

Reply
0 Kudos