We are having issue with folder redirection and want to split this up among two servers instead of one. One of the folders we are redirecting is the Application Data folder. We want to enumerate this folder for each user so we can decide how big the new shared volume should be. Is there a way to do this in power shell?
List application data folder for multiple users powershell
326 Views Asked by ubernewb At
1
There are 1 best solutions below
Related Questions in POWERSHELL
- PowerShell Linphone Configuration
- How avoid \t being converted to Tab in Powershell
- How do I get my terminal to work in VS Code? Exit Code:2, doesn't allow me to type anything
- Npm command not working in powershell but works in cmd
- Issue with path not being treated as encapsulated when calling cmd /C
- Native command throws error only when I redirect to a variable
- Logic Apps and long running Azure Function (Powershell)
- April fools - PsExec (PsTools)
- How to use nested ForEach-Object
- Batch Script-Powershell MessageBox | How do I set TopMost within PS command line of Batch?
- Execution Stuck at Get-PnPPage if function executed on Button Click
- How can I expand a column from group output?
- How to use expression in regex -replace with capturing group in powershell
- powershell where-object -cnotmatch filter unwanted lines
- How to make Visual Studio 2022 project launch Windows Terminal instead of PowerShell?
Related Questions in MULTIPLE-USERS
- Mailmerge Word used by different users
- Google sheet created by other user can't be found by apps script
- How to persist users in Grafana open source (docker swarm)
- Install Extension of Python in Visual studio Code in Server 2022
- Get list all Users from Azure AD
- Is there a strategy for multiple user and parallel computing
- Specific user access to branches in one repository of GitHub
- Powershell change format of csv file
- How to automatically move different excel files from one folder to multiple folders using SharePoint
- Getting count of users sign-in, in AWS Pinpoint
- Django Multiple User type and extra fields
- Angular: unique service for sharing data between users (not components!)
- i want each email to log in with one device
- how to run 2000 users in jmeter while i am having 20 users in my csv file?
- How to execute login to web application with multiple users using Nbomber
Related Questions in APPLICATION-DATA
- net50 Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) is returning an empty string on MacOS?
- UWP C# Saving DeviceInformation to ApplicationData
- Where to save application data in windows?
- How to preserve variable value between application starts in ASP.Net Core MVC?
- NodeJs - How to get Windows ProgramData directory in NodeJs
- Where in my Visual Studio project should I copy a SQLite database, and do I need to copy it from there?
- WebSocket Connection failed with socketerror
- How to get the path to a file in the Local App Data folder created by ClickOnce
- Is it possible to arrive a client hello or server hello or certificate message after an application data?
- ApplicationData using in Console with UWP parameters
- How can I access hidden app data stored in Google Drive?
- How can I use LocalSettings (UWP) in my ViewModel class?
- UWP - How completely delete all data written in LocalSettings?
- Storing data so that it is deleted when the program is
- c++ how to get %AppData% path under non-administrator account and running VS2013 as Administrator
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Recursive loops my friend. Perhaps someone has a better idea, but this was my approach. The output is also fun to watch :)
EDIT: $total is in BYTES. Be sure to do the conversion to what you need.
$total = 0 function Get-Childrens{ param($fullName) Get-ChildItem $fullName | foreach{ if((Get-Item $_.FullName).VersionInfo.FileName){ Write-Host $_.FullName $total += (Get-Item $_.FullName).Length }else{ Write-Host $_.FullName -ForegroundColor Green Get-Childrens $_.FullName } } } Get-Childrens "C:\Users\username\AppData\"