Authorize DHCP server in Active Directory if domain joined. The lab includes this wording: Authorize the DHCP server so it can lease addresses in an AD domain environment.If your lab is not domain joined, document that authorization was not applicable and continue only if instructed. The commands included are: the server listed as an authorized …
Category: Root
Jun 28
How to? Disable VirtualBox DHCP for host-only network
Ref: AI Tools, ChatGPT, Similar “Disable VirtualBox DHCP for host-only network” means: Why this matters In your DHCP lab, students are installing and configuring DHCP Server on Windows Server 2019. But VirtualBox host-only networks can also have their own DHCP server. If VirtualBox DHCP is enabled, then the client VM may get an IP address …
Jun 27
DHCP: Powershell Commands
Commands that work in Windows PowerShell 5.1 These DHCP/networking commands are intended for Windows Server PowerShell: Install-WindowsFeature DHCPInstall-WindowsFeature DHCP -IncludeManagementToolsImport-Module DHCPServerAdd-DhcpServerv4ScopeSet-DhcpServerv4OptionValueGet-DhcpServerv4ScopeGet-DhcpServerv4LeaseGet-DhcpServerInDCAdd-DhcpServerInDCRestart-Service DHCPServerGet-Service DHCPServer Related: Get-NetAdapterGet-NetIPAddressNew-NetIPAddressSet-DnsClientServerAddressGet-DnsClientServerAddressipconfig /all
Jun 27
CmdletBinding
Ref: AI Tools/ChatGPT [CmdletBinding()] turns a normal PowerShell function into an advanced function. That means the function behaves more like a real PowerShell cmdlet. Basic example Normal function: Advanced function: What [CmdletBinding()] does It gives your function cmdlet-style behavior, such as: Feature Meaning Common parameters Allows parameters like -Verbose, -Debug, -ErrorAction Better parameter handling Works …
Jun 07
If windows auto-configured IP was difficult to remove
Your screenshot confirms: So Windows is still rejecting 192.168.55.20. Use a different member-server IP, such as: Run these on MEM01/member VM as Administrator. 1. Remove the bad duplicate IP 2. Restart the adapter 3. Assign a new IP Do not add a default gateway for host-only network. 4. Set DNS to the Domain Controller 5. …
Jun 07
Check if DNS is working
On the Domain Controller DNS should be installed and running: Get-WindowsFeature DNS Check DNS service: Get-Service DNS Check DNS zones: Get-DnsServerZone The DC should usually point DNS to itself: Set-DnsClientServerAddress -InterfaceAlias “Ethernet” -ServerAddresses 127.0.0.1 or sometimes to its own IP: Set-DnsClientServerAddress -InterfaceAlias “Ethernet” -ServerAddresses 192.168.56.10 On the Windows client The client DNS must point to …
Jun 01
Q & A: Linux: Switch Users, Boot Process, File System
Quiz: Root Access, Boot Process, File Systems, Partitions, and Mounting 1. True/False The root user is the superuser account and has the highest access rights on a Linux system. Answer: True 2. True/False It is recommended to stay logged in as root for normal daily work because it is faster. Answer: FalseExplanation: Staying logged in …
May 31
Special Permissions: SUID, SGID, sticky bit
Linux Special Permissions: SUID, SGID, and Sticky Bit Linux normally uses three permission groups: And three basic permissions: Example: Output: But Linux also has special permissions: They appear in ls -l output as: 1. SUID — Set User ID Meaning SUID means: When an executable file runs, it runs with the permission of the file …
May 30
Why? Max permissions on a file: 666? what if I give 777?
When people say: Max permissions on a file: 666 they usually mean default maximum permissions when a new regular file is created, not the maximum you can manually set. 1. Default maximum for new files: 666 For a new regular file, Linux normally starts from: That means: No execute permission by default. Why? Because most …
May 30
Define and describe Selinux in general terms
SELinux stands for Security-Enhanced Linux. It is a Linux security system that adds an extra layer of protection to the operating system. It controls what users, programs, services, and processes are allowed to do. A simple definition: SELinux is a security feature in Linux that enforces strict rules about which processes can access which files, …


