Questions tagged [powershell-remoting]

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.

Host applications can use a PowerShell object to run commands that use WS-Management-based Windows PowerShell remoting to create a temporary or persistent connection to the remote computer. This includes establishing an interactive session with a single remote computer.

1238 questions
-2
votes
1 answer

SQLServer module installed but SQLSERVER:\ drive not found

I've installed the SqlServer module on my windows machine with no issues. However, when I try to cd into the SQLSERVER:\ drive, it says it does not exist. I have to run a help on a function provided by the SqlServer module, and THEN it seems to do…
-2
votes
1 answer

Establishing PowerShell session on remote desktop, for user who is not an administrator

When I try to establish PowerShell session with the user "Administrator" on remote desktop I can successfully establish the sesssion, but it fails when my user is standarduser or RemoteDesktopUser. PS C:\WINDOWS\system32>…
Samantha
  • 11
  • 1
-2
votes
1 answer

Powershell with SQL

I want to create a PowerShell script to do following 1) Create Login/User in SQL 2) Grant Access to Database 3) Remove Access to Database Process will be like this 1) Connect to SQL Server (Instance) -> Connect to Database in that instance -> See if…
-2
votes
2 answers

Powershell R Script Remote Execution

I´ll try to keep my Question Simple. I have an R script which when executed localy works perfectly, now if i try to launch it remotly with an powershell script with the invoke-command, i´ll get an error message from R(Cant allocate Vector of Size…
Seits
  • 27
  • 1
  • 5
-2
votes
1 answer

How do you copy a file from your computer to a remote computer using PowerShell?

I have a file on my computer that I would like to remotely put onto another computer on the network. I've tried to use Copy-Item and do it while in a PS-Session but it doesn't work that way. Thanks! Edit: Duplicate Question
user3704471
  • 35
  • 1
  • 5
-3
votes
1 answer

Is it possible to run a Powershell script in the remote computer?

I wish to run a 'IE Rest Script' to a node present in the same network. The Script is present in the MachineA and it should be executed in the MachineB which is present in the same network. Script: add-type -AssemblyName…
-6
votes
1 answer

"Access denied" error when trying to enumerate drives on remote computers

I am trying to run a PowerShell command to get the total disk space of all drives for all our remote servers. When I run the command I am getting the error below. I have a text file which has names of the servers and I have also confirmed that WinRM…
1 2 3
82
83