Search found 25 matches

by kerbob
Tue Nov 06, 2018 11:40 am
Forum: PowerShell GUIs
Topic: Richtextbox with multiple URLs
Replies: 6
Views: 1018

Re: Richtextbox with multiple URLs

Many thanks all! Problem solved!!!
by kerbob
Mon Nov 05, 2018 8:20 pm
Forum: PowerShell GUIs
Topic: Richtextbox with multiple URLs
Replies: 6
Views: 1018

Richtextbox with multiple URLs

Product, version and build: 64 bit version of product: 5.5.155 Operating system: Win10x64 *** Please add details and screenshots as needed below. *** I published a GUI that had a RichTextBox control with DetectUrls = True with a link inside of it like in the example below: "If you would like more in...
by kerbob
Tue Aug 07, 2018 10:22 am
Forum: PowerShell GUIs
Topic: Create a hidden menu or a menu under the App Icon
Replies: 3
Views: 525

Re: Create a hidden menu or a menu under the App Icon

We actually do control via Group Policy. However, sometimes our users are offline (not domain connected). This is the reason for the Urgent Need Unblock function. Any other way to make the function a bit obscured? I'd rather not make it a button. I was thinking I could make clicking the graphic imag...
by kerbob
Tue Aug 07, 2018 8:29 am
Forum: PowerShell GUIs
Topic: Create a hidden menu or a menu under the App Icon
Replies: 3
Views: 525

Create a hidden menu or a menu under the App Icon

We are blocking removable storage at our company. I created a utility that, upon removable media insertion, pops up a message to let users know that its blocked and how to get an exception if they have a legit business requirement. I created an "Urgent Unblock" function that upon typing a code that ...
by kerbob
Thu Jun 28, 2018 12:40 pm
Forum: Windows PowerShell
Topic: Generate ODP (one day password) generated from Username and Date
Replies: 2
Views: 547

Re: Generate ODP (one day password) generated from Username and Date

Near final code.. Code Generator for Helpdesk: Function Get-StringHash([String]$String, $HashName = "MD5") { $StringBuilder = New-Object System.Text.StringBuilder [System.Security.Cryptography.HashAlgorithm]::Create($HashName).ComputeHash([System.Text.Encoding]::UTF8.GetBytes($String)) | %{ [Void]$S...
by kerbob
Thu Jun 28, 2018 8:32 am
Forum: Windows PowerShell
Topic: Generate ODP (one day password) generated from Username and Date
Replies: 2
Views: 547

Re: Generate ODP (one day password) generated from Username and Date

I think I figured it out using the Get-StringHash script found here:
https://gallery.technet.microsoft.com/s ... h-aa843f71

$String = Get-StringHash "jsmith 6/28/2018" "SHA1"
$String = $String.substring(0,7)
Write-Host $String
ac1e7c1
by kerbob
Thu Jun 28, 2018 7:54 am
Forum: Windows PowerShell
Topic: Generate ODP (one day password) generated from Username and Date
Replies: 2
Views: 547

Generate ODP (one day password) generated from Username and Date

I have a script that makes some registry changes to allow users to do things they normally shouldn't (i.e. use removable media). I would like a function that turns username + date into a One Day Password. Example : jsmith + 6/28/2018 = JFT6QD If the user enters the correct code, the script will cont...
by kerbob
Tue Jul 25, 2017 7:17 am
Forum: PowerShell GUIs
Topic: Looking for a "Please wait..." or "Working..." form with animation
Replies: 1
Views: 1649

Looking for a "Please wait..." or "Working..." form with animation

I've got a process that takes about 15secs after a user clicks OK on a form. Instead of just seeing nothing, I'd like to present the user with a form that shows "Working.. please wait." with a spinning gizmo of some kind so they know something is still going on. I don't need anything as sophisticate...
by kerbob
Thu Oct 06, 2016 12:01 pm
Forum: PowerShell GUIs
Topic: GUI form support for multiple languages
Replies: 1
Views: 644

GUI form support for multiple languages

One of the powershell GUI scripts I wrote the company wants me to make available in Spanish as well as English. Here are the ways I was thinking to accomplish this: 1.) Query the OS language. If Spanish, display Spanish verbiage. Else, use English. Con to this is that some Spanish speakers may use E...
by kerbob
Tue Sep 13, 2016 8:44 pm
Forum: PowerShell GUIs
Topic: Active links inside of a Label
Replies: 15
Views: 2709

Re: Active links inside of a Label

Example Rich TextBox content: --------- Click Here to go to a really long funky URL that I don't want to paste in my Rich Textbox. --------- When the user clicks " Click Here ", I want it to take them to https://xyz.xyz.xyz.com/Lists/Topics/Di ... 4B38EE6C4C. The point is.. I'm trying to hide an ugl...