kerberos-sids detilas


https://www.neroblanco.co.uk/2018/04/inside-kerberos-sids-tickets-and-tokens-part-2/

Get all possible AD Attributes for User or Group:

https://www.neroblanco.co.uk/2017/09/get-possible-ad-attributes-user-group/

 

Cluster WMI query Test


Set-ExecutionPolicy unrestricted

cls

If(import-module failoverclusters)
{

Write-Host “Imported Cluster module”

}

Write-Host “Getting the cluster nodes…” -NoNewline
$nodes = Get-ClusterNode
Write-host “Found the below nodes ”
Write-host ” ”
$nodes
Write-host “”
Write-host “Running the WMI query….”
Write-host ” ”
ForEach ($Node in $nodes)
{
Write-Host -NoNewline $node

if($Node.State -eq “Down”)
{

Write-Host -ForegroundColor White ” : Node down skipping”
}

else
{

Try
{
#success

$result = (get-wmiobject -class “MSCluster_CLUSTER” -namespace “root\MSCluster” -authentication PacketPrivacy -computername $Node -erroraction stop).__SERVER
Write-host -ForegroundColor Green ” : WMI query succeeded ”
}
Catch
{

#Failure

Write-host -ForegroundColor Red -NoNewline ” : WMI Query failed ”
Write-host “//”$_.Exception.Message
}
}

}

# save as .ps1

Disk Cleanup


https://www.saotn.org/windows-server-2012-r2-disk-cleanup-dism/

dism available Windows Server® 2008 R2

%d bloggers like this: