![]() Get-ChildItem $fullpath -Include $file2 -Recurse | Remove-Item # Actual DeleteThe issue lays with the TranscodedWallpaper file stuck in the users windows themes. $fullpath = $path1 + $user + $path2 # Create full path $path2 = "\AppData\Roaming\Microsoft\Windows\Themes" # Second part of path Code: $user = $Env:USERNAME # Get's curent username
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |