I am running computer name WS2012-001 as a DC, WS2012-001 as a member, and W70001 as a member in a VMWare Workstation12 virtual environment on a W7 platform.
I can connect from WS2012-001 to either WS2012-002 or W70001 and successfully run this command: get-eventlog -security -newest 10.
I can disconnect and successfully run this command: get-eventlog security -newest 10 -computername WS2012-001.
However, if I try this command: get-eventlog security -newest 10 -computername W70001, I get the error, network path not found.
Can you please tell me why?
Windows PowerShell Desired State Configuration Overview DSC is a management platform in PowerShell that enables you to manage your IT and development infrastructure with configuration as code. 'msdn.microsoft.com/en-us/PowerShell/dsc/overview' To use PoSH on remote system you have to have PoSH remoting enabled. Tip: Enable and Use Remote Commands in Windows PowerShell 'technet.microsoft.com/en-us/library/ff700227.aspx' Windows servers that are domain joined, this is already done for you as many aspect of Windows Server / Services / feature management require it to be. On client system you have to manually enable it, via GPO or physically going to that workstation and enabling it. Remember that each version of Windows client and server are running a different version of PoSH. If you wan the most consistent experience using PoSH, use the latest version that can exist across the systems. For older systems you will need to download the latest supported version. Just search for that.
Lastly, if the system is not domain joined, the you have to configure POSH Remoting using the workgroup / trustedhost model.
Remoting Week: Non-Domain Remoting'blogs.technet.microsoft.com/heyscriptingguy/2013/11/29/remoting-week-non-domain-remoting'
About Remote Troubleshooting'msdn.microsoft.com/en-us/powershell/reference/5.1/microsoft.powershell.core/about/about_remote_troubleshooting'
Tried attaching a picture but it exceeds the file size allowed even though it is only 211 KB.
Powered off for the night the physical Windows 7 laptop that has the three virtual machines (DC WS2012-001, member server WS2012-001 and the client joined to the domain W70001. Before I did, their IPs were 192.168.59.134, 138 and 150.
Powered them up and the two server IPs stayed the same but the W7 was now 149. So of course, could not ping it by name until after 'piddling around, trying this and that', got the DNS record updated. Not sure why the IP changed. According to the DNS server, the DC is static but the other two are DHCP. I suppose they are getting their IPs from the Internet modem through the W7 host laptop and since I was at a friend's house last night when I shut down the laptop and this morning I am at my house when I powered it up, might explain that. Maybe I should just manually set the member and client IPs to static?
Can use Admin PS to connect to the W7 device but still getting network path not found when trying get-eventlog security -newest 5 -computername w70001 even though that works if I use get-eventlog security -newest 5 -computername ws2012-002
Powered by IDERA