Browse by Tags

Tagged Content List
  • Wiki Page: Generate XML with Same Node Names using FOR XML PATH

    In this post, we are going to see how we can generate XML in the below-mentioned format from the relational data. < row > < column >1</ column > < column >1</ column > </ row > < row > < column >2</ column > ...
  • Wiki Page: T-SQL: Removing all non-Numeric Characters from a String

    Someone asked, what is the fastest way to remove all non-numeric characters (including space) from a varchar variable without affecting the performance. This will be used to check multiple columns in the table so thread originator was looking for some efficient way to do this: Example of the...
  • Wiki Page: Active Directory: How to Get User Login History using PowerShell

    Microsoft Active Directory stores user logon history data in the event logs on domain controllers. Starting from Windows Server 2008 and up to Windows Server 2016, the event ID for a user logon event is 4624. These events contain data about the user, time, computer and type of user logon. Using the...
  • Wiki Page: PowerShell: Disk Space Utilization HTML Report

    Table of Contents Abstract Introduction Examples Code In Detail Output filename Prepare HTML file using CSS Code Code with Email Validation and a single recipient Code for Multiple recipients with no email validation References Abstract Monitoring disk space utilization of server(s) is a critical...
  • Wiki Page: Powershell: How to get started.

    Part 2 to this article is located here Below is compiled to help get helpdesk, system admins/ engineers, and security personnel started on a set path to not just learn powershell but to maintain that knowledge and it is all free. Getting Started with PowerShell 3.0 Jump Start: http:/...
  • Wiki Page: Azure SQL: Move to New Database Tiers

    Table of Contents Foreword Creating a new Azure SQL Database Performance considerations to the new SQL Database tiers Monitoring an Azure SQL Database Performance Considerations Recover From ‘Oops’ Failures Dusk of Azure SQL Database Federations Recover From Disasters Other facts References Just a...
  • Wiki Page: PowerShell: How to use Switch Parameter?

    What is Switch Parameter? Help about_Functions_Advanced_Parameters How to Use Switch Parameter? Param ( [ Parameter ( Mandatory = $false ) ] [Switch] $ColorText ) How to consume switch parameter? Demo function if switch -colortext is included...
  • Wiki Page: Visual Basic.Net Pullout Panel Borderless Form

    How To Create a Borderless form with pull out compartments in Visual Basic. This can be difficult at first, but i will attempt to keep it short and sweet. Have you ever wanted to have a compartment that you could pull out of your form, one that extended beyond the border of the form? Well, this...
  • Wiki Page: DOS Scripts From Visual Basic.Net

    How To execute a dos script in Visual Basic without creating an external process. Not all DOS commands can be executed with this, such as CLS, diskpart, echo, etc.... If you discover unsupported commands, please add them to this list: Unsupported Dos Commands: CLS Echo DiskPart ? ...
  • Wiki Page: .Net: Braille Code

    (Try using the table below to decipher this!) Table of Contents Download Introduction Braille to Binary Table Example Code (Visual Basic) Example Code (C Sharp) Summary See also Download You can download a more elaborate version of this code (the project version) at the following link. Introduction...
  • Wiki Page: PowerShell Troubleshooting: Using COM Objects

    Table of Contents Code Used Reason Fix Error Message Code Used Add-Type -AssemblyName 'Microsoft.Office.Interop.Outlook' $Outlook = New-Object -ComObject 'Outlook.Application' Reason The code is correct, no issues identified. The reason is OUTLOOK process is...
  • Wiki Page: Exchange 2010: Failed to execute Troubleshoot-DatabaseSpace.ps1 Error formatting a string

    We will get a SCOM alert for Exchange 2010 Management Pack unable to run the Troubleshootdatabase.ps1 after we install Windows Management Framework 3.0 or higher versions on the Exchange servers. What is this TroubleshootDatabase.ps1 ? The Troubleshoot-Database.ps1 is located by default at...
  • Wiki Page: Visual Basic: Drive Searcher

    Table of Contents Finding files with Visual Basic Source Code Download Introducing the DriveSearcher Class search parameters FileFoundEventHandler StatusChangedEventHandler SearchStatus FilesComparedSoFar DirectoriesSearchedSoFar UnsearchableDirectories DriveSearcher Class Resources See also Finding...
  • Wiki Page: SharePoint 2013: Cascade Dropdown List using SPServices –$().SPServices.SPCascadeDropdowns

    Table of Contents What is Cascading Dropdown List: $().SPServices.SPCascadeDropdowns: How to use $().SPServices.SPCascadeDropdowns: Reference: What is Cascading Dropdown List: One drop-down list content depends on parent dropdown list selection, that is called cascading dropdown list. For example...
  • Wiki Page: .NET Troubleshooting: Path too Long Exception and .NET PowerShell Robocopy Clone

    Table of Contents .NET Error: Path too Long NET 4.6.2 and long paths on Windows 10 Other .NET libraries which support long path QuickIO.NET AlphaFS Use Robocopy as a workaround Use a Share or a substitution as a workaround PowerShell Path too Long and .NET PowerShell Robocopy Clone .NET See Also ...
  • Wiki Page: Logic Apps: Message Validation with XML, JSON and Flat-File Schemas (part 2)

    Table of Contents 1 Introduction 2 Storing and Retrieving JSON Schemas run.csx project.json Logic App HTTP Request Trigger The Logic App Parse JSON Action JSON Validation with an Azure Function schema.json run.csx project.json JSON Validation with Integration Account Maps & Assemblies XSLT...
  • Wiki Page: .NET: Convert System.Decimal to and from Byte Arrays

    Table of Contents Introduction? Getting the bytes of a System.Decimal Creating an instance of the System.Decimal from bytes Summary ? Code Examples Visual Basic C# ReferencesMSDN Library Introduction? At first, glance converting the datatype (System.Decimal) to and from bytes may appear to be a...
  • Wiki Page: C# Triangle Solver

    erview This is a wizard-style app. that through a series of questions determines which type of Triangle Solver you need. The solution is given to your chosen number of Decimal Places or Significant Figures, both in the solver form and as an HTML page where step by step solutions are shown, along...
  • Wiki Page: C# Script: Unity 3D Game Creation

    Table of Contents Introduction to Unity 3D Create your first Unity 3D application Code Part Introduction to Unity 3D Framework How to add a C# Script to a Unity 3D application How to add the C# Script to selected object to produce the result How to Build and Run the Unity 3D application to web See Also...
  • Wiki Page: Log messages using NLog framework

    Table of Contents 1. NLog 2. Logging 2.1. Logging Frameworks 2.2. Install NLog 2.3. NLog Targets 2.4. Target Layout 2.5. NLog rules 2.6. Nlog levels 2.7. Let’s see what’s in action 2.8. How to use multiple targets 3. Download 3.1. TechNet Gallery 3.2. GitHub 4. Conclusion 5. References Many of the...
  • Wiki Page: C#: Password Strength Meter

    Table of Contents Overview Code Conclusion Download See Also Overview This is a simple Password Strength Meter, consisting of a TextBox to enter a password, with a maxlength of 20, which uses * as the Password Character. There's a second TextBox with the same attributes to confirm...
  • Wiki Page: SharePoint 2010: How to Copy Permissions Between Lists Using Web Services

    I have seen administrators working hard to copy permissions from one list to another list. This is a very important task from the security perspective as well. To ease this process I received various requests to develop something that will allow this via web service call since the tool will be used...
  • Wiki Page: C#: Merge PDF Files

    Project Description Merge PDF Files using the iTextSharp library. We pass a set of PDF files to the method and get one file with all the passed files merged. Code using System; using System.Collections.Generic; using System.Text; using System.IO; using iTextSharp...
  • Wiki Page: VBScript to Read and Update an Excel Spreadsheet with Computer Description from Active Directory

    Table of Contents Purpose Example Case (Input Excel File) Other Considerations and Further Steps Code Snippet Customize Code to Your Enviornment (Domain, OU, etc.) Execute the Script Sample Output / Results See Also Purpose This article explains how to use a VBScript application to read a single...
  • Wiki Page: VBSCRIPT - Allow Users to choose which network drives to map, alert if process is running, find if current drive is mapped

    The below script does quite a few things. This script will allow a user to chose an option 1-6 pick a network drive and it will map them to that network share. This script detects if a program is running and will not execute the commands until the process is closed for example notepad. This can...
Page 19 of 209 (5,220 items) «1718192021»
Can't find it? Write it!