0
votes
1answer
76 views

What rights should non-admin user have to run Get-WmiObject?

I am trying to monitor windows machine with the help of wmi and powershell remoting. I managed to successfully start remote session with that machine throught non-admin user account, but now I have a ...
0
votes
2answers
95 views

How to collect remote windows logs as a non-admin

I am trying to collect logs from remote windows machines (Windows Server 2008R2 and Windows 7) and I can't figure out a way to do so in such a way that I should still be able to accomplish this ...
5
votes
1answer
192 views

Remove Server 2012 Remote Access Server

My IT director was walking me through setting up a Server 2012 VPN/RA server. We did not do this in our test environment, and now I would like to remove it. I know that when installing this server it ...
7
votes
1answer
239 views

How to rejoin domain when trust relationship is lost

I have a number of virtual machines which have snapshots applied by using a PowerShell script. Occasionally, the virtual machines lose their "trust relationship" with the domain. This breaks the ...
1
vote
1answer
454 views

Enable-PSRemoting: Is there security threats?

I have two production servers (Windows Server 2008, Terminal Servers) and I would like to enable PowerShell remoting commands on those servers. Is there a security threat one should consider before ...
2
votes
3answers
849 views

Automating help desk tasks using a Powershell web interface

I'm looking into implementing Powershell in a help desk environment to automate routine tasks like unlocking user accounts, resetting passwords, etc. The help desk will be supporting different ...
1
vote
2answers
259 views

Listing services on remote machine locks me out of the machine

I run a powershell command to list all of the services on a remote matchine: $b = 0; get-wmiobject win32_service -computer $computerName -credential $cred | select-object Name, ...
1
vote
4answers
10k views

Unable able to run remote Powershell using Active Directory

We are trying to connect to a remote server via Powershell and use the ActiveDirectory module. When trying to do this locally, everything seems to be fine. PS C:\Users\bar> Import-Module ...
2
votes
1answer
4k views

Powershell - Query remote Local Security Policy?

I am looking to remotely query a list of servers, to ensure they are "set up" correctly One of the things I want to check is the Local Security Policy -> User Rights Assignment ->Deny Log on through ...
2
votes
1answer
433 views
4
votes
7answers
21k views

Execute program on remote computer using PowerShell

How can I execute a program on a remote machine using powershell?