Showing results for October 2015 - Page 2 of 13 - Scripting Blog [archived]

Oct 29, 2015
2
0
0

PowerTip: Use PowerShell to Find Versions of SQL Server

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to find versions of SQL Server.  How can I use Windows PowerShell to see all the versions of SQL Server I have installed?  Use the provider and a list of instances to look them up as if they were files in a directory: $instances = @(‘KIRK’,’SPOCK’,’PICARD’,’RIKER...

Oct 29, 2015
5
0
0

Getting Information from the SQL Server Provider with PowerShell

Doctor Scripto
Doctor Scripto

Summary: Guest blogger, Mike Fal, talks about using the SQL Server provider with Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. We have a new guest blogger today. Please welcome Mike Fal. Mike Fal. Mike has over 15 years of experience as a database administrator. He has worked for many different industries, including healthcare, s...

Scripting Guy!Windows PowerShellguest blogger
Oct 28, 2015
8
0
0

PowerTip: Use PowerShell to List all Azure Subscription Websites

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to list all of your Azure subscription websites.  How can I use Windows PowerShell to list all the websites in my Azure subscription that are using the new preview module?  After you have authenticated (Add-AzureRmAccount), run: Get-AzureRmResource -ResourceType Microsoft.Web/sites

Scripting Guy!Windows PowerShellPowerTip
Oct 28, 2015
7
0
0

Use PowerShell to Scale Azure Websites

Doctor Scripto
Doctor Scripto

Summary: Anders Wahlqvist talks about using Windows PowerShell to scale Azure websites. Microsoft Scripting Guy, Ed Wilson, is here. Today we have a guest post from Anders Wahlqvist. Anders is really active on Twitter—as a matter of fact, that is where we met. I saw references to his blog, read it, and found that he was a good writer and had ...

Scripting Guy!Windows PowerShellguest blogger
Oct 27, 2015
171
0
0

PowerTip: Encode String and Execute with PowerShell

Doctor Scripto
Doctor Scripto

Summary: Learn how to encode a string into base64 and execute it with Windows PowerShell.  How can I encode a string into base64 and then run it via Windows PowerShell?  Use these commands: $string = {(Get-WindowsFeature).Where{$PSItem.Installed}}.ToString() $encodedcommand = [Convert]::ToBase64String([Text.Encoding]::Unicode.GetBytes($st...

Scripting Guy!Windows PowerShellPowerTip