Search found 17 matches
- Wed Mar 23, 2016 9:00 pm
- Forum: PowerShell
- Topic: Run command on a remote machine
- Replies: 7
- Views: 4110
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...
- Wed Mar 23, 2016 8:26 pm
- Forum: PowerShell
- Topic: Run command on a remote machine
- Replies: 7
- Views: 4110
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...
- Wed Mar 23, 2016 3:45 pm
- Forum: PowerShell
- Topic: Run command on a remote machine
- Replies: 7
- Views: 4110
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...
- Wed Mar 23, 2016 3:19 pm
- Forum: PowerShell
- Topic: Run command on a remote machine
- Replies: 7
- Views: 4110
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...
- Tue Mar 22, 2016 3:20 pm
- Forum: PowerShell GUIs
- Topic: Converted EXE not showing 'OpenFileDialog' box
- Replies: 3
- Views: 2093
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.
Could you please explain concept behind that. It will be very helpful.
Thanks Again.
- Tue Mar 22, 2016 3:07 pm
- Forum: PowerShell GUIs
- Topic: Converted EXE not showing 'OpenFileDialog' box
- Replies: 3
- Views: 2093
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-...
- Fri Feb 26, 2016 3:20 pm
- Forum: PowerShell GUIs
- Topic: Enable Right-click option in Out-GridView
- Replies: 4
- Views: 5191
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 ?
- Fri Feb 26, 2016 2:59 pm
- Forum: PowerShell GUIs
- Topic: Enable Right-click option in Out-GridView
- Replies: 4
- Views: 5191
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 ?
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 ?
- Wed Feb 24, 2016 8:43 am
- Forum: PowerShell
- Topic: TextBox input always in UPPERCASE
- Replies: 5
- Views: 8106
Re: TextBox input always in UPPERCASE
Thanks for all the information. It's indeed helpful.
- Mon Feb 22, 2016 9:25 pm
- Forum: PowerShell
- Topic: TextBox input always in UPPERCASE
- Replies: 5
- Views: 8106
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...