The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
26 views

Can not install Office 2010 via winrm

I am trying to install Microsoft Office 2010, I have created a MSP and config.xml file so I can do this from Powershell, using the following command: Start-Process "C:\temp\Office2010\x86\setup.exe" ...
15
votes
4answers
24k 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. ...
1
vote
2answers
491 views

Allowing Domain Users to run winrm commands

Currently i have a AD/Kerberos Configured on one EC2 instance(Windows 2008 R2) and created couple of users. Each of the users has administrator privileges. When We login as a non-domain Administrator, ...
1
vote
1answer
317 views

Unable to configure WinRm https listener

I am trying to configure winrm https listener on a windows machine. Earlier i had followed WinRm https listener configuration The above solution worked for me. But now i have deleted the listener ...
0
votes
2answers
78 views

Enable RDP using WinRM or other alternatives to psexec

I am writing a program that takes a list of servers and enables/disables RDP. Currently I am utilizing psexec and up in till this morning, everything worked. I made no change in ...
5
votes
2answers
2k 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 ...
5
votes
3answers
10k 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 ...
0
votes
0answers
393 views

The WinRM service is not listening for WS-Management requests

Help! I just started having problems running remote power shell and using mapped drives as a remote administrator. I have two computers on the same local network, one a PC developer machine (GIGAPC), ...
3
votes
2answers
954 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 ...
0
votes
0answers
144 views

How do I make robocopy over WinRM behave like over RDP?

I'm trying to use robocopy to sync two file shares on computers NAS001 and NAS002. To check what files should be synced, I use this command while connected to NAS001. robocopy G:\Software\SQLServer ...
3
votes
2answers
388 views

Windows Server 2008 R2 Source-Initiated Event Log Forwarding: No Source Servers Reporting

I have a Server 2008 R2 server acting as a collector for two other servers. One is 2008 R2 as well, the other is 2012 R2. Collector Initiated forwarding works just fine, and that's really the only ...
2
votes
1answer
284 views

Post Azure VM creation bootstrap process - Azure user-data mechanism during VM creation?

After creating an Azure Windows VM, how does bootstrapping (winrm or ssh) completed? I'm using knife azure and using either winrm or ssh, the VM is created but fails to bootstrap. Do I have to ...
0
votes
0answers
310 views

Accessing Exchange server 2013 from window 7 using Remote PowerShell?

