8 lines
342 B
PowerShell
8 lines
342 B
PowerShell
|
$ErrorActionPreference = 'Stop';
|
||
|
|
||
|
$packageName= 'Alkami.PowerShell.SystemProfile'
|
||
|
$stagingDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
|
||
|
$fileLocation = Join-Path $stagingDir 'profile.ps1'
|
||
|
$targetLocation = Join-Path $env:windir "system32\WindowsPowerShell\v1.0\profile.ps1"
|
||
|
|
||
|
Copy-Item $fileLocation $targetLocation -Force
|