1
vote
0answers
9 views

Automatically reconfigure WinRM HTTPS listener with new certificate?

I am looking to enable WinRM HTTPS listeners on all of our servers for secure communication when using CredSSP between servers to get around the double-hop issue. Setting this up is fine, we have ...
1
vote
0answers
16 views

Remotely edit winrm conf file

Im trying to edit the winrm conf file on remote computer. I dont have the possibility to use GPO edit so i must find another way. I've tried to set the configurations that i need by using the "winrm ...
1
vote
1answer
94 views

How can I retrieve the data types of properties when querying WMI via Winrm

Winrm allows me to query WMI via the WS-MAN protocol as opposed to DCOM. However, in the DCOM implementation I can retrieve the data types of the various properties of the various classes I query. ...
2
votes
0answers
116 views

PowerShell remoting doesn't work if computer name contains dot

I have one system where I cannot connect to remote computer (or to itself remotely) using PowerShell when computer name contains dot. For example, this works: Enter-PSSession HostA -Credential ...
3
votes
1answer
57 views

Launching Installer Via Powershell and WinRM and Nothing Happens

I'm currently working on a Powershell script to run some Microsoft Hotfix installers remotely on several Windows Server 2008 R2 servers that I manage. Basically, the script copies all the appropriate ...
2
votes
1answer
74 views

Manage client workstations with Remote Powershell via SSL

I am looking for a solution to remotely manage around 100 workstations. I will be connecting to these systems to complete several local system tasks. (3rd party updates, security auditing, incident ...
6
votes
2answers
388 views

powershell: How to check if S.M.A.R.T is enabled on remote machines

I was attempting to get disk info of remote machines, including whether or not SMART is enabled on the drive by using the win32_diskdrive class. This is trickier than I thought. While it's easy ...
2
votes
2answers
51 views

Microsoft Exchange Management console, Initilization Failed

Upon starting Exchange Management Console I am presented with the error [###################] Connecting to remote server failed with the following error message : The WinRM client sent a request to ...
4
votes
1answer
153 views

WinRM listener is not all ears

This is what happens when I try and connect to Powershell on my remote machine: PS C:\Users\Jonathan> Test-WSMan -ComputerName 54.228.XX.XX Test-WSMan : The WinRM client cannot complete the ...
4
votes
2answers
708 views

Why can a Domain Admin run a powershell cmd locally, but connecting over WinRM with the same account, command returns an UnauthorizedAccessException?

I'm trying to administer a Windows 7 machine remotely. I've enabled WinRM and can use Enter-PsSession to connect to the remote machine. However, I'm noticing a difference between running a particular ...
0
votes
1answer
455 views

Remotely execute application on another PC connected via a crossover cable

I have two PCs that are both running Windows XP SP3, referred to as PC1 and PC2. They are connected to each other through cross-over ethernet cable. PC1 has the static IP address 10.0.0.1 and PC2 has ...
3
votes
1answer
1k views

How do I change Listener port in Powershell/winrm 2.0?

In quite a few places the command for changing the port winrm listens on look like this: winrm set winrm/config/Listener?Address=*+Transport=HTTP @{Port="8888"} However this does not work for me. ...
2
votes
1answer
382 views

Setting up a very mixed Active Directory network to work with PowerShell Remote Administration

Summary: I want to be able to monitor the computers on my network, but don't need it to be automated. We're too small to purchase anything like MOM, but too big to do anything manually (~100 machines ...
2
votes
1answer
2k views

PowerShell remoting with a one-way trust

My question is similar to Powershell Remoting: One way trust, however there are differences and the resolution (adding the server to the trusted list) does not work for me. Scenario: I have two ...
1
vote
1answer
293 views

“Get-OwaVirtualDirectory” very very slow when accessing CAS in different site

I have a CAS server in a different AD site, and every Exchange 2010 command runs quickly... except for the one that use IIS and Get-XXXVirtualDirectory. In these cases it takes several minutes for ...
4
votes
2answers
1k views

Issues with patching servers remotely using winrm and Microsoft.Update.Session

I have a network with windows 2003, 2008 and 2008r2 servers. I have a powershell script that I wrote to patch a local machine using the "Microsoft.Update" com objects. (Similar to Windows Update ...
3
votes
3answers
536 views

One-To-Many Powershell Scripts

I'm trying to create a script to run as a scheduled task, which will run against multiple servers and retrieve some information. To start with, I populate the list of servers by querying AD for all ...
0
votes
1answer
143 views

Remote EMS Script as Scheduled Task Without Credentials

I have an Exchange script that I want to schedule to run once a month. In our environment we have a server which runs all scripts and scheduled tasks, so for policy reasons I need to run this script ...
2
votes
2answers
7k views

Cannot get CredSSP authentication to work in PowerShell

In attempting to create a PowerShell script using remoting I ran into what I believe is the double-hop problem. In that article, Perriman gives a succinct description of the problem as well as the ...
1
vote
2answers
404 views

Powershell - winrrm using ip address instead of computer name

Is it possible to set up winrm using IP and address instead of the computer name. The computer in question is only I have only been able to set winrm up for a computer in the same domain like this: ...
0
votes
1answer
651 views

Powershell remote sessions and access to network resources

It seems I cannot access network resources in a remote Powershell session. This is using Powershell v2. Both the local and remote computers are on the same domain. As an example, if I am on MachineA ...
14
votes
4answers
19k views

Recycle remote IIS app pool from the command line?

Is it possible to recycle an IIS7 app pool from the command line, on a different machine? I've found APPCMD (appcmd recycle apppool my-app-pool), but it only operates on the host it's run on, AFAICT. ...
2
votes
1answer
272 views

SSH Key style authentication with WinRM

Would it be possible to setup any type of authentication key with WinRM that would be similar to the way SSH Keys work? I don't mean just the encrypted transmission but more to be able to ...
1
vote
4answers
3k views

Why am I getting an Access Denied on importing a PST file in Exchange 2010 SP1?

I am trying to test importing a .PST file directly from its original location on a remote machine with the New-MailboxImportRequest cmdlet in Exchange 2010 SP1. I have no trouble importing the file if ...
2
votes
2answers
2k views

Executing Oracle SQLPlus in a Powershell Invoke-Command statement against a remote machine

We have a basic powershell script that attempts to execute SQLPlus.exe on a remote machine. The remote does not have Oracle Instant client installed, but we have bundled all the necesary dlls in a ...
0
votes
3answers
889 views

Powershell Remoting: One way trust

I work at a company where the AD forest has a one-way trust with our DMZ domain (DMZ Trusts Corpnet) when attempting to run the below command from my laptop sitting on the corporate network I am not ...