Category Archives: PowerShell

About PowerShell.

Installing PowerShell Core in Server Core

In the following Virtual machine scenario, I got one Server Core with Active Directory (Build 16299) and Windows 10 (Build 16299) joined to my new domain. Both Build 16299. On my Windows client I create a shared folder named “SharedFiles”, … Continue reading

Posted in PowerShell | Comments Off on Installing PowerShell Core in Server Core

PSCore 6.0.0 – Upgrading/Uninstalling OpenSSH in Windows

This is all done with Chocolatey Package Manager for Windows. The following commands are important to know: 1. Information about the package: choco info OpenSSH 2. Upgrade installed package: choco upgrade OpenSSH 3. Remove installed package: choco uninstall OpenSSH 4. … Continue reading

Posted in Bash, Linux Bash, PowerShell, PowerShell Core, Ubuntu, Windows 10, Windows 2012, Windows Server 2016 | Comments Off on PSCore 6.0.0 – Upgrading/Uninstalling OpenSSH in Windows

Welcome PowerShell Core 6.0.0 GA

Yes! Today the Microsoft PowerShell Team with the help of the community has made PowerShell Core “Generally Available” and “Supported“. Feel free to read their blog post at: https://blogs.msdn.microsoft.com/powershell/2018/01/10/powershell-core-6-0-generally-available-ga-and-supported/ Get It Now Of course, there are little housekeeping to do, … Continue reading

Posted in Bash, PowerShell, PowerShell Core, Ubuntu, Windows 10, Windows 2012 | Comments Off on Welcome PowerShell Core 6.0.0 GA

Simple way to get AzureRM VM Status

This is one of the beauty of PowerShell as you can always find the way simplify your code. In the case of getting the AzureRM virtual machine status using the Get-AzureRMVM cmdlet, everyone has been a little misleaded. It seems … Continue reading

Posted in PowerShell | Comments Off on Simple way to get AzureRM VM Status

PowerShell Core–Updated setup OpenSSH in Windows and Linux

It’s been over a year since my last post on “PowerShell Open Source – Windows PSRemoting to Linux with OpenSSH”. A lot has change, so here’s the updated version. Linux OpenSSH installation In Linux (Ubuntu), open a terminal (Bash) session. … Continue reading

Posted in Azure, Bash, Linux Bash, PowerShell, Ubuntu, Windows 10 | Comments Off on PowerShell Core–Updated setup OpenSSH in Windows and Linux

Awareness on Installing PowerShell Modules

As you are all aware of the upcoming PowerShell Core, and the impact it will bring in our cross-platform infrastructure. For now, both Windows Powershell and Powershell Core will co-exist side by side. Also, our Powershell skill sets will still … Continue reading

Posted in Azure, PowerShell, Windows 10 | Comments Off on Awareness on Installing PowerShell Modules

Working with Azure Resource Manager Cross-platform with PowerShell Core

This is a brief introduction to connecting to your Azure Cloud subscription using Azure Resource Manager module (AzureRM) in both Windows PowerShell and PowerShell Core. You could install both AzureRM and AzureRM.Netcore modules in the same Windows System. Or, when … Continue reading

Posted in PowerShell | Comments Off on Working with Azure Resource Manager Cross-platform with PowerShell Core

PowerShell Core 6 Release Candidate is available now

Yes! The Microsoft PowerShell Team has release the PowerShell Core 6 RC to the public this evening 11/17/2017 available for download.  And, now the road to the GA (General Availability) started. Read all about it on Microsoft PowerShell Team Blog … Continue reading

Posted in PowerShell | Comments Off on PowerShell Core 6 Release Candidate is available now

Streamlining SQL Server Management Objects (SMO) in PowerShell Core

I’ve been recently posting about getting SQL Server Management Objects (SMO) Framework to work in PowerShell Core in both Windows and Linux Systems. So, here’s the revised blog post as the method has kept improving. This way you can start … Continue reading

Posted in Bash, Linux Bash, PowerShell, SQL Server, Ubuntu, Windows 10 | Comments Off on Streamlining SQL Server Management Objects (SMO) in PowerShell Core

PowerShell Core – Collecting Information Cross-platform

Now, PowerShell Core has a new look with the new release version Beta.9. At the same time, the executable name has change from “powershell.exe” to “pwsh.exe” (or “pwsh in Linux). The following example was shown by Microsoft Joey Aiello during … Continue reading

Posted in PowerShell | Comments Off on PowerShell Core – Collecting Information Cross-platform