Questions tagged [remoting]

48 questions
1
vote
2 answers

How do I suppress "Yellow Text" from Exchange Set-Mailbox, when -WarningAction doesn't seem to work?

I am doing a bulk import, setting or updating attribute6 on 1,000 users in AD. I'm using the following Exchange commandlet to accomplish this: [PS] C:\>set-mailbox -Identity user@company.com -CustomAttribute6 knruiz@nfp.com …
makerofthings7
  • 8,821
  • 28
  • 115
  • 196
1
vote
0 answers

Powershell: Cannot connect via SSL

Am following "secrets to powershell remoting" to setup an SLL account and seem to be missing a step. I ran Winrm create winrm/config/Listener?Address=*+Transport=HTTPS @{Hostname="redacted";CertificateThumbprint="redacted"} and got PS…
JSWork
  • 151
  • 4
1
vote
1 answer

No Event Logs in Diagnostic on Windows Azure?

I'm trying to get .NET Remoting to work on Windows Azure, with a web role. I get a 500 internal server error when trying to access the URL. I've tried using Azure MMC (http://code.msdn.microsoft.com/windowsazuremmc), but I'm only able to get…
1
vote
1 answer

Powershell Remoting: Execute local function on two target servers

I have a function foo on my local Machine. (In my profile, but calling c:\scripts\foo.ps1 would be also OK!) How do i load this on ServerA and ServerB so i can execute the function in the next statement? This is what i tried with no success..…
icnivad
  • 327
  • 3
  • 12
1
vote
1 answer

Powershell - Invoke-command does not run the msiexec.exe

I want to install the TortoiseSVN-client on a bunch of servers, using Powershell remoting. Basic operations work, but the below command won't work as remoting Invoke-Command -ComputerName myserver -ScriptBlock {Start-Process "msiexec.exe"…
rhellem
  • 243
  • 1
  • 3
  • 11
0
votes
1 answer

How can I allow Powershell remoting from only one machine?

When I set WSMan:\localhost\Client\TrustedHosts on the server, it still allows access from client machines inside the domain. Instead, I'd like to disallow domain members by default. The calling user is an admin on both the client and server…
0
votes
0 answers

How do I overcome an "Insufficient winsock resources" message that prevents PS Get-ADUser from running

My account is a domain admin, I often log onto a particular server in our network (not the DC), and until recently I could query AD with PS commands, e.g. Get-ADUser crm.webserver -Properties * and I would see the PS message, 'Creating a new…
colinp_1
  • 21
  • 3
0
votes
1 answer

WinRM failing when attempted from Win10, but not from WSE2016

I'm unable to PSRemote to my Hyper-V host, nor can I connect to it using Hyper-V Manager. This occurs from a client VM, but not the server VM. I can PSRemote and connect without problem from the server. This is my setup: [HOST] is Hyper-V…
0
votes
0 answers

Odd behavior using WinRM via powershell, works sometimes and other times does not

Been setting up Powershell Remoting for all of our client machines (Pushed out GPO last week) and I can Test-WSMan on pretty much all of them and I get a nice expected response. Now on one of our servers (our SCCM 2012 with all the latest updates)…
TofuBug
  • 101
  • 3
0
votes
0 answers

Issues with Get-WinEvent running in remoting session

Looks like below code does not work $EventLogonIDs="4611","4624","4625","4634","4647","4648","4672","4774","4775","4 908","4964" $MultipleIDLogEntries={Get-WinEvent -FilterHashtable …
0
votes
0 answers

Access Denied when Creating Remote Powershell session for Exchange 2013. But not always

Access Denied error is thrown sometimes when connecting to an Exchange Server 2003 SP1 server. The cmd-let used to connect is: Set-ExecutionPolicy RemoteSigned $sessOpt = New-SessionOption -SkipCACheck -SkipCNCheck -SkipRevocationCheck $credent =…
0
votes
3 answers

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 able to remote into a server sitting in our DMZ.…
jamason1983
  • 176
  • 4
0
votes
0 answers

Powershell Remoting with local Administrator in Domain

I would like to establish Powershell remote sessions to domain members by using their local administrator for authentication. Let's say I have a host called "server1" in the domain "test.local". If I connect with "test.local\myadmin" I can establish…
0
votes
1 answer

Powershell ssh connection from linux to Domain Controller is extremely slow

I have PHP application to create user accounts in our Windows Active Directory. This application is running on Apache and Debian 11. I have LDAP only (because of some apps which are not supporting LDAPS), so I'm unable to set password directly from…
culter
  • 507
  • 2
  • 7
  • 16
0
votes
0 answers

GIT-SCM bash.exe doesn't work from "Enter-PSSession -Computer myServer"?

Let's suppose I download and install Git-SCM on a remote windows 10 computer using this installer: https://github.com/git-for-windows/git/releases/download/v2.33.1.windows.1/PortableGit-2.33.1-64-bit.7z.exe I unzip this exe installation file to the…
pico
  • 111
  • 3