PowerShell and Linux
Now that PowerShell is open source and available on Linux, I went ahead and adventure to see what cmdlets are available on Linux. Let me show step by step on … Continue reading PowerShell and Linux
IF YOU ARE NOT DISRUPTING YOURSELF, SOMEBODY ELSE WILL.
Now that PowerShell is open source and available on Linux, I went ahead and adventure to see what cmdlets are available on Linux. Let me show step by step on … Continue reading PowerShell and Linux
During the last two years there have been a lot of discussions about DevOps and winops (DevOps on the Windows stack). Personally, I think it is a little challenging to … Continue reading CI using AWS, Jenkins, Git and PowerShell
There have been some debate regarding when to use .net namespaces within PowerShell. Some people will call .net classes all the time just because they are used to write in … Continue reading When to use .NET namespaces within PowerShell
Sometimes we need monitor, CPU, Memory, Network utilization of a server or servers for a certain period of time. Maybe you want to know what happens when users hit your … Continue reading PowerShell and Performance Counters
WMF 5 offers this cool cmdlet called Get-Clipboard. This cmdlet let you paste the content of the clipboard into a PowerShell variable and use it in your script. Lets do a simple … Continue reading Get-Clipboard PowerShell V5
Sometimes we have list of server names, IPs, name etc. Some people are used to split the characters into arrays and then put it back together to find some specific … Continue reading Simple Regex
If you have used Get-Service in PowerShell V4, V3, V2 to find the status of a service or to restart a service you may have noticed that the get-service cmdlet … Continue reading How to find service start type in PowerShell V4 and V5
There are a lot of components that affect the file transfer speeds over a network and it is just not just only the network speed. The bottleneck is usually going … Continue reading Script to find file transfer time
I think the writing on the wall is clear DSC will kill GPOs for servers. If you really think about what a GPO is, it is a big registry hack … Continue reading Will PowerShell DSC kill GPOs ?
ScriptAnalyzer is a PowerShell tool that analyzes your code and make suggestions on how to improve your code. This is great a tool for engineers to use because they can … Continue reading How to use ScriptAnalyzer
When you want to find out the Dell service tag and warranty information of a server usually people log into a server that has the Dell OpenManage installed, get the … Continue reading Find Dell Service Tag and Warranty info
Make sure to create a folder that is version control in your computer. Now use new-fixture cmdlet this cmdlet will create the .ps1 script and then it will create Tests.ps1 … Continue reading Using Pester to test NIC settings