Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

199437

September 8th, 2015 02:00

About vWorkspace Powershell Problem

Hi 

I use command Get-QVWFarm in PowerShell, but return FarmName field is empty. I try to modify

FarmName in CB and it doesn't work. Can anyone give me advice? thx

11 Posts

September 8th, 2015 03:00

Have you run

Connect-QVWFarm -Farm "vWorkspace Database"

I have a feeling I had the same problem and the farm name only gets set after you connect for the first time. However you also don't use the farm name but the alias there for doing subsequent commands for example the start of one of my monitoring scripts is:

import-module vWorkspace
Connect-QVWFarm -Farm "vWorkspace Database"
$problem_computers = Get-QVWComputer -Farm "vWorkspace Database" -Filter{$QVWComputer.Status.LogonState -ne "LoggedOn" -and $QVWComputer.Status.LogonState -ne "Disconnected" -and $QVWComputer.Status.LogonState -ne "LoggedOff"}

10 Posts

September 8th, 2015 02:00

I  use vworkspace powershell module 8.5.

10 Posts

September 8th, 2015 02:00

YES, I'm run in CB-Server. When I run Get-QVWFarm, powershell is work.

17 Posts

September 8th, 2015 02:00

Is the VW admin console installed and configured on the machine where you run the Powershell command?

 

10 Posts

September 8th, 2015 04:00

Thank you help, it's work. FarmName is appear, but we need use "vWorkspace Database" as FarmName that is so weird. 

No Events found!

Top