Search found 17 matches

by ashish44s
Wed Mar 23, 2016 9:00 pm
Forum: PowerShell
Topic: Run command on a remote machine
Replies: 7
Views: 4094

Re: Run command on a remote machine

I want to know if there is any problem with scriptblock part/command that I mentioned. It simply does not execute on remote machine. It should install package with packageGUID mentioned in command. I can confirm that command is functioning as it works on my local machine, but does not perform anythi...
by ashish44s
Wed Mar 23, 2016 8:26 pm
Forum: PowerShell
Topic: Run command on a remote machine
Replies: 7
Views: 4094

Re: Run command on a remote machine

If I run below command for remote machine, that does not work: Invoke-Command -ComputerName $Host -ScriptBlock {C:\Windows\Wrapper.exe /PackageGuid=xxxxxxxxxxxxxxx /Environment=TEST} -Credential $Cred On the other hand, if I do by combining both PSSession and Invoke-Command, it works as stated in pr...
by ashish44s
Wed Mar 23, 2016 3:45 pm
Forum: PowerShell
Topic: Run command on a remote machine
Replies: 7
Views: 4094

Re: Run command on a remote machine

Its configured. I can use other commands but not this one. However, I can run using PSSession via Invoke-Command on machine as below: $session = New-PSSession -computername HOST -credential $cred Invoke-Command -Session $session -ScriptBlock {C:\Windows\Wrapper.exe /PackageGuid=xxxxxxxxxxxxxxx /Envi...
by ashish44s
Wed Mar 23, 2016 3:19 pm
Forum: PowerShell
Topic: Run command on a remote machine
Replies: 7
Views: 4094

Run command on a remote machine

Hi All, I'm trying to execute a command over several remote machines but it's not getting triggered via Invoke-Command. I'm putting below command inside scriptblock: C:\Windows\Wrapper.exe /PackageGuid=xxxxxxxxxxxxxxx /Environment=TEST This works fine on local box, but does not run on remote machine...
by ashish44s
Tue Mar 22, 2016 3:20 pm
Forum: PowerShell GUIs
Topic: Converted EXE not showing 'OpenFileDialog' box
Replies: 3
Views: 2090

Re: Converted EXE not showing 'OpenFileDialog' box

You're Awesome :) I just didn't checked STA box. I did that and it worked.

Could you please explain concept behind that. It will be very helpful.

Thanks Again.
by ashish44s
Tue Mar 22, 2016 3:07 pm
Forum: PowerShell GUIs
Topic: Converted EXE not showing 'OpenFileDialog' box
Replies: 3
Views: 2090

Converted EXE not showing 'OpenFileDialog' box

Hi All, I'm using PowerShell Studio 2012 and PSVersion 3.0 in my machine. I'm working to create a tool that should browse for a text file that contains list of several machines. To do that, I created one text-box and one button. When click on button, it opens a dialog box to pick text file and text-...
by ashish44s
Fri Feb 26, 2016 3:20 pm
Forum: PowerShell GUIs
Topic: Enable Right-click option in Out-GridView
Replies: 4
Views: 5175

Re: Enable Right-click option in Out-GridView

Can I just provide a facility to copy rows displayed via Out-GridView to a Notepad file ?
by ashish44s
Fri Feb 26, 2016 2:59 pm
Forum: PowerShell GUIs
Topic: Enable Right-click option in Out-GridView
Replies: 4
Views: 5175

Enable Right-click option in Out-GridView

Hello All,

Is it possible to provide right-click option to copy a certain column in Out-GridView that can be used to paste at any location ?
by ashish44s
Wed Feb 24, 2016 8:43 am
Forum: PowerShell
Topic: TextBox input always in UPPERCASE
Replies: 5
Views: 8069

Re: TextBox input always in UPPERCASE

Thanks for all the information. It's indeed helpful.
by ashish44s
Mon Feb 22, 2016 9:25 pm
Forum: PowerShell
Topic: TextBox input always in UPPERCASE
Replies: 5
Views: 8069

Re: TextBox input always in UPPERCASE

Hi there, My input is getting stored in $AppName and if I try something like below, it does not work: $AppName.CharacterCasing='Upper' Earlier also I thought for character casing but somehow its not working for me. Can you tell me what snippet I need to add in my code(shown above) as this is the cus...