Powershell : How to Retrieve List of Installed Roles on Servers in your Infrastructure

For documentation purpose or just to understand your environment better below script could be useful in order to fetch list of roles installed on a list of servers. First prepare a list of servers in a notepad file and save it. Then modify the parameters on the below script with your details : $domain= ‘LABDOMAIN\Username’ $pass=ConvertTo-SecureString -String… Read More Powershell : How to Retrieve List of Installed Roles on Servers in your Infrastructure

Powershell : How to get Cricket Live Scores to Your Powershell Console

Well, Everyone checks Scores online, what about if we can get the scores or any kind of data that exist on a webpage in HTML format to our Powershell Console. Yes, It’s Possible – We can retrieve data from web pages to our shell and I’ll guide you how. First choose a website which displays and updates… Read More Powershell : How to get Cricket Live Scores to Your Powershell Console

8 Ways To Know The Uptime of a Windows Machine

Understanding when your machine was rebooted may assist you in troubleshooting better in case of any Abrupt shutdown or System Crash and in many other scenarios. You can achieve this with the following ways : 1. Use the Uptime utility in cmd prompt. Download it from this Link , extract and copy the uptime.exe to C:\Windows\System32 folder CMD > type ‘uptime’… Read More 8 Ways To Know The Uptime of a Windows Machine

Powershell : PSDrives

PSDrive stands for PowerShell Drives through which you can access the data provided by the PowerShell providers. You can Learn more about PowerShell Providers on https://geekeefy.wordpress.com/2015/04/06/powershell-providers/ You will come through following types of PowerShell drives: Windows logical drives on the computer, including drives mapped to network shares, or the File System Drives Drives exposed by Windows… Read More Powershell : PSDrives