Advertisement
HughMc

Untitled

Mar 23rd, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #Copy Burnt Toast PowerShell Module and USB Notification Script Files
  2. Copy-Item $PSScriptRoot\PSModules\BurntToast\ -Recurse -Destination $env:ProgramFiles\WindowsPowerShell\Modules -Force -Verbose
  3.  
  4. New-Item -ItemType Directory -Path "$env:programdata\RACV" -Name "USBNotification" -Force |Out-Null
  5. Copy-Item "$PSScriptRoot\LaunchPowerShell.vbs" -Destination "$env:programdata\RACV\USBNotification" -Force | Out-Null
  6. Copy-Item "$PSScriptRoot\LaunchToast.ps1" -Destination "$env:programdata\RACV\USBNotification" -Force | Out-Null
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement