locked
spin off scripts in multiple sites RRS feed

  • Question

  • I have a dfs script right now that gives me information on the dfs server, currentstaging quota, the local path and the replication group. The goal is to get the current staging quota and find the recommended staging quota. Report back. I know how to find the recommended staging quota (Get-ChildItem "path" -Recurse | Sort-Object length -Descending | Select-Object -First 32 | Measure-Object -Property length -sum). The problem is I have some of these folders located in remote offices and doing this across the WAN would take days. 

    What is a good way to go about this? Can I open on a remote session and run it locally but the processing is done on the remote server so it doesnt take that much processing time? What would be a good solution? I just need ideas or input if anyone has done something similar
    • Moved by Bill_Stewart Thursday, January 2, 2014 8:06 PM Abandoned
    Thursday, November 7, 2013 9:55 PM

All replies

  • This may help you

    help Enter-PSSession -Examples
    
    help New-PSSession -Examples


    Regards Chen V [MCTS SharePoint 2010]

    Friday, November 8, 2013 11:46 AM