Top "Powershell-remoting" questions

The ability to create a remote connection, in an other way than using WMI, is the most important difference between PowerShell v 1.0 and 2.0.

How to get free physical memory of remote computer using PowerShell

I have this: (Get-WMIObject Win32_logicaldisk -computername computer).TotalPhysicalMemory to get size of physical memory installed on remote computer. How …

windows powershell memory-management powershell-remoting
How can I use PowerShell to make remote registry changes?

I have tested the following PowerShell registry settings and it sets them correctly. Could someone show me the way to …

powershell powershell-remoting remote-registry
Powershell - Find the user who invoked the script

I have a script(Let's call it myPSScript.ps1) which takes two parameters and performs predefined steps. Script is located …

powershell powershell-2.0 powershell-remoting
To call a powershell script file (example.ps1) from C#

I tried running a script localwindows.ps1 from C# using the following Code : PSCredential credential = new PSCredential(userName, securePassword); WSManConnectionInfo …

c# powershell powershell-remoting
Powershell remoting error - network path not found

I cannot connect to remote server using enter-pssession -computername serverA. My scenario: I have 2 Win 2003 R2 servers in the same …

powershell powershell-remoting
Get-Process to remote computer doesn't work but Invoke-Command does

I have a 2 servers running Windows Server 2012 R2. One of them is hosting a virtual machine running Windows 7 32-bit, and …

powershell powershell-remoting
PowerShell Access is denied. PSRemotingTransportException + FullyQualifiedErrorId : PSSessionStateBroken

I was trying to establish a remote connection to another system and execute some basic commands. Below are the steps …

powershell remote-desktop access-denied powershell-remoting
Powershell Remote Invoke-Command Start-Process App Immediately Closes After Launch

I am working on a script to remotely kill two processes, delete some folders, and launch a service as an …

powershell powershell-remoting invoke-command start-process
PowerShell - executing a script on a remote machine giving error

This following is not working for me - %WINDIR%\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -Noninteractive -command "& Invoke-Command -ComputerName "…

powershell powershell-remoting
Import-PSSession : Proxy creation has been skipped for '%' command, because PowerShell couldn't verify its name as safe

I have a Sharepoint farm setup and I'm connecting to one of my application/search servers from a Windows 7 machine …

powershell powershell-2.0 powershell-remoting