Checking Profile Existence on Remote Machines with PowerShell
Need to find every workstation that a user has logged on to? Security event logs rolled over or you can’t otherwise get that info from the domain controllers? Here is a way to get it.
Need to find every workstation that a user has logged on to? Security event logs rolled over or you can’t otherwise get that info from the domain controllers? Here is a way to get it.
You can use this handy little script to find remote desktop sessions on all servers running in your Active Directory domain.
Getting the hostname from an IP address (or vice versa) is no great magic, and can be done easily with PowerShell, by simply leveraging .Net to do the work. We’ve all done something like this to get resolve an IP address: [System.Net.Dns]::GetHostEntry(“69.69.95.133”).HostName Or this to get an IP address from a hostname: [System.Net.DNS]::GetHostAddresses(“www.fortypoundhead.com”).IPAddressToString But did you ever notice… Read More »
During a recent cleanup effort in the System Center Virtual Machine Manager console, I found a powered off guest machine. The status showed the VM as having an “Unsupported Cluster Configuration State”.
If you need to check the status of a service across several machines, and don’t have monitoring in place, you can use PowerShell to get Running/Stopped/Starting status quickly.
Just because you don’t have a GUI on your Windows Server 2012 doesn’t mean you can’t install roles and features at will. Use PowerShell, and the job gets easy.
If your VMware implementation contains more than a few hosts, managing port groups (or any multi-host settings) can be a real pain. In order to take advantage of cool things like vMotion, your port groups need to match across all hosts in the cluster. If one of them is misspelled, or has a bad VLAN tag, it’s a… Read More »