Showing tag results for getting started

Jun 19, 2013
Post comments count0
Post likes count0

Don't Translate File and Folder VBScript Scripts into PowerShell

Doctor Scripto
Doctor Scripto

Summary: Simplify your code and do not translate an old file and folder VBScript script into Windows PowerShell.  Hey, Scripting Guy! I know there are not really established patterns and practices for writing VBScript code, or even for writing Windows PowerShell script. But there is code that I like to use—over and over again. I am sendi...

Scripting Guy!Windows PowerShellscripting techniques
Jun 13, 2013
Post comments count0
Post likes count0

Translate Active Directory VBScript into PowerShell—Not Me!

Doctor Scripto
Doctor Scripto

Summary: Don’t translate old VBScript scripts that search Active Directory—instead use the Active Directory cmdlets from the RSAT.  Hey, Scripting Guy! I have this script that I use for auditing Active Directory. Basically, it queries to see what new user accounts have been created in the last month. I started translating it to Win...

Scripting Guy!Windows PowerShellscripting techniques
Jun 12, 2013
Post comments count0
Post likes count0

Translate VBScript into PowerShell—Not!

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about translating VBScript script into Windows PowerShell, and he says it is not a very good idea.  Hey, Scripting Guy! I love VBScript. I know, I know. It is not fashionable these days to say that, but it is a fact. I love using VBScript. It is powerful, and over the last ten years or so, I h...

Scripting Guy!Windows PowerShellscripting techniques
May 22, 2013
Post comments count2
Post likes count0

Variable Substitution in a PowerShell Script Block

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about performing variable substitution inside a Windows PowerShell script block.  Hey, Scripting Guy!  I am trying to create a command. The command contains variables that I would like to assign prior to creating the command. However, when I get to the script block portion of my code, it ...

Scripting Guy!Windows PowerShellscripting techniques
Apr 5, 2013
Post comments count1
Post likes count0

How to Remove a Loaded Module

Doctor Scripto
Doctor Scripto

Summary: Bruce Payette talks about how to remove a module that has been loaded into your Windows PowerShell environment. Microsoft Scripting Guy, Ed Wilson, is here. This week we will not have our usual PowerTip. Instead we have excerpts from seven books from Manning Press. In addition, each blog will have a special code for 50% off the book being ...

Scripting Guy!Windows PowerShellscripting techniques