Skip to content

Developer's Closet

A place where I can put my code and discuss big data.

Use Quest to set permissions on object attributes in AD

  • PowerShell
  • Windows
February 29, 2012April 15, 2013 kevin No comments

Normally to set permissions on attributes I have to use ADSIedit to navigate to that object, and then go through all the security tabs scroll […]

Continue reading

WITH Syntax to Delete Duplicate Records with No Primary Key

  • SQL
  • Windows
February 21, 2012April 15, 2013 kevin No comments

If you are missing a primary key, here is a great way to delete duplicate records in an SQL table. This example uses WITH to […]

Continue reading

Use PowerShell to change service accounts through SQL Configuration Manager

  • PowerShell
  • Windows
February 20, 2012April 15, 2013 kevin No comments

Works with SQL 2008 R2. I use PowerShell to update the Service Accounts for the SQL Server, Agent, and Analysis Server: $servername = “ServerName”; [System.Reflection.Assembly]::LoadWithPartialName(“Microsoft.SqlServer.SqlWmiManagement”) […]

Continue reading

PHP Regular Expression to Remove A Tag

  • PHP
February 1, 2012April 15, 2013 kevin No comments

I needed to remove a tag and all the text within a tag. Sounds easy enough. Here is the HTML: $content = ‘Hello <div id=”tag_to_remove”>I […]

Continue reading

JavaScript RegExp to Replace Between Text

  • JavaScript
January 31, 2012April 15, 2013 kevin No comments

I wanted to replace all text between two tags. It seems odd, but it resovled an issue I had. Here is the text: Hello<table> <tr> […]

Continue reading

Insert a string at a position within another string

  • JavaScript
January 31, 2012April 15, 2013 kevin No comments

I needed to insert a string within another string at a specific position. It is easy to retrieve the position of a string within another […]

Continue reading

PowerShell to Search Registry

  • PowerShell
  • Windows
December 14, 2011February 22, 2013 kevin No comments

The following bit of PowerShell code will search the registry for a string. Update $Filter with the string you are searching for and the registry […]

Continue reading

How to install Powershell ISE on Windows 7 or Server 2008 R2

  • PowerShell
  • Windows
December 1, 2011February 22, 2013 kevin No comments

Run the following Powershell command: Import-Module ServerManager; Add-WindowsFeature PowerShell-ISE

Continue reading

Set Registry Key Permissions with PowerShell

  • PowerShell
  • Windows
October 13, 2011October 13, 2011 kevin No comments

I found very little information on this object, so I decided to blog about it. The RegistryAccessRule parameters are as follows: RegistryAccessRule (“domain\username”,”Permissions”,”ContainerInherit”,”None”,”Allow”) Where Permissions […]

Continue reading

Cleaning up my log file in SQL 2008 R2

  • SQL
  • Windows
September 28, 2011June 8, 2015 kevin No comments

This morning I noticed that my log file was 450 GB. With only 30 GB remaining on the drive, I had to shrink the file. […]

Continue reading

Posts pagination

«Previous Posts 1 … 8 9 10 11 12 … 17 Next Posts»

Pages

  • About
  • Accumulo
  • Ansible
  • Apt-Cacher
  • Azure API Management
  • Azure Cosmos DB
  • Azure Data Catalog
  • Azure Data Facory
  • Azure Data Lake Store
  • Azure Virtual Machine Scale Sets
  • Couchbase
  • Drill
  • Flume
  • HBase
  • HDFS
  • Hive
  • Hue
  • Impala
  • Kafka
  • Oozie
  • OpenTSDB: Timeseries Database
  • Redis
  • Solr
  • Sqoop
  • Yarn
  • ZooKeeper

Categories

  • Azure (1)
  • Bash (3)
  • C# (1)
  • Citrix (1)
  • Cloudera Manager (13)
    • HBase (5)
    • HDFS (4)
    • Kafka (1)
    • Solr (1)
    • Sqoop (1)
  • Continuous Delivery (1)
  • Drill (1)
  • JavaScript (3)
  • jQuery (2)
  • Linux (24)
    • Ubuntu (12)
  • MySQL (4)
  • Oracle (1)
  • PHP (5)
  • PowerShell (19)
  • SQL (48)
  • System Center (13)
    • DPM (1)
    • Ops Manager (1)
    • Orchestrator (9)
    • Virtual Machine Manager (1)
  • Uncategorized (4)
  • VBScript (19)
  • Visual Studio (4)
  • Windows (95)

Tags

Active Directory API Backup Bash Batch Connections Database Date Differential Disaster Recovery Email Event Viewer Excel Find Kill Linux Logs Microsoft MySQL Opalis Performance PHP Query Replication rsync Scheduled Tasks Script Shell Shortcut SQL SQL 2005 Stored Procedure String Sub T-SQL Table Terminate Users VBScript Windows WinZip WMI WScript wss2 wss3

Recent Posts

  • Azure Price Comparison Chart
  • HBase: ReplicationLogCleaner: Failed to get stat of replication rs node
  • HBase: Unable to start Master: TableExistsException: hbase:namespace
  • List DPM Backups
  • PowerShell Script to Query VMM

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Kevin Verhoeven
WordPress Theme: Occasio by ThemeZee.