Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

13100

February 2nd, 2011 14:00

Error creating Farm Alias with Powershell Module

Hi,

I am trying to create a new alias but getting a Insufficient Permissions error.

This is what I am trying:

PS C:\Users\paul> Import-Module Quest.vWorkspace.PowerShellModule
PS C:\Users\paul> Get-QVWFarm
PS C:\Users\paul> New-QVWFarm -Alias "vWorkspace Lab" -Server CB03 -Database vWorkspace_Database -Credential pnadmin
New-QVWFarm : Insufficient Permissions
At line:1 char:12
+ New-QVWFarm <<<<  -Alias "vWorkspace Lab" -Server CB03 -Database vWorkspace_Database -Credential pnadmin
    + CategoryInfo          : PermissionDenied: (:) [New-QVWFarm], InsufficientPermissionsException
    + FullyQualifiedErrorId : Quest.vWorkspace.PowerShell.Module.Commands.NewQvwFarmCommand

Is the pnadmin the SQL pnadmin account?  I have verified i have the password correct.

Thanks

Paul

101 Posts

February 2nd, 2011 17:00

Hi,

Yep i just found this out.  I had to run PowerGUI as administrator even though I was logged on as a domain admin.. I keep forgetting that :-)

Thanks

Paul

28 Posts

February 2nd, 2011 17:00

Paul,

Yes the Credential parameter is vWorkspace SQL account, usually "pnadmin", but you wouldn't receive "insufficient permissions" for incorrect credentials here.  In order to create the farm connection, you must be a local Windows administrator.  Is this the case?

-Adam

No Events found!

Top