Browse by Tags

Tagged Content List
  • Wiki Page: SharePoint PowerShell script to update people field with claims token in List

    While migrating existing applications from MOSS 2007 to SharePoint 2013, we came across this issue where user ids were updated to include claims token, but people field in lists were still having ids only with domain name. So we have a custom list "Project Tasks" where we have a people...
  • Wiki Page: SSIS: Data maintenance with Microsoft Azure SQL Database

    Table of Contents Introduction Justifying Versions Management Portal Azure How to: Create an Azure SQL Database How to: Configure the firewall for the logical server Connection Information - SQL AZURE Architecture Goals Requirements Enabling Change Data Capture Integration Services Projects - SSIS Creating...
  • Wiki Page: Hyper-V 2008 R2: Protection with DPM 2010: How to Automatically Protect New Virtual Machines

    Note: This article is based on Hyper-V 2.0, and might not apply to Hyper-V 3.0 (Server 2012) Applies to: DPM 2010 (Beta) This information was originally provided by Angad Pal Singh on the Data Protection Manager blog : In any virtualized environment, adding new VMs is a frequent operation...
  • Wiki Page: Active Directory Objects Restoration

    Table of Contents Applies to Attributes Backups Restoration See the below link for more details - Restore-ADObject Benefits DSAMAIN If System-state Backup is in place. You do no need any Scripts as above. See the below link for more details - DSAMAIN.EXE Use below Powershell Command for getting User's...
  • Wiki Page: Active Directory: DSQUERY Commands

    DSQUERY Commands to query AD objects:- 1. How to find all members for a particular group. dsget group "<DN of the group>" -members a. How to find all groups for a particular member (including nested groups) dsget user "<DN of the user>" -memberof -expand...
  • Wiki Page: Verify ForestPrep, Domainprep & Rodcprep Result

    Applies to Windows Server 2003, Windows Server 2003 R2 , Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2. Table of Contents Schema Version DSQUERY Schema Version ForestPrep Result RODCPrep Result DomainPrep Result Powershell Verify ForestPrep, Domainprep...
  • Wiki Page: ADDS PowerShell (CMDLET, ADSI & .Net) to Expedite Your Tasks

    Table of Contents CMDLET ADSI PowerShell ADSI(Active Directory Services Interface) commands 2. How to find the Group members for a Group. 3. Listing an OU Contents 4. Finding FSMO using .Net Namespace "System.DirectoryServices" 5. Finding All attributes & Properties How to get the Property...
  • Wiki Page: Active Directory: LDAP Syntax Filters

    LDAP syntax filters can be used in many situations to query Active Directory . They can be used in VBScript and PowerShell scripts. Many utilities, like adfind and dsquery *, accept LDAP filters. Many PowerShell Active Directory module cmdlets, like Get-ADUser, Get-ADGroup, Get-ADComputer, and...
  • Wiki Page: Active Directory Domain Services (AD DS) Commands and Scripts

    Here are some useful commands and scripts for administering Active Directory. For more information please see Active Directory Domain Services Command Reference ( http://technet.microsoft.com/library/cc771131 ). Source reference http://portal.sivarajan.com/2011/08/searching-active-directory...
  • Wiki Page: PowerShell Script for Shutdown/Reboot Events Tracker

    Table of Contents Single Server Reboot Report: Multiple Servers Reboot Report: Single Server Reboot Report: Get-WinEvent -FilterHashtable @{ logname = 'System' ; id = 1074 } | ForEach-Object { $rv = New-Object PSObject | Select-Object Date , User , Action...
  • Wiki Page: SharePoint Powershell Script to create, update, delete and assign site Quota template

    This article demonstrates a Powershell Script to create, update, delete and assign site Quota template. Its a simple process - hope you will find it interesting. The Script works for both SharePoint 2010 and SharePoint 2013. Create a new Quota template: $NewQTemp = New-Object Microsoft.SharePoint...
  • Wiki Page: Active Directory: Ambiguous Name Resolution

    Introduction Ambiguous Name Resolution (ANR) is an efficient search algorithm in Active Directory that allows you to specify complex filters involving multiple naming-related attributes in a single clause. It can be used to locate objects in Active Directory when you know something about the name...
  • Wiki Page: How to Use PowerShell to Create a Wiki Catalog Page

    Wiki PowerShell Item Summary This script builds a HTML catalog page based on the tags you put in a list. With this PowerShell script you can quickly create your HTML catalog file with tags of your choice. The file uses a header text file ( download here ) and footer text file (HTML) ( download...
  • Wiki Page: How to Use Powershell to Import Schema Objects from a CSV File

    FIM ScriptBox Item Summary This script may be used to create Attributes and Bindings in the FIM Portal Schema based on information in a CSV file. The script comes in two parts: Import-SchemaCSV.ps1 is used to generate a changes.xml file, and CommitChanges.ps1 is used to import the...
  • Wiki Page: How to Use PowerShell to Create a User in the FIM Portal

    FIM ScriptBox Item Summary The objective of this script is to create a user in the FIM portal. The script expects the attributes of the new user as parameter with the following format: "<attribute name>:<attribute value>|<attribute name>:<attribute value>"...
  • Wiki Page: PowerShell: How to automatically backup the netlogon debug log

    Overview There may be a time when Netlogon Debug Logging is required over a prolonged period of time, and all entries must be saved. The standard size of the Netlogon.log is 20mb which rolls over to a 20mb Netlogon.bak file. On a busy server, this can result in a rollover time of an hour or less....
  • Wiki Page: Active Directory: Characters to Escape

    Almost any characters can be used in distinguished names in Active Directory . However, some characters must be escaped with the backslash "\" escape character. Table of Contents Active Directory ADSI Non-Keyboard Characters VBScript PowerShell PowerShell New-AD* Cmdlets ADsPath LDAP...
  • Wiki Page: Servers Inventory Report

    Table of Contents Hard drive capacity, Hard Drive free Space, RAM Capacity, OS, OS Architecture, IP V4, IP V6, IP is static or dynamic, Global Catalog is Yes or No, Virtual or Physical Given the sample output. Need to create a computers.txt at the same place of this script. I have tested it 2008R2...
  • Wiki Page: How to create .EXE from PS1

    Table of Contents Benefits Prerequisites Create EXE Benefits 1. No body can change your Code. 2. No body can see your Code. Prerequisites 1. Quest PowerGui http://www.powergui.org/downloads.jspa 2. ActiveRole Management Shell For ActiveDirectory http://www.quest.com/powershell...
  • Wiki Page: Reset Users AD Password with Powershell

    This powershell script goes and resets a users account in Active Directory. Requirements: Must have permissions to reset passwords in AD. If this is run from any other powershell then you need to import the Active Directory Module. Remove the # tag from lines 3,4 and 5 to do this. The account...
  • Wiki Page: Windows PowerShell Survival Guide

    This article was formerly titled "Automating IT Tasks with Windows PowerShell Overview."** Table of Contents Introduction and Getting Started Purpose of this Document Scope of this Document Learning PowerShell Fundamentals Guides Quick Reference Materials Videos Covering PowerShell...
  • Wiki Page: Script to add or remove a user as site collection administrator in many site collections

    Script to add or remove a user as site collection administrator in many site collections Description: many times as a SharePoint administrator we required to perform a task that to add a user as administrator in many site collections. This is very difficult if has 100’s of site collections. In this...
  • Wiki Page: PowerShell Script ile Exchange Server 2013&2010 Üzerinde Health Check Report Oluşturma (tr-TR)

    Bu yazımda sizler ile PowerShell komut dosyası ile Exchange Server Sunucularınız üzerinde çalışan servislerin durumlarını raporlama işlemlerini paylaşacağım. Bu Script sayesinde Exchange Server üzerinde koşan veritabanı durumlarını, Grupları, Client Access Server Role Services, Hub Transport Server...
  • Wiki Page: Windows 7 VDI script

    Moving content off Jeff Stokes Blog to WIKI. SCRIPT: This Sample Code is provided for the purpose of illustration only and is not intended to be used in a production environment. THIS SAMPLE CODE AND ANY RELATED INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND...
  • Wiki Page: Query a Registry Key for Bulk Computers

    On Error Resume Next Set objShell = CreateObject("Wscript.Shell") Set oFso = CreateObject("Scripting.FileSystemObject") sDesktop = objShell.SpecialFolders("Desktop") spath = sDesktop & "\Dclist.txt" Set oT = oFso.OpenTextFile(spath,1) Do Until oT...
Page 1 of 5 (102 items) 12345
Can't find it? Write it!