Locally LISTENING ports


netstat -a -n -o -p tcp

Advertisements

disable “weak crypto” in MS IIS


https://auditsquare.com/advisory/windows/iis-disable-weak-crypto

https://blogs.technet.microsoft.com/askds/2015/12/08/speaking-in-ciphers-and-other-enigmatic-tonguesupdate/

Compare Windows services in PowerShell with Compare-Object

script


# https://blogs.technet.microsoft.com/heyscriptingguy/2013/06/03/teched-2013-a-couple-of-scripts/

#Create AD Organizational Unit and 10 users

$NewOUSplat = @{
Name=”TechEd2013″
Description=”MyScript”
Path=”DC=NWTraders,DC=COM”
}
New-ADOrganizationalUnit @NewOUSplat

for ($i=1;$i -le 10;$i++) {
$NewUserSplat = @{
SamAccountName=”User$i”
Name=”User$i”
Path=”OU=TechEd2013,DC=NWTraders,DC=COM”
}
New-ADUser @NewUserSplat
}

Get-ADUser -Filter * -SearchBase “OU=TechEd2013,DC=NWTraders,DC=COM” |

select SamAccountName

Tag: Active Directory

Find VM machine ID


get-vm | ft VMName, VMId

Reset Secure Channel

%d bloggers like this: