• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

danblee.com

Tutorials & Knowledge Base Articles for System Administrators who wear many, many hats.

  • Home
  • About
  • Ask Me
  • DBLHost.com
You are here: Home / Archives for CMD

CMD

Re-Registering VSS DLLs

February 7, 2018 by Dan B. Lee Leave a Comment

There are a number of scenarios where VSS instances might be failing or timing out. In this case, re-registering the DLLs might help. Here are the steps to take before and after registering those DLLs. Reboot the machine. We want a fresh look at what is and isn't failing or timing out. If you cannot reboot the machine restart VSS. This is essentially the same thing as restarting, but only focuses on the VSS. net stop vss net start vss List the VSS writers using the … [Read more...] about Re-Registering VSS DLLs

Filed Under: Windows Server 2008 R2 Tagged With: CMD, Command Prompt, Volume Shadowcopy Services, VSS, VSSAdmin

View the GUID of a Volume on a PC

February 6, 2018 by Dan B. Lee Leave a Comment

The fastest way to get the GUID of a volume is to use this command: mountvol.exe You'll see all the GUID's right there. Close the window when done. Below is a screenshot of what I get: … [Read more...] about View the GUID of a Volume on a PC

Filed Under: Uncategorized Tagged With: CMD, Command Prompt, disk, Storage, volumes

Use PowerShell to list your folders on a server or share

May 3, 2017 by Dan B. Lee Leave a Comment

Here's a quick script to list all of the folders on a share or on a server. This script will use PowerShell to export a list of folders to a CSV file. We'll be using the Get-ChildItem cmdlet to accomplish this. Get-ChildItem \\FS01\Shared -Recurse -Name -Directory | Out-File "C:\misc\Folders.csv" Let's break this down: Get-ChildItem is the cmdlet. It is just like "dir" or "ls" where it's main job is to tell you the contents of a folder. You can learn more about Get-ChildItem … [Read more...] about Use PowerShell to list your folders on a server or share

Filed Under: Microsoft Windows, PowerShell Tagged With: CMD, PowerShell, Scripting, scripts

HP Servers: Check for number of Drive Bays

February 22, 2017 by Dan B. Lee Leave a Comment

I came across this little issue while trying to find out how many empty drive bays there were on a remote server. The HP CLI (Command Line Interface) came to the rescue. Here's the commands and the output I used. Note, on later versions of the HP Utility, you can also see the drive bays, but this CLI will get right down to business. Figure out your array slot by entering the following command: => ctrl all show The command response is below: Smart Array P410i in Slot 0 (Embedded) (sn: … [Read more...] about HP Servers: Check for number of Drive Bays

Filed Under: Storage, Windows Server 2008 R2 Tagged With: arrays, CLI, CMD, Command, HP, Storage

Beginner’s Commands for PowerShell

January 27, 2015 by Dan B. Lee Leave a Comment

There are a few commands in PowerShell that will help you right off the bat. Checking the status of a setting or property Most of the time when I'm using PowerShell it's because I need to first look something up, then make a change. We don't normally just start making changes all willy-nilly, so knowing how to see the properties and changes is the first step in determining how you plan to make a change. Format-List Let's say, for instance, you want to know the ID of a service. Your first … [Read more...] about Beginner’s Commands for PowerShell

Filed Under: PowerShell Tagged With: CMD, command line, Command Prompt, PowerShell, syntax

WSUS not detecting clients and not listing computers

May 15, 2014 by Dan B. Lee 20 Comments

System Setup: Windows Server 2012 with WSUS 3.0 and IIS 8 Installed Clients: Windows Server 2012 and Windows Server 2008 R2 You've done everything right but for some reason you just can't see the clients. Here's a quick check list: If you go to your SUS server, for example http://wsus you can see a blank page and not simply the IIS splash page You can ping between both the SUS server and your client Firewalls are turned off on both the SUS server and your client The group policy … [Read more...] about WSUS not detecting clients and not listing computers

