Search found 57 matches

by Cliving
Fri Aug 19, 2016 12:57 pm
Forum: PowerShell GUIs
Topic: DataGridView Questions
Replies: 3
Views: 2221

DataGridView Questions

Hello all, I have a couple questions about using the DataGridView control in PowerShell Studio. I start with a simple array of objects that I populate into a DataGridView control. 1. What is the best/simplest way to get a column with a checkbox for each row that users can check or un-check? Do I nee...
by Cliving
Tue Jan 05, 2016 6:43 am
Forum: PowerShell Studio
Topic: MSI Installer for PowerShell Modules
Replies: 2
Views: 6545

Re: MSI Installer for PowerShell Modules

Thank you for the assistance.
by Cliving
Mon Jan 04, 2016 1:57 pm
Forum: PowerShell Studio
Topic: MSI Installer for PowerShell Modules
Replies: 2
Views: 6545

MSI Installer for PowerShell Modules

Product, version and build: PowerShell Studio 2015 v4.2.99 32 or 64 bit version of product: 64-bit Operating system: Windows 10 Enterprise 32 or 64 bit OS: 64-bit I have a few questions about creating a custom PowerShell module and MSI installer for deployment. I have been working on a module that I...
by Cliving
Thu Oct 01, 2015 9:54 am
Forum: PowerShell Studio
Topic: Recognize non-installed modules
Replies: 2
Views: 2283

Re: Recognize non-installed modules

Thank you.
by Cliving
Thu Oct 01, 2015 9:01 am
Forum: PowerShell Studio
Topic: Recognize non-installed modules
Replies: 2
Views: 2283

Recognize non-installed modules

Hello, I was wondering if there was a way I can specify a path to powershell modules that live either locally or on a network share such that the exported cmdlets and functions get the syntax coloring, tab completion, and so forth within the scripting environment. These modules are either ones usual...
by Cliving
Thu Sep 24, 2015 8:40 am
Forum: PowerShell Studio
Topic: MSI Insufficient Privileges
Replies: 1
Views: 1605

MSI Insufficient Privileges

I have a question regarding how MSI's are built is the later versions. I have been using the MSI builder for a while now without issue. However, the last few builds I have done, the MSI won't install unless using msiexec with an admin command prompt. If I'm logged into a machine as a local administr...
by Cliving
Thu Sep 10, 2015 2:27 pm
Forum: PowerShell GUIs
Topic: Create INI file to store custom settings in PowerShell GUI?
Replies: 6
Views: 9951

Re: Create INI file to store custom settings in PowerShell G

My method may not be the best or most efficient, it is just what evolved as I increased complexity. For creating a new config file (when a user doesn't already have one), I create a hash table called $Config that holds all the Config properties as well as the default values. function New-Config { #C...
by Cliving
Tue Sep 08, 2015 8:47 am
Forum: PowerShell GUIs
Topic: Create INI file to store custom settings in PowerShell GUI?
Replies: 6
Views: 9951

Re: Create INI file to store custom settings in PowerShell G

I use the Export-Clixml and Import-Clixml cmdlets for this functionality. Create a hashtable with keys and values and use the Export-Clixml cmdlet to store the config file where you want; I store them in the user's appData\Local\ProductName folder. I use three functions to handle a config or prefere...
by Cliving
Fri Aug 28, 2015 11:49 am
Forum: PowerShell GUIs
Topic: Best way to handle large datasets in a DataGridView
Replies: 3
Views: 2091

Re: Best way to handle large datasets in a DataGridView

Thank you for the information.
by Cliving
Fri Aug 28, 2015 9:51 am
Forum: PowerShell GUIs
Topic: Best way to handle large datasets in a DataGridView
Replies: 3
Views: 2091

Best way to handle large datasets in a DataGridView

Is there a standard or best practice for how to handle large numbers of object being populated into a data grid view control? If I create a tool that does some AD reporting for example, what would be the best way to present such a large amount of objects? I do the query in a background job to keep t...