![]() ![]() $allItems = $sourceFolder -Include $extensions -Recurse)įor ($i = 0 $i -lt $allItems. Get-ChildItem -File -Path $sourceFolder -Include $extensions -Recurse | Select-Object -First $itemsPerFolder | Move-Item -Destination $tDestįor a more efficient way, try # Change these as preferred ![]() While $sourceFolder -Include $extensions -Recurse).Count -gt 0) Creating a Folder Navigate to the location where you want to place the new folder. Simply change the 4x variables to suit and you should be good to go. from Windows NT to 10 7Zip does have a self extracting function. It's not the most efficient way, but you can use PowerShell to move them into generic numbered folders using the below script. Step-by-step guide to create a lab and enroll the devices with Intune by.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |