• Skip to primary navigation
  • Skip to main content
  • Skip to footer

Stephanos Constantinou Blog

PowerShell Scripting

  • Home
  • Blogs
    • PowerShell Tutorials
    • PowerShell Scripts
    • PowerShell Modules
      • Modules Cmdlets
    • Software Reviews
  • About
  • Contact
You are here: Home / Archives for Get-Date

Get Log File Changes

07/09/2018 by Stephanos 1 Comment

Get Log File Changes - Featured

Get Log File Changes Scenario Get Log File Changes There are sometimes that we would like to know if there is a new content in a specific log file and we need to know the new content. The idea came out from Fasyx in a Reddit post. Below is the request of Fasyx exactly as provided in ...

Read More

PowerShell Jobs

06/09/2018 by Stephanos 2 Comments

PowerShell Jobs - Example 8

PowerShell Jobs In this tutorial we will see about PowerShell Jobs. Jobs in PowerShell are running in the background. When you start a background job in PowerShell, it will return immediately to the console. Background jobs run commands and expressions asynchronously. You are able to run cmdlets, ...

Read More

Get Scheduled Tasks Status Report

03/09/2018 by Stephanos 1 Comment

Get Scheduled Tasks Status Report - Featured

Get Scheduled Tasks Status Report Scenario Get Scheduled Tasks Status Report Scheduled tasks help us to run programs, restart of services or run scripts on specific times or intervals. When we have a lot of tasks to run we would like also to know if our tasks are running on the specific ...

Read More

Get Group Membership Changes

13/08/2018 by Stephanos 6 Comments

Get Group Membership Changes - Featured

Get Group Membership Changes Scenario: Get Group Membership Changes There are sometimes that we would like to know when a member has been removed or added in groups in Active Directory. The script that we will discuss below, is checking groups to find out if any member has been added or removed ...

Read More

PowerShell Automatic Variables

08/08/2018 by Stephanos Leave a Comment

PowerShell Automatic Variables - Example 2

PowerShell Automatic Variables In this tutorial we will see about PowerShell Automatic Variables. As Microsoft describes, these variables store state information for PowerShell. They are created automatically and maintained by PowerShell. Ideally, PowerShell Automatic Variables are considered to be ...

Read More

PowerShell Type Operators

03/08/2018 by Stephanos Leave a Comment

PowerShell Type Operators - Example 2

PowerShell Type Operators In this tutorial we will see about PowerShell Type Operators. Thee operators are able to check if a value is a specific type of data or try to change the data to the specific type. There are only three PowerShell Type Operators. Below is the list of the operators: ...

Read More

PowerShell Try Catch Finally

01/08/2018 by Stephanos 6 Comments

PowerShell Try Catch Finally - Example 3

PowerShell Try Catch Finally In this tutorial we will see about PowerShell Try Catch Finally. We will see what it does and some example on how we are able to use it. It is used to handle and respond to terminating errors. When a terminating error occurs, Windows PowerShell will stop running a ...

Read More

Notify Users for Password Expiration

26/07/2018 by Stephanos 6 Comments

Notify Users for Password Expiration - Code

Notify Users for Password Expiration Scenario: Notify Users for Password Expiration The script that we will discuss below is about notifying domain users via email when the password will expire. Based on the policy of each company, you set the rules in Group Policy for the password to expire on ...

Read More

PowerShell Arithmetic Operators

18/05/2018 by Stephanos 1 Comment

PowerShell Arithmetic Operators

PowerShell Arithmetic Operators In this tutorial we will see about PowerShell Arithmetic Operators and how PowerShell is dealing with them. Some of the arithmetic operators are working also on string values. Below we will go through those operators with examples to understand their use. Below ...

Read More

PowerShell Date Format

08/05/2018 by Stephanos 5 Comments

PowerShell Date Format - Date-DisplayHint

PowerShell Date Format In this tutorial we will go through PowerShell Date Format. Date and time are used many times throughout our scripts. You can get the current date of a system by using Get-Date  cmdlet. The default format is defined by the system locale that you are running the command ...

Read More

  • Go to page 1
  • Go to page 2
  • Go to page 3
  • Go to Next Page »

Footer

Recent Posts

  • ICS Cube Product Review 26/04/2019
  • PowerShell Module SysInfo v1.2.0 15/03/2019
  • PowerShell Module SysInfo v1.1.2 13/11/2018
  • PowerShell Module SysInfo 24/10/2018
  • Get-VoltageProbe 24/10/2018
  • Get-VideoController 24/10/2018
  • Get-USBController 24/10/2018
  • Get-TrackPoint 24/10/2018
  • Get-TrackBall 24/10/2018
  • Get-TouchScreen 24/10/2018
Planet PowerShell

Categories

  • Modules Cmdlets (57)
  • PowerShell Modules (5)
  • PowerShell Scripts (38)
  • PowerShell Tutorials (35)
  • Software Reviews (2)

Archives

  • April 2019 (1)
  • March 2019 (1)
  • November 2018 (1)
  • October 2018 (56)
  • September 2018 (13)
  • August 2018 (9)
  • July 2018 (6)
  • June 2018 (8)
  • May 2018 (7)
  • April 2018 (9)
  • March 2018 (4)
  • February 2018 (6)
  • January 2018 (12)
  • December 2017 (4)
Top 10 PowerShell 2018

Blogroll

  • Planet PowerShell
  • Reddit – PowerShell
  • PowerShell Magazine
  • PowerShell.org
  • PowerShell Team Blog
  • Hey, Scripting Guy! Blog
  • Mike F Robbins
  • PowerShell Explained with Kevin Marquette
  • Mike Kanakos – Network Admin
  • The Lonely Administrator
  • AskME4Tech
PowerShell Blogs Sysadmin Blogs Banners for Top 20 Programming Blogs

© 2023 · Stephanos Constantinou Blog

  • Home
  • Blogs
  • About
  • Contact