Search found 30 matches

by nirmalks
Wed Feb 10, 2016 12:09 pm
Forum: PowerShell Studio
Topic: MSOline module not showing up
Replies: 5
Views: 2545

Re: MSOline module not showing up

The one which causes the problem and always is MSOnlineExtended module. You should never allow PowerShell Studio to insert "Import MSOnlineExtended".
by nirmalks
Sat Feb 06, 2016 6:50 am
Forum: PowerShell Studio
Topic: MSOline module not showing up
Replies: 5
Views: 2545

Re: MSOline module not showing up

I just checked using the script found here: download/file.php?id=619

I'm able to connect, but If I use the same code in my script, it doesn't work!
by nirmalks
Sat Feb 06, 2016 6:33 am
Forum: PowerShell Studio
Topic: MSOline module not showing up
Replies: 5
Views: 2545

Re: MSOline module not showing up

Ok. I can see MSOnline and MSOnlineExtended module, but I see below behavior: -If I run MSOnline cmdlet from PowerShell Studio "Console" - it works -If I write below code in script and then click on Home > Run, it doesn't work! $Cred = Get-Credential Connect-MSOnlineService -Credential $Creds Output...
by nirmalks
Sat Feb 06, 2016 4:01 am
Forum: PowerShell Studio
Topic: MSOline module not showing up
Replies: 5
Views: 2545

MSOline module not showing up

Product, version and build: 2015
32 or 64 bit version of product: 32
Operating system: Win7
32 or 64 bit OS: 32

Even after clicking "Build modules" or refresh icon, Powershell Studio is not showing up MSOnline module.

Can I copy MSOnline module (PSD file) and then import in script?

Thanks,
Nirmal
by nirmalks
Sun Sep 20, 2015 8:00 pm
Forum: PowerShell Studio
Topic: Hide PowerShell code
Replies: 2
Views: 1224

Re: Hide PowerShell code

Anyone?????
by nirmalks
Sun Sep 20, 2015 9:05 am
Forum: PowerShell Studio
Topic: Hide PowerShell code
Replies: 2
Views: 1224

Hide PowerShell code

Our application creates a PS1 file and then execute it from within the Application. Is there any way to hide PS1 code or compile PS1 to EXE so users do not see the code?

By the way, do PowerShell Studio offer any function that can be used to encrypt / compile PS1 to EXE?

Thanks,
Nratawa
by nirmalks
Mon Aug 17, 2015 3:24 pm
Forum: Windows PowerShell
Topic: Datagridview search
Replies: 8
Views: 2340

Re: Datagridview search

jvierra wrote:
PowerShell Code
Double-click the code block to select all.
$datagridview.Rows | 
    ForEach-Object{
        $_.Cells|
        ForEach-Object{
            $_.Value -eq 'SomeValue'
        }
     }
Great!! and thank you! you saved my day!

-Best
by nirmalks
Mon Aug 17, 2015 12:34 pm
Forum: Windows PowerShell
Topic: Datagridview search
Replies: 8
Views: 2340

Re: Datagridview search

Start with the help. Look closely at all examples. help about_foreach Well, I'm very much aware of ForEach loop, but don't know what code to put inside it. { What Code to put in here?? } How do I use below code in PowerShell? if (row.Cells[row.Index].Value.ToString().Equals(searchValue)) Thanks, Nr...
by nirmalks
Mon Aug 17, 2015 10:34 am
Forum: Windows PowerShell
Topic: Datagridview search
Replies: 8
Views: 2340

Re: Datagridview search

jvierra wrote:You can enumerate the rows and cells collections.
Can you please post a little example in a ForEach loop?
by nirmalks
Sun Aug 16, 2015 9:14 pm
Forum: Windows PowerShell
Topic: Datagridview search
Replies: 8
Views: 2340

Re: Datagridview search

Hi All, I have a datagridview control on form. I am using below code to import a CSV: $rows = Import-Csv .\Data.CSV -Header Data1, Data2, Data3 $table = ConvertTo-DataTable -InputObject $rows Load-DataGridView -DataGridView $datagridview1 -Item $table I have created a textbox and added TextChangedE...