Search found 31 matches

by pls-sapien
Tue Sep 26, 2017 4:15 am
Forum: PowerShell GUIs
Topic: check AD user/pass before opening a form
Replies: 2
Views: 891

check AD user/pass before opening a form

Hi all but mostly jvierra :) i have been reading many posts in this forum about how to add a user/pass mechanism to a form. this is what i have but it only passes if i run it from a computer that a domain admin is logged on to localy function Test-Credentials ($cred) { $username = $cred.username $pa...
by pls-sapien
Tue Sep 26, 2017 3:44 am
Forum: PowerShell GUIs
Topic: invoke-command - script block not getting the variable value?
Replies: 2
Views: 845

Re: invoke-command - script block not getting the variable value?

hi jvierra,
thank you for the hint!
i was missing the "using: " i did read the help just forgot this part :)

thanks,
Sean
by pls-sapien
Tue Sep 26, 2017 1:37 am
Forum: PowerShell GUIs
Topic: invoke-command - script block not getting the variable value?
Replies: 2
Views: 845

invoke-command - script block not getting the variable value?

hi all, im having some issues with a form that tries to invoke-command. this is the line: function Check-Service1-Remote { $result1 = Invoke-Command -ComputerName $script:LocalServer -ScriptBlock { Get-Service $Service1_Name } -Credential $script:Cred -Authentication Kerberos if ($result1.Status -eq...
by pls-sapien
Sat Sep 16, 2017 10:17 pm
Forum: PowerShell GUIs
Topic: DataGridView - cell as button column
Replies: 5
Views: 1497

Re: DataGridView - cell as button column

Hi jvierra, thank you for pointing me to the right direction, my problem was putting my data in a DataTable and not directly in the DataGridView. i was wondering if you could help me with another problem im having: i added a button in the DVG and i want to pop up a confirmation dialog that user can ...
by pls-sapien
Sat Sep 16, 2017 9:01 pm
Forum: PowerShell Studio
Topic: RemoteDesktop module not loaded but is available in ISE
Replies: 3
Views: 797

Re: RemoteDesktop module not loaded but is available in ISE

Hello Alexander,
i changed the SPS to "V5 - 64bit" and all the modules appeared!!! than you very much for all the help!

have a great week :)

Sean
by pls-sapien
Sat Sep 16, 2017 9:00 pm
Forum: PowerShell Studio
Topic: RemoteDesktop module not loaded but is available in ISE
Replies: 3
Views: 797

Re: RemoteDesktop module not loaded but is available in ISE

Hi Alexander, Thank you for your replay and apologies for the late response. i uninstalled SPS and performed a clean install of 64bit Version 5.4.143 - same result: the RemoteDesktop module is not loaded or available in SPS. i ran the command you requested - the module is located at: C:\WINDOWS\syst...
by pls-sapien
Wed Sep 13, 2017 9:23 pm
Forum: PowerShell Studio
Topic: RemoteDesktop module not loaded but is available in ISE
Replies: 3
Views: 797

RemoteDesktop module not loaded but is available in ISE

Product, version and build: PowerShell Studio 2017 5.4.143 32 or 64 bit version of product: 32bit Operating system: Windows 10 64bit *** Please add details and screenshots as needed below. *** hello, im trying to use the RemoteDesktop module in Powershell Studio but all commands appear "not-recogniz...
by pls-sapien
Tue Sep 12, 2017 11:57 pm
Forum: PowerShell GUIs
Topic: DataGridView - cell as button column
Replies: 5
Views: 1497

Re: DataGridView - cell as button column

Hi jvierra,
thank you for your reply.
yes it is a powershell studio project (grid template). when i tried to configure the DataGrid in advance using the designer - all the column configuration was overwritten by the udpate-datagrid function or my own table updates...

thank you again,
Sean
by pls-sapien
Tue Sep 12, 2017 10:48 pm
Forum: PowerShell GUIs
Topic: DataGridView - cell as button column
Replies: 5
Views: 1497

DataGridView - cell as button column

hi all, i could use some help in adjusting a specific column in a DataGridView to buttons. this script connects to RDS Farm and returns some details from the session hosts available. i want column 7 to be buttons that eventually will trigger reboot for the corresponding session host. i use a grid te...
by pls-sapien
Thu Dec 22, 2016 5:10 am
Forum: PowerShell GUIs
Topic: Project - E.P.I.C aka Enhanced Printer Infrastructure Creator
Replies: 1
Views: 701

Project - E.P.I.C aka Enhanced Printer Infrastructure Creator

hi all, ive been working on a nice app that helps admin create printers quickly and wanted to share so it could help others as others shared and helped me. the project is attached to this post. Sorry for the bad code and lack of .ini file to centrally manage the settings... (i hope to learn and impl...