locked
Need Powershell Script to Cleanup Multiple Systems Remotely at a time. RRS feed

  • Question

  • Hi All,

    I Need Powershell Script to Cleanup Multiple Systems Remotely at a time. is it possible?

    Please help me for the correct script code.

    • Moved by Bill_Stewart Friday, March 9, 2018 7:14 PM This is not "scripts on demand"
    Monday, June 19, 2017 7:51 AM

All replies

  • Clean up what? On how many machines? What OS?

    Do some research on PowerShell remoting, that should be a good start.

    Also, this forum is for help and not for requests. Please reply with what you have already attempted.

    Monday, June 19, 2017 9:40 AM
  • get-adcomputer | % { invoke-command {format c:}


    Cheers,

    Ruud
    Twitter:    Blog: AzureStack.Blog  LinkedIn:    
    Note: Please “Vote As Helpful” if you find my contribution useful or “Mark As Answer” if it does answer your question. That will encourage me - and others - to take time out to help you.

    • Proposed as answer by Ruud BorstMVP Monday, June 19, 2017 10:44 AM
    • Unproposed as answer by Bill_Stewart Monday, June 19, 2017 2:20 PM
    Monday, June 19, 2017 10:44 AM
  • "C" can't be formatted like that and it is a bad suggestion.


    \_(ツ)_/

    Monday, June 19, 2017 6:48 PM
  • Hi All,

    I Need Powershell Script to Cleanup Multiple Systems Remotely at a time. is it possible?

    Please help me for the correct script code.

    Start by searching the Gallery for scripts that may do what you ask.  You question is way too vague to answer.  What does "cleanup" mean.

    Please read the following forum post: This forum is for scripting questions rather than script requests


    \_(ツ)_/

    • Proposed as answer by I.T Delinquent Wednesday, July 12, 2017 9:37 AM
    Monday, June 19, 2017 6:49 PM
  • Hi,

    Actually I want to disk cleanup, delete temp. files on multiple systems remotely without login to systems.

    Sure I will start to research on powershell remoting.

    thanks for your suggestion.

    Monday, June 26, 2017 3:17 PM
  • Hi,

    Actually I want to disk cleanup, delete temp. files on multiple systems remotely without login to systems.

    Monday, June 26, 2017 3:18 PM