Search found 31 matches

by pls-sapien
Tue Jun 14, 2016 5:53 am
Forum: PowerShell GUIs
Topic: TextChanged - add a short delay before processing
Replies: 1
Views: 1591

TextChanged - add a short delay before processing

hello all, i have a textbox with textchanged event. is it possible to add a short delay before performing the actions after the event is triggered? this is to make sure the user stopped typing. i use the value in the textbox with get-aduser, and if the value is partial (meaning the user did not fini...
by pls-sapien
Sun May 01, 2016 1:35 am
Forum: PowerShell GUIs
Topic: checkedlistbox operations
Replies: 1
Views: 1560

checkedlistbox operations

hi all, im trying to use a checkedlistbox object to control Active directory group membership, so that when a user is selected it will show its groups as marked checkboxes and when you change the check status of a group it will add/remove the user accordingly this is what i have so far: first i popu...
by pls-sapien
Mon Apr 25, 2016 8:01 am
Forum: PowerShell
Topic: how to convert get-printer to Boolean
Replies: 14
Views: 7319

Re: how to convert get-printer to Boolean

Using 32 bit mode probably indicates that your drivers are not compatible with the system you are running them on. I would contact the vendor for an update. that is and excellent point! basically i try to set all the printers to use universal drivers from the vendor (lexmark,kyocera,konica minolta)...
by pls-sapien
Mon Apr 25, 2016 7:59 am
Forum: PowerShell
Topic: how to convert get-printer to Boolean
Replies: 14
Views: 7319

Re: how to convert get-printer to Boolean

I can also recommend dropping the "RenderingMode" parameter. ThIs may not behave correctly with all printers. The default should always be CSR and not setting it will allow the utility to defer to the vendors installer. I do not see how SSR can be of much use in a Windows environment. from what i u...
by pls-sapien
Mon Apr 25, 2016 7:55 am
Forum: PowerShell
Topic: how to convert get-printer to Boolean
Replies: 14
Views: 7319

Re: how to convert get-printer to Boolean

i found out that changing the SPS powershell version from V5 64bit to V5 32bit actually solved the problem :D but ill definitely will take into consideration your recommendations. my goal is to create a tool that will automate the process because we need to create an AD group,Print Port,Printer,Fix ...
by pls-sapien
Mon Apr 25, 2016 7:12 am
Forum: PowerShell
Topic: how to convert get-printer to Boolean
Replies: 14
Views: 7319

Re: how to convert get-printer to Boolean

Hey again, i was wondering if you encountered some issues regarding the usage of Add-printer command in sps2016. im getting strange behavior when using it. basically this is the line im running from a wizard form template: Add-Printer -Name "$($labelPrinterNameCustom.Text)" -DriverName "$($comboboxP...
by pls-sapien
Mon Apr 25, 2016 1:14 am
Forum: PowerShell
Topic: how to convert get-printer to Boolean
Replies: 14
Views: 7319

Re: how to convert get-printer to Boolean

thanks a lot guys your suggestions work as always :) hopefully ill be able to help and contribute as you guys :geek: :)

thank you again! :mrgreen:
by pls-sapien
Sun Apr 24, 2016 11:15 pm
Forum: PowerShell Studio
Topic: missing Get-NTFSAccess
Replies: 1
Views: 1193

missing Get-NTFSAccess

Product, version and build: Powershell studio 2016 5.2.119
32 or 64 bit version of product: 64b
Operating system: windows 10
32 or 64 bit OS: 64b
PowerShell Version: 5

hello, im trying to write Get-NTFSAccess in a new form but it is not recognized. it works in ISE...

any ideas?

thanks

Sean
by pls-sapien
Sun Apr 24, 2016 8:52 pm
Forum: PowerShell
Topic: how to convert get-printer to Boolean
Replies: 14
Views: 7319

how to convert get-printer to Boolean

hello all im trying to make the get-printer to return me a Boolean result so i can verify if a printer exists ( btw is there a projects marketplace so i can share E.P.I.C (Enhanced Printer Infrastructure Creator)? :mrgreen: ) ive tried to use this function: function CheckIfPrinterExists ($PrinterNam...
by pls-sapien
Sun Apr 24, 2016 2:16 am
Forum: PowerShell GUIs
Topic: catching 'Enter' in Wizard form textbox
Replies: 3
Views: 1781

Re: catching 'Enter' in Wizard form textbox

jvierra wrote:Clear the Accept Button" event on the form so the event is passed to the control and not captured by the form
bloody awesome!! :) you rock mate! thanks a bunch :)

Sean