Logo Vibhu Bhatnagar — PowerShell & Infrastructure Engineer
  • Home
  • About
  • Skills
  • Experiences
  • More
    Education Projects PowerShell Modules Articles Recent Posts Accomplishments
  • Posts
  • Notes
  • Hire Me
  • GitHub
  • Dark Theme
    Light Theme Dark Theme System Theme
Logo Inverted Logo
  • Tags
  • Active Directory
  • AI
  • AI Tools
  • Audit
  • Automation
  • Azure
  • Azure AD
  • Backup
  • Design Systems
  • Developer Tools
  • DFSR
  • Diagnostics
  • Documentation
  • Entra ID
  • FRS
  • GPO
  • Intune
  • IT Governance
  • Kerberos
  • M365
  • MCP
  • Microsoft 365
  • Migration
  • Module
  • MSP
  • Naming Conventions
  • NTP
  • Onboarding
  • Performance
  • PowerShell
  • Printers
  • RDP
  • Registry
  • Remote Management
  • RMM
  • Robocopy
  • Security
  • Server
  • SetupDiag
  • SharePoint
  • SPMT
  • SPN
  • Sysadmin
  • SYSTEM
  • SYSVOL
  • Troubleshooting
  • Update
  • Upgrade
  • W32tm
  • Windows
  • Windows Admin
  • Windows Administration
  • Windows Server
  • WinRM
Hero Image
Robocopy: The IT Manager's Pocket Guide to File Server Migrations

Why Robocopy still matters Robocopy (Robust File Copy) has shipped inside Windows since Vista/Server 2008, and two decades later it’s still the tool most IT teams reach for when a file server has to move, mirror, or get backed up. Xcopy and plain Copy-Item don’t survive a dropped VPN tunnel, don’t preserve NTFS permissions, and don’t retry a file another process has locked for half a second. Robocopy does all three, natively, with zero extra installs — which is exactly why it earns a place in a migration runbook instead of a third-party tool.

  • PowerShell
  • Windows Administration
  • Windows Server
  • Migration
  • Backup
  • Robocopy
Monday, August 17, 2026 | 15 minutes Read
Hero Image
SetupDiag: A Wintel Admin's Guide to Diagnosing In-Place Upgrade Failures

Why this tool exists Think of an in-place OS upgrade like renovating a house while people are still living in it. Windows Setup has to migrate settings, drivers, and applications from the old structure into the new one without tearing anything down first. When the renovation stalls, Setup usually just tells you “it failed” with a cryptic code like 0xC1900101-0x20017 — it doesn’t tell you which wall it got stuck on.

  • Windows
  • Windows Administration
  • Server
  • Windows Server
  • SetupDiag
  • Troubleshooting
  • Migration
  • Update
  • Upgrade
Tuesday, July 21, 2026 | 15 minutes Read
Hero Image
Diagnose Wi-Fi Drops with Windows' Built-in WLAN Report

Your Wi-Fi drops and you have no idea why. You check the router — it’s fine. Other devices are fine. But your PC dropped three times last night and once during a call. The usual ipconfig and ping checks only tell you what’s happening right now, not what happened while you weren’t watching. Windows has been logging every Wi-Fi connect, disconnect, and error in the background the whole time. One command pulls it into a readable report.

  • Windows
  • Windows Administration
Tuesday, May 19, 2026 | 4 minutes Read
Hero Image
Delete Stubborn Files and Folders on Windows

What This Covers You have a file or folder that won’t delete — Access Denied, locked by the system, or held open by a running process. This covers three methods to force-delete it: Command Prompt, PowerShell, and scheduling deletion at next boot using Task Scheduler with SYSTEM rights. Before You Start Run everything as Administrator — right-click CMD or PowerShell → Run as administrator Set the path variable at the top of each method — everything else uses it This is irreversible. Double-check the path before you run anything These methods bypass permission locks — use only on files you own or manage Steps Method 1: Command Prompt set TARGET=C:\path\to\locked-folder takeown /F %TARGET% /R /A icacls %TARGET% /grant Administrators:F /T rd /S /Q %TARGET% For a single file, replace the last line with:

  • PowerShell
  • Windows
  • Windows Administration
Tuesday, April 28, 2026 | 4 minutes Read
Hero Image
Automating PowerShell Remoting Setup with Enable-VBPsremoting

What Does Enable-VBPsremoting Do? Managing systems across a network can be time-consuming, especially when dealing with multiple servers or workstations. PowerShell Remoting is a game-changer for system administrators — it allows you to execute commands and scripts on remote machines directly from your admin workstation. However, setting up remoting manually involves several steps: enabling the WinRM service, configuring Windows Firewall rules, and managing trusted hosts. And if you also want to enable Remote Desktop, that’s even more configuration.

  • PowerShell
  • Remote Management
  • Windows Administration
  • Automation
  • WinRM
  • RDP
Wednesday, April 22, 2026 | 6 minutes Read
Navigation
  • About
  • Skills
  • Experiences
  • Education
  • Projects
  • PowerShell Modules
  • Articles
  • Recent Posts
  • Accomplishments
  • GitHub
Contact me:
  • vibhu@pwsh.in
  • Facebook: vibhu@pwsh.in
  • Vibhu2
  • Vibhu Bhatnagar
  • +91 8979989222
  • Reddit: VibhuPwsh
  • Twitter: VibhuBhatn54299

Liability Notice: The views and opinions expressed on this blog are my own and do not represent those of my employer. All content is provided for informational purposes only.


Toha Theme Logo Toha
© 2026 Vibhu Bhatnagar. All rights reserved.
Powered by Hugo Logo