You Should Be Using PowerShell Aaron Kaiser Senior Technology Support Specialist Parkway School District

Size: px
Start display at page:

Download "You Should Be Using PowerShell Aaron Kaiser Senior Technology Support Specialist Parkway School District"

Transcription

1 You Should Be Using PowerShell Aaron Kaiser Senior Technology Support Specialist Parkway School District

2 Why PowerShell? Most modern Microsoft GUI s are built upon PowerShell A number of third party applications are either built on PowerShell or have snap ins that leverage PowerShell VMware vsphere PowerCLI Citrix Studio Fairly straightforward syntax Absolute Power!

3 PowerShell vs VB Script PowerShell VB Script Get ChildItem Path C:\ File Select Object Directory,Name,Length Export Csv C:\Files.csv Append NoTypeInformation Set objfs = CreateObject("Scripting.FileSystemObject") Set objfile = objfs.createtextfile( C:\Files.csv ) Wscript.sleep(2000) 'Pause while file is being created Set objfile = objfs.getfile( C:\Files.csv ) Const ForWriting = 2 Set outputfile = objfs.opentextfile( C:\Files.csv, ForWriting) Set objfolder = objfs.getfolder( C:\ ) Set colfiles = objfolder.files For Each objfile in colfiles OutputFile.Write C:\, & objfile.name &, & objfile.size Wscript.Echo C:\, & objfile.name &, & objfile.size Next OutputFile.Close

4 Before You Begin Update PowerShell to version 4.0 $PSVersiontable use to determine version currently installed Improved performance and functionality Auto load modules Execution Policy Set to Restricted by default RemoteSigned if you wish to be fairly safe Unrestricted if you are confident and/or crazy PS1 extension Setting up the Console Window Launching as Administrator

5 PowerShell Tools Console Basic interface Limited editing capabilities Copy and paste are not easy ISE (Integrated Scripting Engine) Best used for scripting Uses normal copy and paste commands Helpful features Third Party Tools Various paid and free tools PowerGUI Compile script into an EXE

6 Cmdlets Uses verb noun naming convention Simple Starters Get Process Get Service Get Date Get Command Verb or Noun Wildcards Parameters

7 Get Help Very Important/Helpful Provides Description, Syntax, and Even Examples ShowWindow Parameter Online Parameter Wild Card Search

8 The Pipeline Used to connect commands together Provides a way to pass output to another command Uses the pipe symbol Example: Get Process Out File c:\process.txt

9 $Variables Where the true scripting power of PowerShell lies Always starts with a $ Can hold a variety of information Text Numbers Lists

