There are a few commands in PowerShell that will help you right off the bat. Checking the status of a setting or property Most of the time when I'm using PowerShell it's because I need to first look something up, then make a change. We don't normally just start making changes all willy-nilly, so knowing how to see the properties and changes is the first step in determining how you plan to make a change. Format-List Let's say, for instance, you want to know the ID of a service. Your first … [Read more...] about Beginner’s Commands for PowerShell
So you want add another datastore but you're getting the follow error: The short story is that the drive needs to be formatted but there are partitions on there that VMware just can't get rid of first. So, you'll need to delete the volumes on your own, you can do one of two things: Put the drive in a Windows machine and delete the volumes completely. Get all command prompt ham on the drive and delete the volumes via SSH. Here's the commands to do it via SSH: First list what … [Read more...] about Vim.Host.DiskPartitionInfo.spec – VMware can’t add extra drive.
Issues: Server 2012 can't change product key Server 2012 won't activate Nowhere to change the Server 2012 product key Activate error: DNS Name Does Not Exist Server 2012 will tell you right away that you need to head to the Action Center in order to Activate your Windows Key. The trouble with the Action Center is that it's not going to show you how you can change your product key. Instead, you'll only get the option to Activate. Here's how to get to the place to change the Product … [Read more...] about There’s nowhere to change the product key in Server 2012
I had originally posted a while back in regards to getting the "Windows can't activate right now..." error in windows 8. The easy fix for this is to run a command prompt as an administrator and execute the following command: [crayon-59ed237c4fc44410977601/] This will apparently work if you are trying to change the product key to something else. However, if you'd simply like to clear out all of the product keys, you can run this command with this switch: [crayon-59ed237c4fc4f384130198/] As … [Read more...] about Windows can’t activate right now – Follow Up
Sometimes there just isn't enough time or patience to wait for Group Policy to push updates. Luckily we have small commands that nudge things along. Here are a few things that get WSUS (Windows Server Update Services) moving in the right direction so you aren't sitting around waiting for Group Policy to update. I'll give you some examples and how to check to make sure forcing worked. Forcing Group Policy We should all be familiar with forcing group policy. Run this command in an elevated … [Read more...] about WSUS – Forcibly Adding and Updating Clients
I've run into a few instances where I need to restart haywire services, recently with F-Secure services on Windows 2003 R2 Servers. The high CPU loads make it impossible to log into the server. SC.exe will help with this. Here are a few commands to get your started. Open a command prompt on a server within the same domain as your troubled server and run this command: [crayon-59ed237c500e6265007050/] Before running the "start" command you'll want to check to see if the service actually stopped. … [Read more...] about Restarting services on a server remotely
Scenario: You would like to test speeds from one place on your network to another; nothing fancy, you just want to watch something move from one place to another. Here's how to create a file to do just that: Open an elevated command prompt: Start > Run > type 'cmd' and hit enter, or Windows Key > type 'cmd' and hit enter, or if you find the command prompt shortcut you can right click and choose to "Run as Administrator" Type the following: FSUTIL FILE CREATENEW … [Read more...] about Create 100mb file for testing