Search found 12 matches

by bullitt773
Fri Mar 31, 2023 10:49 am
Forum: PowerShell
Topic: Progress bar with PowerCLI and vCenter
Replies: 2
Views: 2051

Progress bar with PowerCLI and vCenter

I've been using the same script to deploy Virtual Machines in vCenter using PowerCLI for quite some time without issue. Recently, however, the script is not waiting for vCenter to complete a task before proceeding, which results in script errors. So basically, the script is no longer 'aware' of the ...
by bullitt773
Mon Jan 17, 2022 10:10 am
Forum: PowerShell GUIs
Topic: Powershell Studio with vCenter 7.0
Replies: 5
Views: 2642

Re: Powershell Studio with vCenter 7.0

I understand the distiction between powercli, and powershell. I was just saying that when I run this script via powershell directly, there is no issue.

Also, you mentioned modifying the threading model. Where and how is that done?
by bullitt773
Mon Jan 17, 2022 7:37 am
Forum: PowerShell GUIs
Topic: Powershell Studio with vCenter 7.0
Replies: 5
Views: 2642

Re: Powershell Studio with vCenter 7.0

Thanks, this runs without issue from PowerCLI. It only locks when running form Studio. You mentioned changing the threading model. Is that something done from PSS or vCenter?
by bullitt773
Fri Jan 14, 2022 12:07 pm
Forum: PowerShell GUIs
Topic: Powershell Studio with vCenter 7.0
Replies: 5
Views: 2642

Powershell Studio with vCenter 7.0

I've been using a PS Studio GUI script to deploy and configure VMs. Been working fine until we upgraded vCenter to 7.0. Now, as soon as the deployment begins, the pop-up box, (generated by PowerCLI) hangs, and the script stops running.
1.jpg
1.jpg (12.57 KiB) Viewed 2642 times
by bullitt773
Tue Sep 03, 2019 11:17 am
Forum: PowerShell
Topic: I'm not using Hyper-V
Replies: 7
Views: 4232

Re: I'm not using Hyper-V

2019-09-03_14-13-31.png
2019-09-03_14-13-31.png (58.42 KiB) Viewed 4222 times
by bullitt773
Tue Sep 03, 2019 11:01 am
Forum: PowerShell
Topic: I'm not using Hyper-V
Replies: 7
Views: 4232

Re: I'm not using Hyper-V

'GET-VM' is not recognized as the name of a cmdlet. Apparently Hyper-V and VMware share this command. From what I read, I needed to install the Hyper-V role, but once I did that, then none of them other PowerCli commands work, since it's assuming I'm running these commands off of a Hyper-V environme...
by bullitt773
Tue Sep 03, 2019 9:49 am
Forum: PowerShell
Topic: I'm not using Hyper-V
Replies: 7
Views: 4232

I'm not using Hyper-V

I'm attempting to use the 'Get-VM' command, but it doesn't work as Powershell Studio is assuming that I"m using Hyper-V, when I'm using vSphere. All other vmware powercli commands see to be working.
by bullitt773
Fri Aug 30, 2019 12:16 pm
Forum: PowerShell Studio
Topic: Popup Message Box to close form
Replies: 3
Views: 2209

Re: Popup Message Box to close form

This is actually on a pop-up dialogue box: Add-Type -AssemblyName "System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" [void][System.Windows.Forms.MessageBox]::Show('mytext!', 'Attention!') # Casting the method to [void] suppresses the output. Not sure ...
by bullitt773
Thu Aug 29, 2019 6:27 am
Forum: PowerShell Studio
Topic: Popup Message Box to close form
Replies: 3
Views: 2209

Popup Message Box to close form

How can I get the "ok" button on a popup box to close the form? Product, version and build: 5.6.165 32 or 64 bit version of product: 64 Operating system: 32 or 64 bit OS: 64 *** Please add details and screenshots as needed below. *** DO NOT POST SUBSCRIPTIONS, KEYS OR ANY OTHER LICENSING I...
by bullitt773
Wed Jul 24, 2019 12:12 pm
Forum: PowerShell GUIs
Topic: Countdown Timer in Status Bar?
Replies: 1
Views: 1074

Countdown Timer in Status Bar?

Is it possible to see a countdown timer in the statusbar?