Search found 15436 matches

by jvierra
Thu Apr 06, 2023 4:55 pm
Forum: PowerShell
Topic: Run Putty from PowerShell
Replies: 1
Views: 3928

Re: Run Putty from PowerShell

Your question should be asked on a Putty forum. It is not a PowerShell issue. As far as I know you cannot dynamically load a Putty configuration. It requires a registry update.
by jvierra
Fri Mar 31, 2023 4:08 pm
Forum: PowerShell
Topic: Progress bar with PowerCLI and vCenter
Replies: 2
Views: 2063

Re: Progress bar with PowerCLI and vCenter

You really need to post this in a vCenter forum as it is specific to vCenter and PowerCli and not a pure PowerShell issue.
by jvierra
Thu Mar 30, 2023 3:57 pm
Forum: PowerShell GUIs
Topic: Proper Format
Replies: 1
Views: 882

Re: Proper Format

You have to use a fixed font and not one of the modern fonts that adjust font spacing on a per letter basis.

I use "Lucida Console" as a fixed font.
by jvierra
Wed Mar 29, 2023 1:49 pm
Forum: PowerShell
Topic: Adjust Power Slider in Windows 10
Replies: 1
Views: 1698

Re: Adjust Power Slider in Windows 10

You do not need a script to do this. There is a command line utility that ncan set this in one line. Post in the Micorwsoft Windows 10 user forum to get the utility or search on the Inet.

powercfg /?
powercfg /setactive ded574b5-45a0-4f42-8737-46345c09c238
by jvierra
Wed Mar 29, 2023 1:37 pm
Forum: PowerShell GUIs
Topic: click close command not working
Replies: 6
Views: 1049

Re: click close command not working

No.

Code: Select all

$buttonClose_Click={
$formCommands.Close()
}
by jvierra
Tue Mar 28, 2023 11:11 pm
Forum: PowerShell GUIs
Topic: click close command not working
Replies: 6
Views: 1049

Re: click close command not working

You seem to have failed to add the close code to the button click event.
by jvierra
Tue Mar 28, 2023 4:07 pm
Forum: PowerShell GUIs
Topic: click close command not working
Replies: 6
Views: 1049

Re: click close command not working

Normally that would close the form although the form may be blocked in another event. There is not enough information in your post to say why it won't close.

What do you mean by "compile" scripts are not compileable. Are you using PowerShell Studio or some other utility.
by jvierra
Fri Mar 24, 2023 6:18 pm
Forum: PowerShell GUIs
Topic: GUI help
Replies: 1
Views: 980

Re: GUI help

The code is not helpful as it just displays a form. The "Main" function will never be called.

It would be better if you posted the PSF file as an attachment.
by jvierra
Thu Mar 23, 2023 6:01 pm
Forum: PowerShell
Topic: Performing Get-Service with failback using Get-WMIObject ?
Replies: 3
Views: 1827

Re: Performing Get-Service with failback using Get-WMIObject ?

Can be firewall or other network issues. PowerShell has nothing to do with the errors. Who is you network engineer. Just having an admin account does not guarantee access to the service control manager and the RPC ports for WMI. Client computer firewalls block this access by default. Sometimes the s...
by jvierra
Thu Mar 23, 2023 5:29 pm
Forum: PowerShell
Topic: Performing Get-Service with failback using Get-WMIObject ?
Replies: 3
Views: 1827

Re: Performing Get-Service with failback using Get-WMIObject ?

You do not have access rights on the services and on WMI. Please ask you server administrator for help with this.