Windows Systems Development


Manage FSMO Roles with Powershell

Manage FSMO Roles with Powershell


Posted By on May 22, 2015

To transfer all 5 of the FSMO roles simply run the following command in PowerShell: Move-ADDirectoryServerOperationMasterRole -Identity “DC_HOSTNAME” –OperationMasterRole PDCEmulator,RIDMaster,InfrastructureMaster,SchemaMaster,DomainNamingMaster To shorten the command line syntax you can use role numbers in place of the role names.  The following list details the role number for each of the five FSMO roles. PDC Emulator – 0 RID Master...

Read More
List FSMO Roles

List FSMO Roles


Posted By on May 22, 2015

This tip explains several ways to check FSMO Roles availability in an Active Directory Forest environment.   To get the list of FSMO Roles using NetDom command line tool, run the following command: Netdom Query FSMO And using DSQuery tools DSQuery server –hasfsmo –pdc DSQuery server –hasfsmo –infr DSQuery server –hasfsmo –rid DSQuery server –hasfsmo –name DSQuery server –hasfsmo –schema DSQuery command returns the FSMO holder...

Read More

To download a web page using powershell and a scheduled task you must do the following : 1. Open Task Scheduler 2. Right click where your existing Tasks are and click Create a new task 3. Give it a name, and description 4. By default the job will run as whatever user you’re logged in as.  If you don’t want this click the “Change User or Group” button to select the user you’d like the job to run as. 5....

Read More

Rackspace Windows Server 2012 R2


Posted By on Jun 26, 2014

Rackspace has deployed Server 2012 R2 Images.  If you’re looking to use a newer version of Web Deploy or perhaps you’d like to take advantage of  paged out local worker processes to disk instead of memory, than this release is for you! I’ll report back with a review of how my install process went....

Read More

[message_box type=”info” icon=”yes”] Pull 10 newest Application logs: get-eventlog application -newest 10 -message “*www.domaingoeshere.org*” | format-list * Pull 10 newest System logs: get-eventlog system -newest 10 -message “*www.domaingoeshere.org*” | format-list * If you want to take the output of the get-eventlog cmdlet and pipe to a txt file do the following: Pull 10 newest...

Read More