Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Add to $Profile
- #For Fun
- #Add-Content $PROFILE -Value ""
- #Add-Content $PROFILE -Value "Start-Process calc.exe"
- #
- # Make a banner
- Add-Content $PROFILE -Value ""
- Add-Content $PROFILE -Value "Invoke-RestMethod -uri "https://artii.herokuapp.com/make?text=PowerShell%20iS%20Monitored" -DisableKeepAlive"
- # From here https://artii.herokuapp.com/make?text=PowerShell_iS_Monitored
- #
- #Capture commandline of Powershell
- #This doesn't work on PS5
- # https://www.malwarearchaeology.com/cheat-sheets
- # To see what powershell version use this $PSVersionTable.PSVersion
- # Add-Content $PROFILE -Value ""
- # Add-Content $PROFILE -Value "$LogCommandHealthEvent = $true"
- # Add-Content $PROFILE -Value "$LogCommandHealthEvent = $true"
- # Add-Content $PROFILE -Value "$LogCommandLifecycleEvent = $true"
- # Add-Content $PROFILE -Value "$LogPipelineExecutionDetails = $true"
Add Comment
Please, Sign In to add comment