Search found 28 matches

by pls-sapien
Mon Apr 25, 2016 7:59 am
Forum: Windows PowerShell
Topic: how to convert get-printer to Boolean
Replies: 14
Views: 5909

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: Windows PowerShell
Topic: how to convert get-printer to Boolean
Replies: 14
Views: 5909

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: Windows PowerShell
Topic: how to convert get-printer to Boolean
Replies: 14
Views: 5909

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: Windows PowerShell
Topic: how to convert get-printer to Boolean
Replies: 14
Views: 5909

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: 1008

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: Windows PowerShell
Topic: how to convert get-printer to Boolean
Replies: 14
Views: 5909

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: 1555

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
by pls-sapien
Sat Apr 23, 2016 11:21 pm
Forum: PowerShell GUIs
Topic: catching 'Enter' in Wizard form textbox
Replies: 3
Views: 1555

catching 'Enter' in Wizard form textbox

hello all, im creating a new wizard form, and adding a textbox. when i try to capture "Enter" keypress it does not work... steps to recreate: create a new Form and select "Wizard Template" add richtextbox to the first tab add event "keydown" to the "Enter Name" textbox this is the code added: $textb...