Search found 294 matches

by mxtrinidad
Wed Apr 03, 2019 1:44 pm
Forum: Windows PowerShell
Topic: Multiple computers writing to a domain hosted file
Replies: 11
Views: 1511

Re: Multiple computers writing to a domain hosted file

I would suggest to use PowerShell existing commands as it was designed to such purpose. As JVierra shown one way using the Import-Csv cmdlet, you can also try using the Out-File cmdlet which has the parameters '-NoClobber' which will not override the file, and in combination with the '-Append' the o...
by mxtrinidad
Wed Apr 03, 2019 12:49 pm
Forum: Windows PowerShell
Topic: Multiple computers writing to a domain hosted file
Replies: 11
Views: 1511

Re: Multiple computers writing to a domain hosted file

We need more information!
It will help if you tell us what cmdlet you're using to write the file to the share drive.
:)
by mxtrinidad
Mon Apr 01, 2019 7:44 am
Forum: PowerShell GUIs
Topic: Add a custom mousepointer (*.cur)
Replies: 3
Views: 170

Re: Add a custom mousepointer (*.cur)

Sounds like a very nice feature to include in our PowerShell Studio product.
Please, feel free to add your request in our "Feature Request" area and we'll take a look at it.

https://www.sapien.com/requests
by mxtrinidad
Thu Mar 28, 2019 6:36 am
Forum: PowerShell Studio
Topic: Send to Back/Front buttons don't work.
Replies: 4
Views: 1125

Re: Send to Back/Front buttons don't work.

We'll take a look at this issue and get back to you.
Thanks!
by mxtrinidad
Mon Mar 18, 2019 8:30 am
Forum: PowerShell GUIs
Topic: RichTextBox: Adding dynamically-generated picture to existing content
Replies: 23
Views: 653

Re: RichTextBox: Adding dynamically-generated picture to existing content

Awesome JVierra!!

One important thing I forgot to mention... The "ReadOnly" Property need to be set to FALSE or it won't display the image.

:)
by mxtrinidad
Mon Mar 18, 2019 7:21 am
Forum: PowerShell GUIs
Topic: RichTextBox: Adding dynamically-generated picture to existing content
Replies: 23
Views: 653

Re: RichTextBox: Adding dynamically-generated picture to existing content

Sorry for the late response as I'm also out on a conference. The following is a code snippet to allow add an image to a richtextbox control. This also use the opendialog control to help search for images. $buttonSelectFolder_Click={ #TODO: Place custom script here Try { ## - Logic to handle FolderBr...
by mxtrinidad
Tue Mar 12, 2019 9:59 am
Forum: Windows PowerShell
Topic: Update Computer Description
Replies: 15
Views: 1478

Re: Update Computer Description

Hey JVierra!! I always learn things from you. Thank You!
PowerShell is Awesome!!

:)
by mxtrinidad
Tue Mar 12, 2019 7:55 am
Forum: Windows PowerShell
Topic: Update Computer Description
Replies: 15
Views: 1478

Re: Update Computer Description

First, JVierra has giving you an Awesome script that works. I would also try it using .NET which is easy to use and there's lots of documentation (COM Object is old technology). https://devblogs.microsoft.com/scripting/use-the-directorysearcher-net-class-and-powershell-to-search-active-directory/ ht...
by mxtrinidad
Fri Mar 08, 2019 9:27 am
Forum: PrimalScript
Topic: Shell tied to script that I've run?
Replies: 1
Views: 176

Re: Shell tied to script that I've run?

I would definitely recommend to get latest version of PrimalScript. We have included the ability to update PowerShell variable during debug. Please check the latest added feature at the following link: https://www.sapien.com/software/version_history PrimalScript_DebugVariables_2019-03-08_11-21-18.png
by mxtrinidad
Fri Mar 08, 2019 9:12 am
Forum: Windows PowerShell
Topic: ERROR: New-PSDrive : Multiple connections to a server or shared resource by the same user
Replies: 5
Views: 924

Re: ERROR: New-PSDrive : Multiple connections to a server or shared resource by the same user

Thanks! I wanted to make sure you were not experiencing other errors. The use of keyword 'exit' or 'break' tend to give an Windows Form exception error (which is a .NET and not SAPIEN). I would suggest to avoid using them. Follow JVierra recommendation. Make sure to check and remove the drive letter...