Questions tagged [remoting]
50 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,911
- 34
- 121
- 197
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…

Vidar Nordnes
- 113
- 3
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
- 295
- 1
- 5
- 14
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…

durette
- 164
- 9
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…

InteXX
- 753
- 2
- 15
- 33
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 =…

Santron Manibharathi
- 101
- 2
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
PRTG PowerShell Remoting Requirements for Custom EXE/Script Advanced Sensor
I've created a script for checking the TLS certificate assigned to an SMTP Relay server which supports SMTPS. The code is available here if that's of interest.
The documentation says that powershell remoting is required on the target machine... but…

JohnLBevan
- 1,214
- 7
- 22
- 46
0
votes
0 answers
Alternative to x-forwarding, or how to speed up x-forwarding
I do my development on VM's, and pass windows back to my Host via X-forwarding with the following command:
ssh -Yc aes256-gcm@openssh.com me@local-vm-ip
This works fine except that it tends to be slow; I have specified to use a faster encryption…

Snappawapa
- 101
- 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…

Johannes B. Latzel
- 53
- 1
- 4