Search found 16 matches

by nai0248
Fri Apr 12, 2019 11:59 am
Forum: PowerShell Studio
Topic: Problems starting PowerShell Studio
Replies: 2
Views: 1690

Re: Problems starting PowerShell Studio

Thank you!! Worked like a charm.
by nai0248
Fri Apr 12, 2019 7:22 am
Forum: PowerShell Studio
Topic: Problems starting PowerShell Studio
Replies: 2
Views: 1690

Problems starting PowerShell Studio

To help you better we need some information from you. *** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. *** Product, version and build: Powershell Studio ...
by nai0248
Fri Apr 20, 2018 11:26 am
Forum: PowerShell GUIs
Topic: Adding text to a listbox
Replies: 10
Views: 7171

Re: Adding text to a listbox

I was able to figure out the issue. Essentially with Import-CSV and populating the list box, the header from the field was getting included with each data entry with the format @{headername=data}. I first tried to eliminate the Header using FT -HideTableHeaders but that gave me a bunch of... Microso...
by nai0248
Fri Apr 20, 2018 7:04 am
Forum: PowerShell GUIs
Topic: Adding text to a listbox
Replies: 10
Views: 7171

Re: Adding text to a listbox

Updated, Sorry for the large file size. Function Get-FileName($Title, $FormType, $FileType) { [System.Reflection.Assembly]::LoadWithPartialName("System.windows.forms") | Out-Null switch ($FormType) { 'OpenFileDialog' { $OpenFileDialog = New-Object System.Windows.Forms.$FormType $OpenFileDi...
by nai0248
Thu Apr 19, 2018 8:52 am
Forum: PowerShell GUIs
Topic: Adding text to a listbox
Replies: 10
Views: 7171

Adding text to a listbox

I'm new to the GUI designer and attempting to use a Wizard tabbed form. The first tab is informational only, the second tab to select a collection of files and folders, and third tab takes data from the file in tab two to populate two listboxes. If the input file is an xml ([xml]...Get-Content, only...
by nai0248
Tue Oct 03, 2017 11:03 am
Forum: PrimalScript
Topic: Variables view for vbscripts
Replies: 1
Views: 3936

Variables view for vbscripts

Product, version and build: PrimalScript 2016, Build 7.2.95 32 or 64 bit version of product: 64 bit Operating system: Windows 10 32 or 64 bit OS: 64 bit *** 2016 Newbie.... Does the Variable tab during debug only show variables in Powershell? Does it work with VBScripts too? Only way I can see the v...
by nai0248
Tue Oct 03, 2017 10:57 am
Forum: PrimalScript
Topic: Script Debugging/Walkthrough
Replies: 2
Views: 4766

Re: Script Debugging/Walkthrough

Issue was the platform was set to 64-bit. Once I changed to 32-bit it works as expected and makes sense.
by nai0248
Tue Oct 03, 2017 7:24 am
Forum: PrimalScript
Topic: Script Debugging/Walkthrough
Replies: 2
Views: 4766

Script Debugging/Walkthrough

Product, version and build: PrimalScript 2016, Build 7.2.95 32 or 64 bit version of product: 64 bit Operating system: Windows 10 32 or 64 bit OS: 64 bit *** DO NOT POST SUBSCRIPTIONS, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM I've used much older version of Primal Script but a bit new to...
by nai0248
Thu Aug 23, 2012 3:30 am
Forum: VBScript
Topic: Folder's inherited ACL Level
Replies: 0
Views: 5242

Folder's inherited ACL Level

I've been working on a script for some time trying to figure out where permissions for users on a folder begins (Inherited from). I can write something that will look at a particular folder but the problem is I need the script to be generic enough so that I can provide a root path (ie. T:My FolderSu...
by nai0248
Thu Dec 02, 2010 5:35 am
Forum: VBScript
Topic: WMI or SWbemLocator credentials with SmartCard
Replies: 1
Views: 1950

WMI or SWbemLocator credentials with SmartCard

I know there are many alternatives to this but I was curious: 1. Can you use the WMI/GetObject or SWbemLocator/CreateObject to get the credentials from a smartcard? 2. Is there any VBS function that can prompt for smart card credentials and pass those credentials to perform a function remotely? 3. W...