Skip to content

Restart-Powershell

SYNOPSIS

Restart the current PowerShell session.

SYNTAX

Restart-Powershell

DESCRIPTION

This function restarts the current PowerShell session by launching a new instance of PowerShell and exiting the current session.

EXAMPLES

EXAMPLE 1

Restart-Powershell

Restarts the current PowerShell session.

EXAMPLE 2

RPS

Uses the alias `RPS` to restart the current PowerShell session.

PARAMETERS

INPUTS

OUTPUTS

NOTES