Why yes, yes you can, and it’s called Powershell Direct . I had no idea was a thing until we decided we were going to switch some of our VMware stack over to Hyper-V. The gist of it is, instead of having to go through the whole process of enabling WinRM on your VMs, whether […]
About: Chris
- Website
- https://pwshell.tech
- Profile
- By day, I'm a systems admin for a medium size company in the Pacific Northwest. By night, I'm a blogger, gamer, and all around general nerd. <em>If you found one of my articles useful, please consider supporting this site!</em> <strong>Monero: </strong>48PxwMvbwoB2M86sHespLBKcSL9cWxrnJDmga9XshSqRP1joykRNpKkDGUz4ohhxD1bMH92poMyZWBBqkPmQ2bHpLP4EDnz <strong>Bitcoin:</strong> bc1qc0fyze8x9lxp42x5p3zpry6f0lsr6l5pgq4jkh <strong>Ethereum:</strong> 0xc613cBc79Ea4a84AE5538ec3321E214363305121
Posts by Chris:
Enabling WinRM. Quick n’ Dirty.
All this blogging about running scripts on remote PC’s, servers, etc, and it suddenly dawned on me that I take for granted that I’ve had to first setup the ability to remotely manage all of these devices. So if you want to do all those snazzy things like Enter-Pssession or Invoke-Command you’ll need to enable […]
When you need a little extra padding. A short story about .padleft() and .padright()
Today, I found myself with a small dilemma. I needed to do a user data extract from Active Directory, massage the data a bit, spit out a CSV, and the upload the CSV to a piece of software we use. Easy, simple, no problem….until the software wasn’t putting people into the places they were supposed […]
Domain Memberships via ADSISEARCHER
Every once in awhile I need to run a script against the domain membership of a user that logs on. It’s great for having a printer get installed for a certain group of users, putting certain shortcuts on users desktops, to displaying a message to only specific groups. The little snippet of code below has […]
Shut up Test-NetConnection!
Ever get tired of seeing this when you use the test-netconnection command? Me too. I like nice neat readable outputs and test-netconnection is particularly ugly. I’ve had been dealing with it for years brushing it off like an annoying gnat that’s frustrating, but not quite bad enough to make you go get the flamethrower to […]
Speedtest.net CLI + Powershell
A few days ago I found myself needing to do a an internet speedtest at one of our remote offices. Users were complaining about “slow speeds” when they tried to connect to (definitely not Facebook or Youtube they told me) some of our business applications, email, etc, etc. Generally I like to do things without […]