10 Punctuation Backtick ` Escape character Single Quotes Contains string values Does not look for escape character or variables Double Quotes Contains string values Looks for escape character or variables Curly Braces { } Contain script blocks Variable name that contains spaces or illegal characters Parentheses ( ) Like in math, defines order of execution Hashtag # Comment character Any characters following # are ignored Similar to REM in DOS

11 Parkway Example #1 How Do You Delete Over 17,000 User Folders?

12 $schools "cms", "sms") foreach ($school in $schools) { Remove-Item "\\student1\$school\*[0-9][0-9][0-9][0-9]" -force -recurse }

13 Parkway Example #2 How Do You Add All These MAC Addresses As Active Directory Users?

14 import-module activedirectory import-csv c:\adimport.csv % {New-ADUser -GivenName $_.Name.ToLower() -Name $_.Name.ToLower() -DisplayName $_.Name.ToLower() -SamAccountName $_.Name.ToLower() -UserPrincipalName ($_.Name.ToLower() + "@local.com") -Description $_.Description -Path $_.Path -Enabled $True -AccountPassword (ConvertTo-SecureString $_.Name.ToLower() -AsPlainText -force) -PasswordNeverExpires $True} import-csv c:\adimport.csv % {Add-ADGroupMember -Identity Wireless-MAC -Member $_.Name.ToLower()}

15 # Script to create Active Directory accounts Import-Module ActiveDirectory $Mac = Read-Host -Prompt "Enter The MAC Address" $Name = $Mac.ToLower() $Desc = Read-Host -Prompt "Enter The Machine Name. It Must Start With The School's Three Digit Code." $OU = $Desc.Substring(0,3) #$OU = Read-Host -Prompt "Enter The School's Three Digit Code" If ([adsi]::exists("ldap://ou=$ou,ou=ws-macaddr,dc=local,dc=com") -eq $False){ write-warning "The School Code is incorrect"} Elseif (Get-ADUser -Filter {samaccountname -eq $Name}){ write-warning "The User already exists"} Elseif ($Name -notlike '????????????'){ write-warning "The MAC address is the wrong length"} Else{ New-ADuser -GivenName $Name -Name $Name -DisplayName $Name -SamAccountName $Name -UserPrincipalName ($Name + "@local.com") -Description $Desc -Path ("OU=" + $OU + ",OU=ws-macaddr,DC=local,DC=com") -Enabled $True -AccountPassword (ConvertTo-SecureString $Name -AsPlainText -force) -PasswordNeverExpires $True Add-ADGroupMember -Identity Wireless-MAC -Member $Name write-host "The account has been created."} Read-Host -Prompt "Press Enter to exit"

16 Parkway Example #3 How Do You Move From Novell Shares To Microsoft Shares Without Losing Your Mind?

17 $letters "b*", "c*", "d*", "e*", "f*") Foreach ($letter in $letters) { $users = get-aduser -Filter {Surname -like $letter} -SearchBase "OU=staff,DC=local,DC=com" Select-Object -ExpandProperty SamAccountName Foreach ($user in $users) { If ($user -like "a*") {$path = "\\staff1\ac\a"} Elseif ($user -like "b*") {$path = "\\staff1\ac\b"} Elseif ($user -like "c*") {$path = "\\staff1\ac\c"} Elseif ($user -like "d*") {$path = "\\staff2\df\d"} Elseif ($user -like "e*") {$path = "\\staff2\df\e"} Elseif ($user -like "f*") {$path = "\\staff2\df\f"} Elseif ($user -like "g*") {$path = "\\staff3\gj\g"} Elseif ($user -like "h*") {$path = "\\staff3\gj\h"} Elseif ($user -like "i*") {$path = "\\staff3\gj\i"} Elseif ($user -like "j*") {$path = "\\staff3\gj\j"} Elseif ($user -like "k*") {$path = "\\staff1\km\k"} Elseif ($user -like "l*") {$path = "\\staff1\km\l"} Elseif ($user -like "m*") {$path = "\\staff1\km\m"} Elseif ($user -like "n*") {$path = "\\staff2\nr\n"} Elseif ($user -like "o*") {$path = "\\staff2\nr\o"} Elseif ($user -like "p*") {$path = "\\staff2\nr\p"} Elseif ($user -like "q*") {$path = "\\staff2\nr\q"} Elseif ($user -like "r*") {$path = "\\staff2\nr\r"} Elseif ($user -like "s*") {$path = "\\staff3\sz\s"} Elseif ($user -like "t*") {$path = "\\staff3\sz\t"} Elseif ($user -like "u*") {$path = "\\staff3\sz\u"} Elseif ($user -like "v*") {$path = "\\staff3\sz\v"} Elseif ($user -like "w*") {$path = "\\staff3\sz\w"} Elseif ($user -like "x*") {$path = "\\staff3\sz\x"} Elseif ($user -like "y*") {$path = "\\staff3\sz\y"} Elseif ($user -like "z*") {$path = "\\staff3\sz\z"} Else {continue} $newpath = Join-Path \\staffaf\af -childpath $user new-item $newpath -type directory $acl = Get-Acl $newpath $permission = "Local\$user","FullControl", "ContainerInherit, ObjectInherit", "None", "Allow" $accessrule = New-Object System.Security.AccessControl.FileSystemAccessRule $permission $acl.setaccessrule($accessrule) $acl Set-Acl $newpath robocopy $path\$user \\staffaf\af\$user /copy:dat /e /mir /fft /mt:8 /zb /nfl /ndl /ns /nc /np /r:5 /w:5 /log+:c:\aflog.txt }}

18 cmd /c dir "\\staff3\sz\ssd\*" /b /a:d > c:\ssd.txt $Users = Get-Content c:\ssd.txt ForEach ($user in $users) { $t = Get-ADUser -Filter 'SamAccountName -eq $user' -SearchBase "OU=staff,DC=local,DC=com" Select-Object -ExpandProperty Surname If ($t -like "a*") {$mpath = "\\staffaf\af"} Elseif ($t -like "b*") {$mpath = "\\staffaf\af"} Elseif ($t -like "c*") {$mpath = "\\staffaf\af"} Elseif ($t -like "d*") {$mpath = "\\staffaf\af"} Elseif ($t -like "e*") {$mpath = "\\staffaf\af"} Elseif ($t -like "f*") {$mpath = "\\staffaf\af"} Elseif ($t -like "g*") {$mpath = "\\staffgl\gl"} Elseif ($t -like "h*") {$mpath = "\\staffgl\gl"} Elseif ($t -like "i*") {$mpath = "\\staffgl\gl"} Elseif ($t -like "j*") {$mpath = "\\staffgl\gl"} Elseif ($t -like "k*") {$mpath = "\\staffgl\gl"} Elseif ($t -like "l*") {$mpath = "\\staffgl\gl"} Elseif ($t -like "m*") {$mpath = "\\staffmr\mr"} Elseif ($t -like "n*") {$mpath = "\\staffmr\mr"} Elseif ($t -like "o*") {$mpath = "\\staffmr\mr"} Elseif ($t -like "p*") {$mpath = "\\staffmr\mr"} Elseif ($t -like "q*") {$mpath = "\\staffmr\mr"} Elseif ($t -like "r*") {$mpath = "\\staffmr\mr"} Elseif ($t -like "s*") {$mpath = "\\staffsz\sz"} Elseif ($t -like "t*") {$mpath = "\\staffsz\sz"} Elseif ($t -like "u*") {$mpath = "\\staffsz\sz"} Elseif ($t -like "v*") {$mpath = "\\staffsz\sz"} Elseif ($t -like "w*") {$mpath = "\\staffsz\sz"} Elseif ($t -like "x*") {$mpath = "\\staffsz\sz"} Elseif ($t -like "y*") {$mpath = "\\staffsz\sz"} Elseif ($t -like "z*") {$mpath = "\\staffsz\sz"} Else {continue} $newpath = Join-Path $mpath -childpath $user new-item $newpath -type directory $acl = Get-Acl $newpath $permission = "Local\$user","FullControl", "ContainerInherit, ObjectInherit", "None", "Allow" $accessrule = New-Object System.Security.AccessControl.FileSystemAccessRule $permission $acl.setaccessrule($accessrule) $acl Set-Acl $newpath robocopy \\staff3\sz\ssd\$user $mpath\$user /copy:dat /e /mir /fft /mt:8 /zb /nfl /ndl /ns /nc /np /r:5 /w:5 /log+:c:\ssdlog.txt }

19 Parkway Example #4 How do you change permissions to all the printers on your Microsoft Print Server?

20 $security = get-printer -computer printsvr "HPTEST" -full get-printer * -computer printsvr Foreach-Object {set-printer $_.name -computer printsvr -PermissionSDDL $security.permissionsddl}

21 Parkway Example #5 How do you check to see if your users have an actual home directory and fix it if they do not?

22 $OUs "OU=Grade07,OU=mid,OU=students,DC=local,DC=com", "OU=Grade08,OU=mid,OU=students,DC=local,DC=com") Foreach ($OU in $OUs){ $users = Get-ADUser -Filter * -SearchBase $OU -Properties * Select-Object samaccountname, HomeDirectory Foreach ($user in $users) { $u = $user.samaccountname $h = $user.homedirectory if(-not(test-path -Path $h)) { $u out-file c:\midmissing.txt -Append new-item -Path $h type directory $acl = Get-Acl $h $permission = "Local\$u","Modify", "ContainerInherit, ObjectInherit", "None", "Allow" $accessrule = New-Object System.Security.AccessControl.FileSystemAccessRule $permission $acl.setaccessrule($accessrule) $acl Set-Acl $h } else {continue}}}

23 Additional Resources Microsoft Virtual Academy Getting Started with PowerShell 3.0 Jump Start Advanced Tools & Scripting with PowerShell 3.0 Jump Start Using PowerShell for Active Directory Powershell.org Learn Windows PowerShell In A Month Of Lunches Saint Louis University Workforce Center Automating Administration with Windows PowerShell

New-ADUser Name SamAccountName -AccountPassword (Read-Host AsSecurestring AccountPassword ) Enabled $true ChangePasswordAtLogon $true New-ADUser Name Amy Strande

More information

Active Directory Friday: All Articles. Jaap Brasser

Active Directory Friday: All Articles. Jaap Brasser Active Directory Friday: All Articles Jaap Brasser Content Creating Active Directory groups using PowerShell... 3 Determine the forest functional level... 5 Find empty Organizational Unit... 6 Use the

More information

Microsoft. Jump Start. M3: Managing Windows Server 2012 by Using Windows PowerShell 3.0

Microsoft. Jump Start. M3: Managing Windows Server 2012 by Using Windows PowerShell 3.0 Microsoft Jump Start M3: Managing Windows Server 2012 by Using Windows PowerShell 3.0 Rick Claus Technical Evangelist Microsoft Ed Liberman Technical Trainer Train Signal Jump Start Target Agenda Day One

More information

WolfTech Active Directory: PowerShell

WolfTech Active Directory: PowerShell WolfTech Active Directory: PowerShell March 7th, 2012 2-4pm Daniels 201 http://activedirectory.ncsu.edu What we are going to cover... Powershell Basics Listing Properties and Methods of Commandlets.Net

More information

Microsoft Windows PowerShell v2 For Administrators

Microsoft Windows PowerShell v2 For Administrators Course 50414B: Microsoft Windows PowerShell v2 For Administrators Course Details Course Outline Module 1: Introduction to PowerShell the Basics This module explains how to install and configure PowerShell.

More information

WHITE PAPER BT Sync, the alternative for DirSync during Migrations

WHITE PAPER BT Sync, the alternative for DirSync during Migrations WHITE PAPER BT Sync, the alternative for DirSync during Migrations INTRODUCTION When you have a migration from Exchange on Premises, you definitely have an Active Directory set up. It is a logical decision

More information

SUNGARD SUMMIT 2007 sungardsummit.com 1. Microsoft PowerShell. Presented by: Jeff Modzel. March 22, 2007 Course ID 453. A Community of Learning

SUNGARD SUMMIT 2007 sungardsummit.com 1. Microsoft PowerShell. Presented by: Jeff Modzel. March 22, 2007 Course ID 453. A Community of Learning SUNGARD SUMMIT 2007 sungardsummit.com 1 Microsoft PowerShell Presented by: Jeff Modzel March 22, 2007 A Community of Learning Agenda Introduction to PowerShell PowerShell Power Developer Angle Long Term

More information

Automating Microsoft

Automating Microsoft Automating Microsoft Windows Server 2008 R2 with Windows PowerShell 2.0 Matthew Hester Sarah Dutkiewicz WILEY Wiley Publishing. Inc. TABLE OF CONTENTS Introduction xvii Chapter 1 What Is PowerShell, and

More information

Track User Password Expiration using Active Directory

Track User Password Expiration using Active Directory Track User Password Expiration using Active Directory Jeff Hicks 1. 8 0 0. 8 1 3. 6 4 1 5 w w w. s c r i p t l o g i c. c o m / s m b I T 2011 ScriptLogic Corporation ALL RIGHTS RESERVED. ScriptLogic,

More information

POWERSHELL (& SHAREPOINT) This ain t your momma s command line!

POWERSHELL (& SHAREPOINT) This ain t your momma s command line! POWERSHELL (& SHAREPOINT) This ain t your momma s command line! JAMYE FEW SENIOR CONSULTANT 12+ years as IT Professional ( IT PRO duck DEV ) A little IT PRO, little more DEV and a lot of ducking. Certifiable

More information

Jeffrey Snover Distinguished Engineer & Lead Architect Jason Helmick Senior Technologist, Concentrated Technology

Jeffrey Snover Distinguished Engineer & Lead Architect Jason Helmick Senior Technologist, Concentrated Technology Jeffrey Snover Distinguished Engineer & Lead Architect Jason Helmick Senior Technologist, Concentrated Technology Meet Jeffrey Snover @jsnover Distinguished Engineer & Lead Architect for Windows Server

More information

Acknowledgments Finding Your Way Around Windows PowerShell p. 1 Getting Started with Windows PowerShell p. 3 Installing Windows PowerShell p.

Acknowledgments Finding Your Way Around Windows PowerShell p. 1 Getting Started with Windows PowerShell p. 3 Installing Windows PowerShell p. Introduction p. xv Acknowledgments p. xx Finding Your Way Around Windows PowerShell p. 1 Getting Started with Windows PowerShell p. 3 Installing Windows PowerShell p. 3 Installing.NET Framework 2.0 p.

More information

Enable Federated Agents in Chime for Lync

Enable Federated Agents in Chime for Lync Enable Federated Agents in Chime for Lync Copyright and Disclaimer This document, as well as the software described in it, is furnished under license of the Instant Technologies Software Evaluation Agreement

More information

Forefront Management Shell PowerShell Management of Forefront Server Products

Forefront Management Shell PowerShell Management of Forefront Server Products Forefront Management Shell PowerShell Management of Forefront Server Products Published: October, 2009 Software version: Forefront Protection 2010 for Exchange Server Mitchell Hall Contents Introduction...

More information

Windows Server 2008 R2: What's New in Active Directory

Windows Server 2008 R2: What's New in Active Directory Windows Server 2008 R2: What's New in Active Directory Table of Contents Windows Server 2008 R2: What's New in Active Directory... 1 Exercise 1 Using the Active Directory Administration Center... 2 Exercise

More information

PowerShell for Exchange Admins

PowerShell for Exchange Admins PowerShell for Exchange Admins Get-Speaker FL Name : Kamal Abburi Title : Premier Field Engineer Expertise : Exchange Email : Kamal.Abburi@Microsoft.com Blog : mrproactive.com Note: Inspired by my fellow

More information

Windows PowerShell Essentials

Windows PowerShell Essentials Windows PowerShell Essentials Windows PowerShell Essentials Edition 1.0. This ebook is provided for personal use only. Unauthorized use, reproduction and/or distribution strictly prohibited. All rights

More information

5/13/2009. Dejan Foro dejan.foro@exchangemaster.net. Speaker

5/13/2009. Dejan Foro dejan.foro@exchangemaster.net. Speaker Dejan Foro dejan.foro@exchangemaster.net Speaker 16years of years of experience with MS technologies 11years and 5generations of experience with Exchange (5.5, 2000, 2003, 2007, 2010) MCP, MCP+I, MCSE

More information

WELCOME TO TECH IMMERSION

WELCOME TO TECH IMMERSION WELCOME TO TECH IMMERSION Track: Active Directory Cmdlets Presenter: Brian McCann Global Platforms Engineer - Brian@Intel.com PowerShell Advantages o Consistent vocabulary and syntax Verbs Add, New, Get,

More information

Unidesk 3.0 Script to Increase UEP Size for Persistent Desktops

Unidesk 3.0 Script to Increase UEP Size for Persistent Desktops Unidesk 3.0 Script to Increase UEP Size for Persistent Desktops Summary When creating a desktop the size of the Personalization Layer (UEP) is defined in GB for the desktop. There are two vhdx files that

More information

Using the Citrix Service Provider License Reporting Tool

Using the Citrix Service Provider License Reporting Tool TECHNIAL GUIDE Citrix Service Provider Using the Citrix Service Provider License Reporting Tool Version 3, Updated June 4, 2013 www.citrix.com Introduction Citrix Service Providers (CSP) need to generate

More information

Active Directory Deployment and Management Enhancements

Active Directory Deployment and Management Enhancements Active Directory Deployment and Management Enhancements Windows Server 2012 Hands-on lab In this lab, you will learn how to deploy Active Directory domain controllers with Windows Server 2012. You will

More information

Quick Introduction... 3. System Requirements... 3. Main features... 3. Getting Started... 4. Connecting to Active Directory... 4

Quick Introduction... 3. System Requirements... 3. Main features... 3. Getting Started... 4. Connecting to Active Directory... 4 Users' Guide Thank you for evaluating and purchasing AD Bulk Users 4! This document contains information to help you get the most out of AD Bulk Users, importing and updating large numbers of Active Directory

More information

Step-by-Step Guide to Active Directory Bulk Import and Export

Step-by-Step Guide to Active Directory Bulk Import and Export Page 1 of 12 TechNet Home > Windows Server TechCenter > Identity and Directory Services > Active Directory > Step By Step Step-by-Step Guide to Active Directory Bulk Import and Export Published: September

More information

LT Auditor+ 2013. Windows Assessment SP1 Installation & Configuration Guide

LT Auditor+ 2013. Windows Assessment SP1 Installation & Configuration Guide LT Auditor+ 2013 Windows Assessment SP1 Installation & Configuration Guide Table of Contents CHAPTER 1- OVERVIEW... 3 CHAPTER 2 - INSTALL LT AUDITOR+ WINDOWS ASSESSMENT SP1 COMPONENTS... 4 System Requirements...

More information

PowerShell 3.0 Advanced Administration Handbook

PowerShell 3.0 Advanced Administration Handbook PowerShell 3.0 Advanced Administration Handbook Sherif Talaat Haijun Fu Chapter No. 6 "Managing Active Directory with PowerShell" In this package, you will find: A Biography of the authors of the book

More information

Release Note RM Unify CSV Extraction Tool

Release Note RM Unify CSV Extraction Tool RM Unify CSV Extraction Tool Contents Release Note RM Unify CSV Extraction Tool... 1 Contents... 1 About this Release Note... 1 About the RM Unify CSV Extraction Tool... 2 What it does... 2 Requirements...

More information

ShoreTel Active Directory Import Application

ShoreTel Active Directory Import Application INSTALLATION & USER GUIDE ShoreTel Active Directory Import Application ShoreTel Professional Services Introduction The ShoreTel Active Directory Import Application allows customers to centralize and streamline

More information

ActiveRoles Management Shell for Active Directory

ActiveRoles Management Shell for Active Directory ActiveRoles Management Shell for Active Directory Version 1.5 Administrator Guide 2010 Quest Software, Inc. ALL RIGHTS RESERVED. This guide contains proprietary information protected by copyright. The

More information

AddLocalUser AddLocalGroup AddLocalUserToLocalGroup AddDomainUserToLocalGroup AddDomainGroupToLocalGroup

AddLocalUser AddLocalGroup AddLocalUserToLocalGroup AddDomainUserToLocalGroup AddDomainGroupToLocalGroup Written by Rob Zylowski Originally developed for Unidesk and posted on www.unidesk.com Sr. Solutions Architect, Unidesk Corporation rzylowski@unidesk.com Managing User or Group Permissions on Virtual Desktops

More information

Windows PowerShell. 3.0 Step by Step. Ed Wilson

Windows PowerShell. 3.0 Step by Step. Ed Wilson Windows PowerShell 3.0 Step by Step Ed Wilson Foreword Introduction xix xxi Chapter 1 Overview of Windows PowerShell 3.0 1 Understanding Windows PowerShell 1 Using cmdlets 3 Installing Windows PowerShell

More information

LAB 1: Installing Active Directory Federation Services

LAB 1: Installing Active Directory Federation Services LAB 1: Installing Active Directory Federation Services Contents Lab: Installing and Configuring Active Directory Federation Services... 2 Exercise 1: installing and configuring Active Directory Federation

More information

Not Just for Scheduling: Doing More with SAS Enterprise Guide Automation Chris Hemedinger, SAS Institute Inc, Cary, NC

Not Just for Scheduling: Doing More with SAS Enterprise Guide Automation Chris Hemedinger, SAS Institute Inc, Cary, NC ABSTRACT Paper 298-2012 Not Just for Scheduling: Doing More with SAS Enterprise Guide Automation Chris Hemedinger, SAS Institute Inc, Cary, NC SAS Enterprise Guide supports a rich automation model that

More information

POWERSHELL FOR NEWBIES Getting started with PowerShell 4.0. Jeffery Hicks

POWERSHELL FOR NEWBIES Getting started with PowerShell 4.0. Jeffery Hicks POWERSHELL FOR NEWBIES Getting started with PowerShell 4.0 Jeffery Hicks Abstract This ebook is intended as a quick start guide for IT Professionals who want to learn about Windows PowerShell. The ebook

More information

ActiveRoles Management Shell for Active Directory

ActiveRoles Management Shell for Active Directory ActiveRoles Management Shell for Active Directory Version 1.1 Administrator Guide 2008 Quest Software, Inc. ALL RIGHTS RESERVED. This guide contains proprietary information protected by copyright. The

More information

HOW TO: Customise the style of the display name in Active Directory Users and Computers and the GAL

HOW TO: Customise the style of the display name in Active Directory Users and Computers and the GAL HOW TO: Customise the style of the display name in Active Directory Users and Computers and the GAL Finding and Modifying the Display Specifier createdialog It is often asked how the Display Name for user

More information

Using VBScript to Automate User and Group Administration

Using VBScript to Automate User and Group Administration Using VBScript to Automate User and Group Administration Exam Objectives in this Chapter: Create and manage groups Create and modify groups by using automation Create and manage user accounts Create and

More information

Avatier Identity Management Suite

Avatier Identity Management Suite Avatier Identity Management Suite Integrating Exchange 2010 With Identity Enforcer Version 9 2603 Camino Ramon Suite 110 San Ramon, CA 94583 Phone: 800-609-8610 925-217-5170 FAX: 925-217-0853 Email: support@avatier.com

More information

How to Create a Delegated Administrator User Role / To create a Delegated Administrator user role Page 1

How to Create a Delegated Administrator User Role / To create a Delegated Administrator user role Page 1 Managing user roles in SCVMM How to Create a Delegated Administrator User Role... 2 To create a Delegated Administrator user role... 2 Managing User Roles... 3 Backing Up and Restoring the VMM Database...

More information

IceWarp to IceWarp Server Migration

IceWarp to IceWarp Server Migration IceWarp to IceWarp Server Migration Registered Trademarks iphone, ipad, Mac, OS X are trademarks of Apple Inc., registered in the U.S. and other countries. Microsoft, Windows, Outlook and Windows Phone

More information

Z-Term V4 Administration Guide

Z-Term V4 Administration Guide Z-Term V4 Administration Guide The main purpose of Z-term is to allow for fast account termination process. Usually when an administrator terminates a departed user account, multiple consoles are used

More information

ShoreTel Active Directory Import Application

ShoreTel Active Directory Import Application INSTALLATION & USER GUIDE ShoreTel Active Directory Import Application ShoreTel Professional Services Introduction The ShoreTel Active Directory Import application creates, updates, and removes System

More information

Installing SQL Server 2012 on SMB Shares on NetApp Storage

Installing SQL Server 2012 on SMB Shares on NetApp Storage Technical Report Installing SQL Server 2012 on SMB Shares on NetApp Storage Pat Sinthusan, NetApp November 2012 TR-4108 TABLE OF CONTENTS 1 Introduction... 3 2 Intended Audience... 3 3 Terminology... 3

More information

Using Management Shell Reports and Tracking User Access in the NetVanta UC Server

Using Management Shell Reports and Tracking User Access in the NetVanta UC Server 6UCSCG0004-29A September 2010 Configuration Guide Using Management Shell Reports and Tracking User Access in the NetVanta UC Server This configuration guide provides instructions for accessing the Microsoft

More information

REST API Getting Started Guide

REST API Getting Started Guide REST API Getting Started Guide vcommander version 5.2 REST API version 2.3 P a g e 1 Contents Introduction... 3 Version compatibility... 3 Changes in this release... 3 REST API capabilities... 3 Cloud

More information

Things I wish I d known when I started using PowerShell

Things I wish I d known when I started using PowerShell PowerShell Day 1 Things I wish I d known when I started using PowerShell John D. Cook http://www.johndcook.com First released 9 April 2009, last updated 1 February 2010 Introduction This booklet captures

More information

Module 4. Managing Groups. Contents: Lesson 1: Overview of Groups 4-3. Lesson 2: Administer Groups 4-24. Lab A: Administer Groups 4-36

Module 4. Managing Groups. Contents: Lesson 1: Overview of Groups 4-3. Lesson 2: Administer Groups 4-24. Lab A: Administer Groups 4-36 Managing Groups 4-1 Module 4 Managing Groups Contents: Lesson 1: Overview of Groups 4-3 Lesson 2: Administer Groups 4-24 Lab A: Administer Groups 4-36 Lesson 3: Best Practices for Group Management 4-41

More information

Terminal Server Citrix MetaFrame Installation Guide

Terminal Server Citrix MetaFrame Installation Guide Out n About! for Outlook Electronic In/Out Status Board Terminal Server Citrix MetaFrame Installation Guide Version 3.x Contents Introduction...1 Welcome... 1 Installation...2 Citrix Installation... 2

More information

Scheduling in SAS 9.3

Scheduling in SAS 9.3 Scheduling in SAS 9.3 SAS Documentation The correct bibliographic citation for this manual is as follows: SAS Institute Inc 2011. Scheduling in SAS 9.3. Cary, NC: SAS Institute Inc. Scheduling in SAS 9.3

More information

INUVIKA OVD VIRTUAL DESKTOP ENTERPRISE

INUVIKA OVD VIRTUAL DESKTOP ENTERPRISE INUVIKA OVD VIRTUAL DESKTOP ENTERPRISE MICROSOFT ACTIVE DIRECTORY INTEGRATION Agostinho Tavares Version 1.0 Published 06/05/2015 This document describes how Inuvika OVD 1.0 can be integrated with Microsoft

More information

Troubleshoot Using Event Log Mining

Troubleshoot Using Event Log Mining Troubleshoot Using Event Log Mining Jeff Hicks 1. 8 0 0. 8 1 3. 6 4 1 5 w w w. s c r i p t l o g i c. c o m / s m b I T 2011 ScriptLogic Corporation ALL RIGHTS RESERVED. ScriptLogic, the ScriptLogic logo

More information

Powershell Management for Defender

Powershell Management for Defender Powershell Management for Defender 2012 Quest Software, Inc. ALL RIGHTS RESERVED. This guide contains proprietary information protected by copyright. The software described in this guide is furnished under

More information

When the Active Directory Recycling Bin Isn t Enough

When the Active Directory Recycling Bin Isn t Enough When the Active Directory Recycling Bin Isn t Enough Don Jones 1. 8 0 0. 8 1 3. 6 4 1 5 w w w. s c r i p t l o g i c. c o m / s m b I T 2011 ScriptLogic Corporation ALL RIGHTS RESERVED. ScriptLogic, the

More information

WS_FTP Professional 12

WS_FTP Professional 12 WS_FTP Professional 12 Tools Guide Contents CHAPTER 1 Introduction Ways to Automate Regular File Transfers...5 Check Transfer Status and Logs...6 Building a List of Files for Transfer...6 Transfer Files

More information

CAPIX Job Scheduler User Guide

CAPIX Job Scheduler User Guide CAPIX Job Scheduler User Guide Version 1.1 December 2009 Table of Contents Table of Contents... 2 Introduction... 3 CJS Installation... 5 Writing CJS VBA Functions... 7 CJS.EXE Command Line Parameters...

More information

Scheduling in SAS 9.4 Second Edition

Scheduling in SAS 9.4 Second Edition Scheduling in SAS 9.4 Second Edition SAS Documentation The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2015. Scheduling in SAS 9.4, Second Edition. Cary, NC: SAS Institute

More information

Administration Guide. . All right reserved. For more information about Specops Gpupdate and other Specops products, visit www.specopssoft.

Administration Guide. . All right reserved. For more information about Specops Gpupdate and other Specops products, visit www.specopssoft. . All right reserved. For more information about Specops Gpupdate and other Specops products, visit www.specopssoft.com Copyright and Trademarks Specops Gpupdate is a trademark owned by Specops Software.

More information

Hands-On Lab. Lab 01: Getting Started with SharePoint 2010. Lab version: 1.0.0 Last updated: 2/23/2011

Hands-On Lab. Lab 01: Getting Started with SharePoint 2010. Lab version: 1.0.0 Last updated: 2/23/2011 Hands-On Lab Lab 01: Getting Started with SharePoint 2010 Lab version: 1.0.0 Last updated: 2/23/2011 CONTENTS OVERVIEW... 3 EXERCISE 1: CREATING A SITE COLLECTION IN SHAREPOINT CENTRAL ADMINISTRATION...

More information

Step-by-Step Guide to Bulk Import and Export to Active Directory

Step-by-Step Guide to Bulk Import and Export to Active Directory All Products Support Search microsoft.com Guide Windows 2000 Home Windows 2000 Worldwide Search This Site Go Advanced Search Windows 2000 > Technical Resources > Step-by-Step Guides Step-by-Step Guide

More information

Deploying and Managing Active Directory with Windows PowerShell

Deploying and Managing Active Directory with Windows PowerShell Deploying and Managing Active Directory with Windows PowerShell Tools for cloud-based and hybrid environments Charlie Russel PUBLISHED BY Microsoft Press A division of Microsoft Corporation One Microsoft

More information

Version 1.1. Release Date: May 10, 2015

Version 1.1. Release Date: May 10, 2015 Version 1.1 Release Date: May 10, 2015 Table of Contents Copyrights... 2 Add User Permission... 3 File Format... 6 Upload File For Use... 7 Approach 1: Through the Portal... 7 Approach 2: Through the Web

More information

Installation Manager Administrator s Guide

Installation Manager Administrator s Guide Installation Manager Administrator s Guide Citrix XenApp 5.0 for Microsoft Windows Server 2008 Copyright and Trademark Notice Use of the product documented in this guide is subject to your prior acceptance

More information

Special Edition for FastTrack Software

Special Edition for FastTrack Software 08/14 The magazine for professional system and networkadministration Special Edition for FastTrack Software Tested: FastTrack Automation Studio www.it-administrator.com TESTS I FastTrack Automation Studio

More information

Facebook Twitter YouTube Google Plus Website Email

Facebook Twitter YouTube Google Plus Website Email PHP MySQL COURSE WITH OOP COURSE COVERS: PHP MySQL OBJECT ORIENTED PROGRAMMING WITH PHP SYLLABUS PHP 1. Writing PHP scripts- Writing PHP scripts, learn about PHP code structure, how to write and execute

More information

# Demo: jak to działa?

# Demo: jak to działa? # Demo: jak to działa? #region Obiekt w rurce ps & { $_.GetType(.FullName #region Begin -> Process -> End $Przed = $false $Po = $false 1,2,3 & { Begin { Write-Warning "Begin 1" Write-Warning "Tu nic nie

More information

VMware vsphere PowerCLI User's Guide

VMware vsphere PowerCLI User's Guide vsphere PowerCLI 5.0.1 This document supports the version of each product listed and supports all subsequent versions until the document is replaced by a new edition. To check for more recent editions

More information

Table of Contents Introduction... 2 Azure ADSync Requirements/Prerequisites:... 2 Software Requirements... 2 Hardware Requirements...

Table of Contents Introduction... 2 Azure ADSync Requirements/Prerequisites:... 2 Software Requirements... 2 Hardware Requirements... Table of Contents Introduction... 2 Azure ADSync Requirements/Prerequisites:... 2 Software Requirements... 2 Hardware Requirements... 2 Service Accounts for Azure AD Sync Tool... 3 On Premises Service

More information

Usage: admodcmd [-dn BaseDN] [-p pagesize] [-s] [-server servername] [-f LDAPFilter] [modification]

Usage: admodcmd [-dn BaseDN] [-p pagesize] [-s] [-server servername] [-f LDAPFilter] [modification] Active Directory Bulk Modify Tool Command Line Version 2.1 ADModCmd runs an LDAP query against the specified AD container. The modifications are then performed against the results of the query. Usage:

More information

Documentation NITCtxPatcher

Documentation NITCtxPatcher Documentation NITCtxPatcher NITCtxPatcher is a Patchmanager for Citrix XenDesktop 7.6. Search for patches on the Citrix website is a lot of work. 10 sites with 10 patches on every site only for XenDesktop

More information

Using DSC with Visual Studio Release Management

Using DSC with Visual Studio Release Management Using DSC with Visual Studio Release Management With Microsoft Release Management 2013 Update 3 CTP 1 (RM), you can now use Windows PowerShell or Windows PowerShell Desired State Configuration (DSC) feature

More information

Windows PowerShell Cookbook

Windows PowerShell Cookbook Windows PowerShell Cookbook Lee Holmes O'REILLY' Beijing Cambridge Farnham Koln Paris Sebastopol Taipei Tokyo Table of Contents Foreword Preface xvii xxi Part I. Tour A Guided Tour of Windows PowerShell

More information

Exploring PowerShell. Using Windows PowerShell

Exploring PowerShell. Using Windows PowerShell 733 Exploring PowerShell Before using PowerShell, you might want to become more familiar with its cmdlets and features. To assist administrators with exploring PowerShell, the PowerShell team decided to

More information

1 JiJi AD Bulk Manager User Manual. JiJi AD Bulk Manager - User Manual

1 JiJi AD Bulk Manager User Manual. JiJi AD Bulk Manager - User Manual 1 JiJi AD Bulk Manager User Manual JiJi AD Bulk Manager - User Manual 2 JiJi AD Bulk Manager User Manual Table of Contents 1. Introduction...4 2. Benefits...4 2.1 Export Import Data...4 2.2 Random Generator

More information

File Server Migration

File Server Migration 2 June 2014, HAPPIEST MINDS TECHNOLOGIES File Server Migration Author Suresh Elumalai SHARING. MINDFUL. INTEGRITY. LEARNING. EXCELLENCE. SOCIAL RESPONSIBILITY. Copyright Information This document is an

More information

AD Ou structure generated by Adsync process

AD Ou structure generated by Adsync process AD Ou structure generated by Adsync process WIN2K AllGroups Security Groups Alphabetical Groups Students% first char % Grouping Groups Courses groups %course_code %-%course_number%-% section_number%-%

More information

Getting Started with Command Prompts

Getting Started with Command Prompts Getting Started with Command Prompts Updated March, 2013 Some courses such as TeenCoder : Java Programming will ask the student to perform tasks from a command prompt (Windows) or Terminal window (Mac

More information

Good Morning Wireless! SSID: MSFTOPEN No Username or Password Required

Good Morning Wireless! SSID: MSFTOPEN No Username or Password Required Good Morning Wireless! SSID: MSFTOPEN No Username or Password Required 2 Today s Agenda - 9:00-10:30 - Windows Azure Infrastructure Services - 10:30-10:45 - Break - 10:45-12:00 - Windows Azure Infrastructure

More information

The following gives an overview of LDAP from a user's perspective.

The following gives an overview of LDAP from a user's perspective. LDAP stands for Lightweight Directory Access Protocol, which is a client-server protocol for accessing a directory service. LDAP is a directory service protocol that runs over TCP/IP. The nitty-gritty

More information

SPHOL300 Synchronizing Profile Pictures from On-Premises AD to SharePoint Online

SPHOL300 Synchronizing Profile Pictures from On-Premises AD to SharePoint Online SPHOL300 Synchronizing Profile Pictures from On-Premises AD to SharePoint Online Contents Overview... 3 Introduction... 3 The Contoso Ltd. Scenario... 4 Exercise 1: Member Server Sign up for Office 365

More information

Z-Hire V4 Administration Guide

Z-Hire V4 Administration Guide Z-Hire V4 Administration Guide The main purpose of Z-hire is to allow for fast account deployment. Usually when an administrator provisions a new user account, multiple consoles are used to get the job

More information

Active Directory Commands ( www.ostadbook.com )

Active Directory Commands ( www.ostadbook.com ) CSVDE Script Example: Active Directory Commands ( www.ostadbook.com ) 1 Dn, samaccountname, userprincipalname, department, useraccountcontrol, objectclass "CN=Amir Nosrati,OU=IT,DC=Ostadbook,DC=com",Amir-n,Amir-n@Ostadbook.com,MCSE,512,user

More information

Deploying Dedicated Virtual Desktops in Hosted Environments

Deploying Dedicated Virtual Desktops in Hosted Environments Deploying Dedicated Virtual Desktops in Hosted Environments Technical Preview Release Citrix XenDesktop 5.6 for Windows Server 2008 R2 Deploying Dedicated Desktops in Hosted Environments Hosted Server

More information

Click Studios. Passwordstate. Password Discovery, Reset and Validation. Requirements

Click Studios. Passwordstate. Password Discovery, Reset and Validation. Requirements Passwordstate Password Discovery, Reset and Validation Requirements This document and the information controlled therein is the property of Click Studios. It must not be reproduced in whole/part, or otherwise

More information

App-V Deploy and Publish

App-V Deploy and Publish App-V Deploy and Publish Tools from TMurgent Technologies Updated Aug 5, 2010 Version 1.8 Introduction: The deployment of Virtual Applications in the simplest way possible, without the need for complicated

More information

Deploying Dedicated Virtual Desktops in Hosted Environments

Deploying Dedicated Virtual Desktops in Hosted Environments Deploying Dedicated Virtual Desktops in Hosted Environments Citrix XenDesktop 5.6 for Windows Server 2008 R2 Deploying Dedicated Desktops in Hosted Environments Hosted Server VDI enables CSPs to provide

More information

Click Studios. Passwordstate. Installation Instructions

Click Studios. Passwordstate. Installation Instructions Passwordstate Installation Instructions This document and the information controlled therein is the property of Click Studios. It must not be reproduced in whole/part, or otherwise disclosed, without prior

More information

Buffalo Technology: Migrating your data to Windows Storage Server 2012 R2

Buffalo Technology: Migrating your data to Windows Storage Server 2012 R2 Buffalo Technology: Migrating your data to Windows Storage Server 2012 R2 1 Buffalo Technology: Migrating your data to Windows Storage Server 2012 R2 Contents Chapter 1 Data migration method:... 3 Chapter

More information

PoSHServer Documentation AUTHOR: YUSUF OZTURK (MVP) http://www.poshserver.net

PoSHServer Documentation AUTHOR: YUSUF OZTURK (MVP) http://www.poshserver.net 2013 PoSHServer Documentation AUTHOR: YUSUF OZTURK (MVP) http://www.poshserver.net Contents Introduction... 2 Installation... 2 How to start PoSHServer?... 5 How to run PoSHServer jobs with different user

More information

Enterprise Self Service Quick start Guide

Enterprise Self Service Quick start Guide Enterprise Self Service Quick start Guide Software version 4.0.0.0 December 2013 General Information: info@cionsystems.com Online Support: support@cionsystems.com 1 2013 CionSystems Inc. ALL RIGHTS RESERVED.

More information

Command Line Interface Specification Linux Mac

Command Line Interface Specification Linux Mac Command Line Interface Specification Linux Mac Online Backup Client version 4.1.x and higher 1. Introduction These modifications make it possible to access the BackupAgent Client software from the command

More information

Active Directory LDAP Quota and Admin account authentication and management

Active Directory LDAP Quota and Admin account authentication and management Active Directory LDAP Quota and Admin account authentication and management Version 4.1 Updated July 2014 GoPrint Systems 2014 GoPrint Systems, Inc, All rights reserved. One Annabel Lane, Suite 105 San

More information

Z-Hire V3 Administration Guide

Z-Hire V3 Administration Guide Z-Hire V3 Administration Guide The main purpose of Z-hire is to allow for fast account deployment. Usually when an administrator provisions a new user account, multiple consoles are used to get the job

More information

Active Directory in Windows Server 2008 R2: What s New?

Active Directory in Windows Server 2008 R2: What s New? Active Directory in Windows Server 2008 R2: What s New? Siddharth Bhai Program Manager Microsoft Corporation Presented at Seattle Windows Networking User Group May 6, 2009 Tour the Active Directory features

More information

SFXCL Automation Tips

SFXCL Automation Tips SFXCL Automation Tips 1. Introduction 2. Use Correct Command-Line Syntax 2.1. URL Specifications 2.2. Session Specifications 2.3. Local Path Specifications 2.4. File Transfer "Direction" (Upload vs. Download)

More information

HELP DOCUMENTATION UMRA REFERENCE GUIDE

HELP DOCUMENTATION UMRA REFERENCE GUIDE HELP DOCUMENTATION UMRA REFERENCE GUIDE Copyright 2013, Tools4Ever B.V. All rights reserved. No part of the contents of this user guide may be reproduced or transmitted in any form or by any means without

More information

Auditing File and Folder Access

Auditing File and Folder Access The Essentials Series: Fundamentals of Effective File Server Security Auditing File and Folder Access sponsored by by Greg Shields Au diting File and Folder Access... 1 Auditing Considerations... 1 Co

More information

Windows Server 2008 R2: Server Management and PowerShell V2

Windows Server 2008 R2: Server Management and PowerShell V2 Windows Server 2008 R2: Server Management and PowerShell V2 Table of Contents Windows Server 2008 R2: Server Management and PowerShell V2... 1 Exercise 1 Remote Management Using Server Manager... 2 Exercise

More information

A brief Guide to checking your Group Policy Health

A brief Guide to checking your Group Policy Health A brief Guide to checking your Group Policy Health Group Policies are an essential part of every Windows Client infrastructure and it is therefore critical to regularly spend some effort to ensure that

More information

Windows 7 Portable Command Guide: MOTS 70-680, and MCITP 70-685

Windows 7 Portable Command Guide: MOTS 70-680, and MCITP 70-685 Windows 7 Portable Command Guide: MOTS 70-680, and MCITP 70-685 and 70-686 Darril Gibson 800 East 96th Street Indianapolis, Indiana 46240 USA Table of Contents INTRODUCTION 1 PART I: Command Prompt Basics

More information