Get-Command in PowerShell
Get-Command is a cmdlet in PowerShell that allows us to retrieve a list of commands that are available to use in the current session.
Get-Command is a cmdlet in PowerShell that allows us to retrieve a list of commands that are available to use in the current session.
The PowerShell script included in this blog post checks if a specific folder exists and then creates it if it does not already exist.
The Get-TimeZone command in PowerShell returns the current Time Zone of a computer, or it can be used to list all available Time Zones which will be useful if you’re planning on making changes to timezones.
Get-Service is a command in PowerShell that returns a list of Services on a Computer. This post is a quick guide on running this command in a PowerShell terminal, using a wildcard ( * ) to show me my services with “SQL”
This post should help guide you through the process of installing and configuring AWS CLI (version 1) on Ubuntu (20.04). The following areas are covered in this demo:–
This post is a how-to for installing & configuring AWS CLI (Version 2) on Windows. In this guide, we’re going to download the AWS Command Line Interface installation media and run through the simple installation.
This guide shows how to install Ubuntu 20.04 on WSL (Windows Subsystem for Linux). Before installing a WSL Linux distribution you should have already enabled WSL on your computer.
If you want to remove a Linux distro from your Windows Subsystem for Linux (WSL) installation, you can use the wsl --unregister <distro-name>
To set your default Windows Subsystem for Linux (WSL) distribution, get the Linux distro name by running wsl -l -v, then run wsl -s to set the new default WSL distro.
In this post, we will explore how to use PowerShell to view event logs. We will use the Get-EventLog command to accomplish this.
When you are working within a PowerShell terminal session, you may want to open Windows Explorer for the current directory you are set as in your terminal.
A handy post to note down the JDBC client driver download. I’m frequently in need of this myself. You can download the JDBC driver from the AWS Docs and then gain your cluster endpoint address from the main Redshift dashboard window Instead of doing the above, you navigate to the Configure tab in the Redshift console and download the JDBC driver &
The New-Item cmdlet will create new files or folders in PowerShell. Amend the -ItemType parameter to File or Directory and include a Name for the file or folder.
AWS CLI – List IAM Users The aws iam list-users is a handy command for managing your AWS IAM users. It lets you get a list of all the users in your AWS account, along with some basic info about each one.
Tracking database file sizes and free space within data and log files is an important part of monitoring SQL Server. This information, along with other metrics such as growth events, can help you to better predict and plan for future disk space provisioning needs.