Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Trying to convert from Get-WmiObject to Get-CimInstance

$
0
0

I've been watching some of Don Jones' Powershell videos on Youtube and he said you should not use Get-WmiObject anymore since it has been deprecated. He said to use Get-CimInstance. I tried that but I can't get PS to connect to a remote computer. The error mentions verifying that the WS-Man service is running and to make sure WinRM is running as well. It mentions running winrm quickconfig but I would have to remote into the system to do it. Our Enterprise systems are not setup to allow PSRemoting and we would have to create a GPO to set it up correctly, which takes weeks to get pushed through our Change Control. Any other suggestions? I can't get New_CimSession to work either - same error.

Brian


Viewing all articles
Browse latest Browse all 21975

Latest Images

Trending Articles


Pregnant woman released on bail


Waves Complete v2019.02.14 Incl Emulator-R2R


It’s Kind of a Funny Story 2010 Dual Audio 720p BRRip [Hindi – English] ESubs


CalCen


Serial child killer David Threinen’s reign of terror


Pumped up UDA chief ordered teen to be shot


MCGEE, SAMUEL O., DECEASED, OF...


Alison Moyet - Alf (Deluxe Edition) (2016) flac


Shawn Ogrodnik


WordPress: Reverse Shell



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>