Command-line

Last Updated on 10 Sept. 2013, Total: 9 Blog Posts

  1. Cloud CLI

    Graphical user interfaces are great, but nothing beats the expressiveness of the command line!... Read More

  2. Simple script to email users when Quotas are met

    PSotD: Emailing Users When Quota Warning Met... Read More

  3. The Dcdiag tool

    The Directory Service Diagnosis tool Dcdiag.exe, performs a number of tests and reports on the overall health of replication and security for Active Directory DS. If you run the tool without any parameters it performs the basic tests and gives you a summary report while with the option /c it runs almost every test. As with most command-line tools you... Read More

  4. The Repadmin tool

    The Replication diagnostics tool is a command-line tool that enables you to report the status of replication on each domain controller. The tool is built into Windows Servers 2008 and Windows Servers 2008 R2 and the information retrieved by Repadmin.exe can help you identify potential problems related to replication within a forest. The detailed views allow you to even identify... Read More

  5. The Windows Server 2008 scwcmd command

    The scwcmd command-line tool provides greater functionality than the GUI-based Security Configuration wizard. The tool allows you to remotely apply role-based security policy to groups of computers, analyze the configuration of groups of computers against the role-based security policy and build GPOs that apply the settings in the role-based security policy. Security policy allows you to enforce a baseline security... Read More

  6. Windows Server 2008 Printers commands

    Windows Server 2008 and Windows 7 include tools that help you manage printers from the command prompt using Visual Basic scripts. You can find these scripts in the Windows\System32\Printing_Admin_Scripts\en-US\ folder. Since these tools are Visual Basic scripts you need to run the cscript command and pass the full path to the script file as the first parameter. Additional parameters can... Read More

  7. The Wbadmin Command

    Windows Server 2008 has inbuilt functionality to perform reliable and effective data backups! The native tools can back up an entire volume to a .vhd file on a second local disk while you can still restore individual files from the vhd file! In cases of system volume failures where Windows does not start you can boot from the Windows installation... Read More

  8. Dfsutil command

    Configuring or monitoring DFS in Windows 2008 environments is a task that normally gets invoked from the Server Manager console and aided by a corresponding wizard as you can see in this post. However, you can use the DFSUtil command to manage DFS from a command prompt or script. In addition, to troubleshoot DFS from the command line, you can... Read More

  9. Net share command

    The simplest way to share folders is through Windows Explorer and in almost every environment this is a common practice, however, Server core installations are getting more popular in virtualized environments. In case, you need to upload some files to a server core installation, the net share command may save your day! To view any existing shares on your machine... Read More

Featured Links