Browse by Tags

Tagged Content List
  • Wiki Page: How to Script the Export/Modify of Active Directory Objects Attributes

    Table of Contents DSQUERY Powershell Quest Powershell Script Find some specific attributes for a OU users using powershell Find users attributes (Users input from a Text file) Below example for user attributes How to reset the passwords for some specific users How to update the manager field for bulk...
  • 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: 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 Filters...
  • Wiki Page: Getting Information about a Variable in VBScript

    Since VBScript uses variants , it can be useful to find out what type of information ended up in a variable. Here is a simple subroutine to call all the built-in functions that return information about a variable. Sub GetVarInfo(varname) Wscript.Echo "" Wscript.Echo "VarType...
  • Wiki Page: Making Backup and Restore Script

    @echo off @echo -------------------------------------------------------- @echo Backing Up site http://localhost/ @echo -------------------------------------------------------- cd \Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN @echo Generating File Name using current...
  • Wiki Page: Hyper-V: Script to Check IC Version

    Table of Contents Script Not Detected Community Resources Here is a script for checking the version number of your VM integration components created by Microsoft software developer Stefan Wernli. Script # Test if the IC version is up to date param( [string]$vmName = $(throw "Must...
  • Wiki Page: Generate a Report for installed Hotfix for Bulk Servers using PowerShell

    Function Get -ComInfo { param( ## Computers $computers ) "#" *80 "Server HotFix Report" "Generated $(get-date)" "Generated from $(gc env:computername)" "#" *80 Get -HotFix -ComputerName $computers } ...
  • Wiki Page: PowerShell Script for Shutdown/Reboot Events Tracker

    Table of Contents Single Server Reboot Report: Multiple Servers Reboot Report: Single Server Reboot Report: 01. Get - WinEvent - FilterHashtable @{logname = 'System' ; id = 1074 } | 02. ForEach - Object { 03. 04. $rv = New - Object PSObject | Select...
  • Wiki Page: How to Attach a Custom Task to an Event on Windows Server 2008

    In an earlier post I talked about how to forward events from one machine to another. That works out quite well, but unless you’re sitting at the log and watching the events go by, you might miss something. You might agree that there are some events that you are more interested in than others. For example...
  • Wiki Page: How to Generate Readable Alerts Based on SNMP Traps in MOM 2005

    This article describes how to configure a Microsoft Operations Manager 2005 Management Server or a MOM 2005 Agent to generate a readable alert when an SNMP trap is received. This allows you to monitor SNMP-enabled devices and applications by configuring them to send traps to MOM. The article does not...
  • Wiki Page: How to Inventory Mapped Drives in Configuration Manager 2007

    I was asked a few days ago if ConfigMgr or SMS could inventory mapped drives, and while the answer is yes we don't do it by default. In effect we report the logical disk but not mapped drives. In order to inventory mapped drives we first need to extend the sms_def.mof. Mapped drives are in the...
  • Wiki Page: How to Capture and Report on a Registry Setting from Configuration Manager Clients

    This article seeks to offer a more complete solution on not only how to capture various registry settings from a client into the System Center Configuration Manager 2007 database, but to also demo how to build a sample query to report on those settings. This sample will use a fictitious Software...
  • Wiki Page: How To Find the Collection Membership Information of a Specific Client Machine

    Many times during the course of troubleshooting you may come across a situation where you need to find out how many Collections a specific Client machine is a member of. Here is how you can find that information, along with the Collection Names and the ID's: Run the following query in SQL against...
  • Wiki Page: NETSH

    Netsh Overview Netsh is a command-line scripting utility that allows you to display or modify the network configuration of a computer that is currently running. Netsh commands can be run by typing commands at the netsh prompt and they can be used in batch files or scripts. Remote computers and the...
  • Wiki Page: User Page: Biswajit

    Table of Contents 1. DNS 2. Group Policy Object 3. Domain Controller 4. PowerShell 5. ADDS & Windows 6. My Forums Treads 7. My Gallery Contributions 8. PKI See Also 1. DNS Nos. Description 1. Dns-design-dns-zones-for-per-organization-units 2. Dns-read-only...
  • Wiki Page: How to Change the Owner Value for All VMs in SCVMM 2008

    Note: This article is based on VMM 2008 and might not apply to VMM 2012 (R2) Have you ever found yourself in a situation where you have a bunch of virtual machines (VMs) where the OWNER value is set to UNKNOWN and you wanted to set a value owner without having to modify them one VM at a time? If...
  • Wiki Page: How to Get the Printers List for all Computers of a Domain

    I have written a batch file. Push that through GPO. You will get the list in \\serverip\\share echo off cd \ c: md printer cd printer WMIC PRINTER LIST STATUS >> %computername%.txt copy *.txt \\serverip\\share There is a thread in a migration forum so I thought it might...
  • 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: Hyper-V: How to Find Virtualization Hosts (Servers with Hyper-V Enabled)

    Note: This article is based on Hyper-V 2.0 and might not apply to Hyper-V 3.0 (Server 2012) John Howard , Senior Program Manager in the Hyper-V team at Microsoft, shared a sample VBScript you can use how to determine which domain-joined servers are running Hyper-V by using the SCP or "Service...
  • Wiki Page: FCS: MOM Rule/Script Troubleshooting and Isolation

    When the MOM agent (including the MOM server's agent) downloads the Rules and Configuration which include scripts, these Rules (and scripts) sometimes fail to successfully execute. When this happens you may or may not find clues in any of the Event logs, MOM Operator Console, or typical MOM agent...
  • Wiki Page: Hyper-V Scripts: Validate a Virtual Switch

    Feel free to add to this (unsupported, as-is) script, it is the wiki way. For example, what is the right way to format code in the TN WIKI? Can you help make it look right? Do you need a script to validate that a virtual switch is configured correctly? Using WMI you can get the virtual switches...
  • 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 Get-ADObject...
  • Wiki Page: VBScript for Adding Network Printers at User Logon

    Many times over I have had the need to create logon scripts that would automatically add network printers for users as they logon. The process is quite simple if you adopt a simple vbscript to connect the required printers and then apply a group policy that would run the script during logon. Below...
  • Wiki Page: PowerShell : DC PROMO Windows Server 2012

    #################################################################################################### # # Unattend_DCPROMO.ps1 # # v.01 The 26 November 2012 by Kévin KISOKA - Personal Website : http://www.it-deployment.fr # # Usage : # - Modules Work Only with Powershell 3.0 / .NET 4.0...
  • Wiki Page: Hyper-V: Scripts

    There is an entire library of free PowerShell scripts for Hyper-V 2008r2 management at: www.codeplex.com/psHyperV . There is an entire library of Hyper-V Cmdlets in Windows PowerShell 3.0 for Hyper-v Server 20012 There are helpful, free, Hyper-V scripts available on the Script Center Gallery...
Page 1 of 4 (86 items) 1234
Can't find it? Write it!