Showing archive results for 2014

Oct 12, 2014
Post comments count0
Post likes count0

PowerTip: Find Name of PowerShell Host

Doctor Scripto

Summary: Learn to find the name of the Windows PowerShell host.  How can I determine if I am running a Windows PowerShell script in the Windows PowerShell console?  Use the Get-Host cmdlet. Here is how to check:   if((Get-Host).name -ne "consolehost") {"Take appropriate action here"}

Scripting Guy!Windows PowerShellPowerTip
Oct 12, 2014
Post comments count0
Post likes count0

Weekend Scripter: Glimpse into the PowerShell Future

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about the future of Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. I don’t know about you, but I “got into IT” because I am easily bored. I don’t mean that I have a short attention span, because I don’t. I can be laser focused when I am working on a p...

Scripting Guy!Windows PowerShellWeekend Scripter
Oct 11, 2014
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Display Number Grouping and Control Decimal Places

Doctor Scripto

Summary: Use Windows PowerShell to display number grouping and control the number of displayed decimal places.  How can I use Windows PowerShell to group digits and control the number of decimal places in a large number?  Use the Numeric Format Specifier, and specify the number of required decimal places. Here are a few examples: PS ...

Scripting Guy!Windows PowerShellPowerTip
Oct 11, 2014
Post comments count0
Post likes count0

Weekend Scripter: Use PowerShell to Calculate and Display Percentages

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to calculate and display percentages. Microsoft Scripting Guy, Ed Wilson, is here. This morning, I am sipping a cup of red berry tea. It is tangy and refreshing. I will admit that I cheated. I used our machine. Boom! 90 seconds later it was done. I guess I could actua...

Scripting Guy!Windows PowerShellscripting techniques
Oct 10, 2014
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Get SSL Certificate

Doctor Scripto

Summary: Learn how to use Windows PowerShell to get an SSL certificate from an internal certification authority.  How can I use Windows PowerShell to get an SSL certificate from an internal certification authority (CA)            and import it to my web server's local certificate store?  Use the Get...

Scripting Guy!Windows PowerShellPowerTip