Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ValerasNarbutas committed Mar 4, 2024
1 parent afa81ab commit 959f3ba
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ image:
alt: Tip of the day - Powershell for April first 2
---

## Tip of the day: Aprils Fools' Day pranks with Powershell Part 2
## Tip of the day: Aprils Fools Day pranks with Powershell Part 2

Apply these pranks to your colleagues' computers. They will be surprised and will have a good laugh.

Expand Down Expand Up @@ -87,15 +87,14 @@ Start-Process explorer

### Change Desktop Background to a Funny Image:

```powerShell
```bash
# Ensure the path to the image is correct and accessible
Set-ItemProperty -Path 'HKCU:\Control Panel\Desktop' -Name Wallpaper -Value 'C:\path\to\funny-image.jpg'
RUNDLL32.EXE user32.dll, UpdatePerUserSystemParameters
```

### Infinite Loop of notepad opening and closing:
```bash
```powershell
while ($true) {
Start-Process notepad
Start-Sleep -Seconds 10
Expand Down

0 comments on commit 959f3ba

Please sign in to comment.