Search found 24 matches

by Abhishek_Paul
Thu Jun 08, 2017 2:06 pm
Forum: PowerShell GUIs
Topic: Update Statusbar for remote PS session
Replies: 7
Views: 958

Re: Update Statusbar for remote PS session

You can try this: Invoke-Command -ScriptBlock $sb -ComputerName $computerName -Credential $cred | ForEach-Object{ $statusbar1.Text = $_ [System.Windows.Forms.Application]::DoEvents() } I get nothing in statusbar . I understand that we can get output from remote Ps-Session and save the result locall...
by Abhishek_Paul
Wed Jun 07, 2017 4:15 pm
Forum: Windows PowerShell
Topic: Not Able to access files using PS Remoting
Replies: 2
Views: 1453

Re: Not Able to access files using PS Remoting

jvierra wrote:Windows security does not allow hop-scotching across servers.
Look up "second hop restriction"
Thanks a lot for your help
by Abhishek_Paul
Wed Jun 07, 2017 4:01 pm
Forum: PowerShell GUIs
Topic: Update Statusbar for remote PS session
Replies: 7
Views: 958

Update Statusbar for remote PS session

$scriptblock = { Write-Output " Step 1 : Completed" #do Some work Write-Output " Step 2 : Completed" #do Some work Write-Output " Step 3 : Completed" #do Some work } $out = Invoke-Command -ComputerName $computerName -Credential $cred $statusbar1.Text = $out #Write some working code so that it will ...
by Abhishek_Paul
Tue May 16, 2017 9:04 am
Forum: Windows PowerShell
Topic: Not Able to access files using PS Remoting
Replies: 2
Views: 1453

Not Able to access files using PS Remoting

I have created a folder "C:\Setup\Setup.exe" in ServerA and shared with everyone . This file is Accessible from ServerB & serverC. I am running the below command on ServerC to check if it's accessible : Test-Path \\ServerA\Setup.exe The result is True. Now I am doing Ps-remoting to ServerC from Serv...