Filed Under: Microsoft Windows, Windows Server 2008 R2, Windows Server 2012 Tagged With: CMD, IIS, Microsoft Windows Update Services, SUS, Windows Update, WSUS

Restarting services on a server remotely

September 25, 2012 by Dan B. Lee Leave a Comment

I've run into a few instances where I need to restart haywire services, recently with F-Secure services on Windows 2003 R2 Servers. The high CPU loads make it impossible to log into the server. SC.exe will help with this. Here are a few commands to get your started. Open a command prompt on a server within the same domain as your troubled server and run this command: sc \\servername stop "Service Name" sc \\servername start "Service Name" Before running the "start" command you'll want to … [Read more...] about Restarting services on a server remotely

Filed Under: Windows Server, Windows Server 2003, Windows Server 2008 R2 Tagged With: CMD, Command Prompt, command-line utility, remote servers, Restart Services, Windows, Windows Server 2008 R2, Windows Servers

Create 100mb file for testing

September 17, 2012 by Dan B. Lee 5 Comments

Scenario: You would like to test speeds from one place on your network to another; nothing fancy, you just want to watch something move from one place to another. Here's how to create a file to do just that: Open an elevated command prompt: Start > Run > type 'cmd' and hit enter, or Windows Key > type 'cmd' and hit enter, or if you find the command prompt shortcut you can right click and choose to "Run as Administrator" Type the following: FSUTIL FILE CREATENEW … [Read more...] about Create 100mb file for testing

Filed Under: Windows Server Tagged With: CMD, Command Prompt, Speed Test, Windows

Primary Sidebar

Categories

  • Active Directory
    • Group Policy
  • Adobe Photoshop
  • Browsers
    • Chrome
  • Cloud Based Technology
    • Citrix XenApp
  • ConnectWise
    • LabTech
  • Dell
  • Internet Service Providers (ISPs)
  • iPhone
  • Linux
    • CentOS
    • OpenVPN
    • SaltStack
    • Ubuntu
  • Microsoft Office
    • Lync
    • Microsoft Excel
    • Microsoft Outlook
    • Microsoft Word
  • Microsoft Windows
    • Active Directory
    • PowerShell
    • Windows 7
    • Windows 8 Preview & Release
  • Networks
  • News
  • Off Topic
  • Office 365
  • Peripherals
    • Monitors
  • Printers
    • Local Printers
    • Network Printers
  • Programming
    • Python
  • Riverbed
  • Security
  • Sharepoint
  • Social Media
  • Splunk
  • Storage
  • Switching & Routing
    • Cisco
    • Fortinet
  • Technology Culture
    • Opinion
  • Uncategorized
  • Virtualization
    • VEEAM
    • VMware
  • WAMP
  • Web Hosting
    • WHMCS
  • Website Design
  • Windows Server
    • Exchange 2003
    • Exchange 2010
    • Exchange 2013
    • Microsoft SQL
    • Windows Server 2003
    • Windows Server 2008 R2
    • Windows Server 2012
  • WordPress

Footer

Recent Activity

  • idrac default login - Credit One on Dell iDRAC Default Username and Password
  • Windows Server hanya menampilkan Command Prompt setelah restart - Hanya Trial on Windows Server 2012 Just Showing a Command Prompt
  • pings on Xerox Phaser 3635MFP Default Admin Username and Password
  • Xerox Phaser 3635MFP Default Admin Username and Password — danblee.com on About Dan B. Lee
  • Estudio Login | LOGINEGG on Toshiba E-Studio Default Administrator Username and Password

Dan Lee

Dan B. Lee works at SyApps, LLC., a Managed Hosting Solutions Firm, as a Senior Network Engineer. Dan has a decade of IT experience and specializes in a number of different disciplines including Virtualization, Web Site Hosting and Design, Network Security, Data Center Architecture, Local and Remote Server Hosting, and Backup & DRS Solutions. Read More…

Links

  • Home
  • About Dan B. Lee
  • Ask Me
  • Privacy Policy

Copyright © 2021 · Genesis Child Theme on Genesis Framework · WordPress · Log in