by skufel | Nov 23, 2011 | Directory Services, Infrastructure
ADAM (Active Directory Application Mode) was predeccesor of ADLDS and Microsoft distributed it as additional download. Now in Windows Server 2008 R2 ADLDS (Active Directory Lightweight Directory Services) are built0in server role. ADLDS offers LDAP-based directory...
by skufel | Nov 15, 2011 | Infrastructure, Network
Create Read Only SNMPv3 user – IOS snmp-server group viewers v3 auth snmp-server user snmpView viewers v3 auth md5 uHNKmuLP0lXOp8ODFkmJ snmp-server group viewers v3 auth read viewConfig snmp-server view viewConfig system included snmp-server view viewConfig...
by skufel | Nov 14, 2011 | Automation, Infrastructure, Network, Scripting, SysAdmin
If you need to capture configuration of Windows-based DHCP server for documentation or review purposes, this might be handy: netsh -r lab-dc-01 dhcp server dump > C:\dhcp-lab-dc-01.txt NOTE: lab-dc-01 in example command is name of the Windows server which has DHCP...
by skufel | Nov 14, 2011 | Infrastructure, Network
Usually I tend to create DHCP server on Windows Server. However, sometimes there is no server on site. Only what I have are network devices, workstations and voip phones. In those cases I used to create DHCP server on switches. As environment I operate in contains...
by skufel | Nov 14, 2011 | Automation, Infrastructure, Scripting
Here is quick script which connects to Active Directory, reads all computer accounts from Organization Unit (OU) indicated in script and then pings all computers found in that OU. It might be handy if all server accounts are located in one OU. Const ADS_SCOPE_SUBTREE...
by skufel | Nov 14, 2011 | Automation, Infrastructure, Scripting, SysAdmin
Some time ago I had to transfer SQL Server databases from remote retail locations to central system. At that time whol einfrastructure was operating on Microsoft SQL server 2000 and link in remote locations was 128kb/s ISDN. At that time I thought that the best idea...
by skufel | Nov 11, 2011 | Infrastructure, Scripting
Script I used as computer statup script pushed via GPO. It renames local Administrator to Admin and sets password for Admin account to one specified in script. Script was tested and used on Windows XP Professional. '...
by skufel | Nov 11, 2011 | Infrastructure, Scripting
Script changes description of My Computer icon to display Computer: ComputerName Can be very handy when troubleshooting computer remotely when we require user to tell us name of the computer user works on. Script works on Windows 2000/XP/Vista/7. '...
by skufel | Nov 11, 2011 | Infrastructure, Network
Configuration snippet I use to enable SSH on Cisco 2811 ISR and Catalyst 3560, but it will work on all Cisco IOS devices with appropriate IOS image which allows SSH to be enabled (IOS which has k9 in image name contains crypto compnents which allow to enable SSH). 1....