Showing tag results for scripting techniques

Jun 28, 2015
Post comments count0
Post likes count0

PowerTip: Select Two Random Numbers from 20 Possibilities

Doctor Scripto

Summary: Use Windows PowerShell to select two random numbers from twenty possible numbers.  How can I use Windows PowerShell to select two of twenty attendees at user group to receive prizes?  Create a range of input numbers with the Get-Random cmdlet, then use the –Count parameter to retrieve     ...

Scripting Guy!Windows PowerShellscripting techniques
Jun 19, 2015
Post comments count0
Post likes count0

PowerShell Code Breaks: Break Line, Not Code

Doctor Scripto

Summary: Ed Wilson, Microsoft Scripting Guy, talks about line continuation without breaking Windows PowerShell code.  Hey, Scripting Guy! I have a problem sometimes when I copy code from the Hey, Scripting Guy! Blog. It does not seem to work. I try to take out spaces, but it still doesn’t work. I am at my wits end because the code should...

Scripting Guy!Windows PowerShellscripting techniques
Jun 15, 2015
Post comments count0
Post likes count0

PowerShell Custom Type Module

Doctor Scripto

Summary: Create custom types in Windows PowerShell with a free module by Jon Newman. Microsoft Scripting Guy, Ed Wilson, is here. Microsoft Scripting Guy, Ed Wilson, is here. Today we have a guest blogger who was with us in 2011, when he wrote Automate Facebook with a Free PowerShell Module.  My name is Jon Newman, and I’m an old hand at...

Scripting Guy!Windows PowerShellscripting techniques
Jun 10, 2015
Post comments count0
Post likes count0

Help: It Says Run a PowerShell Script

Doctor Scripto

Summary: Ed Wilson, Microsoft Scripting Guy, talks about running a Windows PowerShell script. Microsoft Scripting Guy, Ed Wilson, is here. Ninety two degrees Fahrenheit and sunny—that is what the weather is supposed to be this Saturday in Jacksonville when Teresa and I will be speaking at the Jacksonville IT Pro Camp. I can’t think of a...

Scripting Guy!Windows PowerShellscripting techniques
Jun 6, 2015
Post comments count0
Post likes count0

Weekend Scripter: Find Coolest PowerShell Parameter Names

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about finding the coolest Windows PowerShell parameter names. Microsoft Scripting Guy, Ed Wilson, is here. This morning, my friend and colleague, Dr. Thomas Shinder, posted on Facebook that his favorite Windows PowerShell parameter name is –NoClobber. Interestingly enough, when I was writing ...

Scripting Guy!Windows PowerShellscripting techniques