🔒 This topic is solved and locked.
Need further help from the community? Please
sign in and ask a new question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Posted 03-11-2022 09:14 PM
(1327 views)
Please help me,
I work from home,
I have a PC at my office (windows 10, locked for remote destop),
I used to using windows task scheduler to running some reguler codes,
Now I want to emptying the Recycle Bin at that pc,
Is there any codes to do:"emptying recycle bin" ?
Thanks in advance 🙏
I work from home,
I have a PC at my office (windows 10, locked for remote destop),
I used to using windows task scheduler to running some reguler codes,
Now I want to emptying the Recycle Bin at that pc,
Is there any codes to do:"emptying recycle bin" ?
Thanks in advance 🙏
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
It is not a SAS issue.
x "powershell Clear-RecycleBin -Force";
I have not tried to see if the code can be executed remote desktop.
4 REPLIES 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
It is not a SAS issue.
x "powershell Clear-RecycleBin -Force";
I have not tried to see if the code can be executed remote desktop.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Thank you 🙏 👍
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Its works at my pc/laptop if the code like this:
x "powershell Clear-RecycleBin";
If i using "-Force" then nothing happen.. 🤔
x "powershell Clear-RecycleBin";
If i using "-Force" then nothing happen.. 🤔
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
The force option skips the confirmation message.