Take Ownership and Grant ‘Full Control’ Recursively
Aug14

Take Ownership and Grant ‘Full Control’ Recursively

Take Ownership KB ID 0001200  Problem I had a bunch of old user profile folders I needed to delete today, When setup properly even the domain administrator can’t get in there and delete them; You need permission to perform this action. You don’t currently have persmission to access this folder If it’s just one folder then simply take ownership, grant yourself rights and delete it! But I had a lot of folders so I...

Read More
Rename a Domain Controller
Aug08

Rename a Domain Controller

Rename a Domain Controller KB ID 0001886 Problem I’ve done a few migrating to {version} domain controller articles, and today I got asked, How can you rename the “Server Name” back to the old one after migration ?e.g. from “Lan-2025” to “Lan-2019” So, as the VMs from the last article were still running on the test bench, I ran though it to demonstrate. Solution: Rename a Domain Controller If you would like to add a new Windows...

Read More
PowerCLI: Get Snapshot Information
Jul03

PowerCLI: Get Snapshot Information

Get Snapshot Information KB ID 0001829 Problem The question was asked on Experts Exchange today. Are there any scripts or reports that would give me information on VMware VM’s with snapshots? was pretty sure this was a straight forward one, so I jumped on the test network. Solution: Get Snapshot Information Connect to your vCenter and use the following commands. Connect-viserver vCenter-Name THEN AUTHENTICATE Get-VM |...

Read More
Windows Create NFS Share
May30

Windows Create NFS Share

Windows Create NFS Share KB ID 0001869 Problem It has been a while since I mentioned this, but if you have a Windows server, and you would like to present an NFS Share, the process is pretty straight forward. The following procedure was carried out on Windows Server 2022, but the process is pretty much the same going all the way back to Server 2012. Solution : Windows Create NFS Share Install Server for NFS (GUI) You need to add the...

Read More
PowerShell Inventory Operating Systems in Active Directory
Nov13

PowerShell Inventory Operating Systems in Active Directory

PowerShell Inventory KB ID 0001838 Problem I needed to get a list of operating systems  ‘in-use’ in my active directory this week. bear in mind this will pull information from all enables computer accounts in AD, so if you are ‘not good’ at tidying out old machines and servers you might get a lot of garbage in your output! Solution: PowerShell Inventory Use the following PowerShell. Get-ADComputer -Filter...

Read More
VMware:  PowerCLI Errors
Jun12

VMware: PowerCLI Errors

PowerCLI Errors KB ID 0001830 Problem I was doing some work recently and tried to connect to my vCenter server and was greeted with this. PS C:\Users\administrator.PNL> connect-viserver vc-70.pnl.com connect-viserver : Object reference not set to an instance of an object. At line:1 char:1 + connect-viserver vc-70.pnl.com + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Connect-VIServer], NullReferenceException +...

Read More