Recently I came across this post. As a VMware admin, you often want to create an ISO as a quick method to copy files or installation files to a VM.…
List Computer Object in an Active Directory OU using PowerShell
How to get a list of computer objects in an active directory OU ( tested against Windows 2016 Active Directory ) A quick PowerShell script using Get-ADComputer command, a wild…
Sysinternals – Permissions, LoggedOn, Endpoints
How to Get the permission on folders: PowerShell: Get-ChildItem | Get-ACL Path | Owner | Access or more in depth use: GUI based : Run AccessEnum against the drive or…
Client failed to RDP to RDS server following Windows Server Patching – CredSSP updates for CVE-2018-0886
CredSSP updates for CVE-2018-0886 That Monday morning issue when servers were patched on a Sunday... All Windows 10 clients fail to RDP to the RDS server following Windows Server Patching.…
Check / Set / Sync Time Source for Windows Servers
To set the time ( Tested against Windows 2016) Launch CMD as administrator exampled c:\time 09:00:00 AM - This will set the time to 9am Note a time source…
Get-AdUser -Filter {Multiple Filters Complex } -Properties | Export to CSV
#Import AD modules import-module servermanager Add-WindowsFeature -Name "RSAT-AD-PowerShell" -IncludeAllSubFeature #List AD user accounts and show DisplayName, Email, Title and export to CSV Get-ADUser -Filter * -Properties DisplayName, EmailAddress, Title |…
Get a list of inactive computers which have not logged on to the domain in the last 12 weeks
# Inactive computers ( this will include systems not regularly used) # Launch command prompt as administrator and run the following commands Dsquery computer -inactive 12 -limit 500 # Lists…
Get a list of active computers which have logged on to the domain in the last 7 days
# Trying to work out is servers, laptops or desktops have been decommissioned # Try this script # Get a list of active computers which have logged on to the…
Hide Folders Under Share with Access Based Enumeration
So todays challenge. Hide visible folders under share to users who don't have access. Example We create some new shares. Folders are then created under the share and NTFS permissions…
Azure and Containers
What is a container? A container is a live and running copy of an image which may have been customised. An image is a read only copy of an image…