I am trying Remote PowerShell from Windows 7 to Exchange Server 2013. Following is the code snippet. public static void ConnectToPowerShell() { string password = "password"; ...
2
votes
2answers
2k views

It cannot determine the content type of the HTTP response from the destination computer wsman

I am trying to connect to an Exchange server via a wsman connection using PowerShell. The client server in question is in a Workgroup, while the Exchange server is in its own domain. I use the ...
1
vote
0answers
27 views

Manage UAG Server via WinRM

Does anyone know of there is a way to configure a UAG server to work with WinRM? We have a small number of servers and the "Server Manager" application as well as PowerShell are the way we generally ...
3
votes
1answer
589 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 ...
1
vote
0answers
71 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 ...
0
votes
0answers
95 views

IIS6.0 Stop working and getting “WinRM” & “W3WP process” related errors in eventvwr

I have an issue on my windows server 2003R2 SP2. Suddenly IIS stopped processing HTTP requests and all of the websites on the server gone offline. I did an iisreset and everything goes back to normal ...
2
votes
1answer
249 views

How does Windows Event forwarding work with non domain computers? (certificates)

In reasearching this question I've looked at the following documents and none of them describe the options or flexibility of the event collector service. Microsoft's Event Collector Service on ...
1
vote
1answer
280 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. ...
0
votes
0answers
328 views

Adding existing Host to SCVMM: Error 2912

When trying to add an existing Hyper-V-Host to SCVMM I get the following error: Error (2912) An internal error has occurred trying to contact an agent on the %serverName%. (Unknown error ...
1
vote
1answer
442 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 ...
3
votes
1answer
122 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
4k views

How to enable negotiate authentication for winrm

I have disabled negotiate authentication for the winrm service on my server by executing: winrm put winrm/config/service/Auth @{Negotiate="false"} And now I can perform any operation with winrm. I ...
2
votes
1answer
114 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
956 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
0answers
107 views

Listing all WMI classes with winrm/wsman

Is there a way to pull all WMI information from a system with a single winrm command? I can run commands such as winrm enum wmicimv2/win32_computersystem, which will give me information like: ...
2
votes
1answer
250 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 ...
3
votes
3answers
676 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 ...
4
votes
2answers
1k 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 ...
4
votes
1answer
347 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 ...
1
vote
1answer
1k views

WINRM Enter-Pssession not working on new machine

I am trying to enable win rm in mixed domain mode on a new machine. From another work station, I can connect with the following command: Enter-PSSession -ComputerName 89.251.114.100 -Credential ...
0
votes
1answer
381 views

Is there a way to obtain a Dell server's RAID configuration/level using only winrm/wsman? (ESXi servers)

I've seen videos describing how to configure RAID using wsman/winrm commands run against a server's iDRAC, but I can't seem to find anything that will just give me the current configuration and RAID ...
1
vote
1answer
2k views

How can I reinstall the WinRM service on WS2012?

Whatever winrm command I issue I get, The client cannot connect to the destination specified in the request ... Error number: -2144108526 0x80338012 I checked all the usual suspects. The ...
1
vote
1answer
406 views

How to ensure winrm service is started at boot?

Reading the documentation for winrm, I thought that doing winrm quickconfig as admin (windows 7) was needed only once, and that winrm would then starts automatically at boot. But that does not seem ...
2
votes
0answers
110 views

Windows WMI get a snapshot EnabledState

I am trying to get the EnabledState of a virtual machine snapshot using WMI. That is I try to get the EnabledState that was current for the virtual machine when the snapshot was taken. So far I know ...
1
vote
0answers
356 views

Update WinRM on Win2008R2 to manage it with Windows Server 2012

I want to manage Win2008R2 with Windows Server 2012. What i've done: install .Net Framwork 4.0 on Win2008R2 server install WMF 3.0 install hotfix KB2682011 powershell> winrm quickconfig and got: ...
0
votes
1answer
1k 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 ...
1
vote
0answers
548 views

Problems configuring winrm without windows firewall

I'm trying to follow this guide to prepare my server to become a chef-client: http://wiki.opscode.com/display/chef/Knife+Windows+Bootstrap When I run commands like: C:\> winrm set winrm/config ...
2
votes
2answers
648 views

What effect will disabling WinRM authentication methods have?

In WinRM Service section of Group Policy, I have the option of disabling the following authentication mechanisms: Basic CredSSP Kerberos Negotiate With concerns of security in mind, I would like ...
0
votes
1answer
377 views

cscript fails when executed by winrm via but works when executed locally

I'm running the following as a part of chef deployment of a windows server. cscript /nologo C:\chef\wget.vbs /url:http://www.opscode.com/chef/install.msi ...
10
votes
1answer
3k views

Configure WinRM using a .bat file without yes/no prompt

I want to configure winrm in all my clients using a bat file. after running bat file winrm quickconfig command there's a prompt for a yes/no answer. I don't know how to answer "yes" in the batch file. ...
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
2answers
3k views

Windows Server 2008 Remote Management cannot connect

I have Windows Server 2008 R2 running on a remote machine, with Windows 7 Ultimate as my client machine. I followed the instructions here ...
3
votes
1answer
2k 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
435 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 ...
1
vote
4answers
4k 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
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 ...
2
votes
1answer
2k views

How do I browse and edit WinRM configuration settings?

I'd like to browse and edit WinRM configuration settings but struggle with winrm.exe. Is there an alternative app, a command line switch, XML file, registry setting (etc) that I should investigate?
0
votes
1answer
147 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 ...