Recent Questions

متن مرتبط با «powershell rename multiple folders» در سایت Recent Questions نوشته شده است

Laravel organise migrations into folders

  • نیلوبلاگ

    When a project grows the migrations folder can contain a lot of migration, ever wanted to desperate them into folders? tus out it's easy to so. All you need to do is tell Laravel where to read the migrations from. In your AppServiceProvider.php boot call, you can call $this->loadMigrationsFrom() and give it a path of all the folder locations: $migrationsPath = database_path('migrations'); $directories = glob($migrationsPath.'/*', GLOB_ONLYDIR); $paths = array_merge([$migra...

    ادامه مطلب
  • Combine multiple disks to one 'big' disk on my external HDD

  • نیلوبلاگ

    I run into a problem with my exteal HDD, i used it for backups but when i reinstalled windows (and forgot to remove the HDD) my HDD got whiped. After the whipe suddenly my HDD splitted itself into multiple Disks. Ive tried evrything and googles alot but no succes. I would like to bring it back to one disk, just like it was when i bought it. Can anyone help me out, or give me some tips on how to achieve this? Here is an image of the partitions, if you need any extra details of information let me ...

    ادامه مطلب
  • Is it better to spread out RAM on multiple sticks or less

  • نیلوبلاگ

    I am building a new desktop computer. I will be using 128GB of RAM. I know that is a lot, I am not interested in explaining why I need it. My question is how I should plan this out. I have 8 ports for RAM, Should I buy 8 16GB RAM sticks or one 128 GB stick. Other variances of 128 GB are also an option. However, I am basicly wanting to know if its better to spread it all out or consolidate. Thanks! Let's block ads! بخوانید...

    ادامه مطلب
  • Removing multiple hdisk from smitty->devices ->fixed disk-> remove

  • نیلوبلاگ

    Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top ...

    ادامه مطلب
  • File Search Multiple File Types Supported

  • نیلوبلاگ

    What is the best way to mass search html, epub, and pdf files? Windows explorer doesn't really support this properly. ...

    ادامه مطلب
  • Multiple monitors with different resolutions - windows oddly re-positioned upon unlocking system

  • نیلوبلاگ

    I have an Nvidia 1070 and three monitors. Two are 1080p one is 1440p. I run Windows 10 x64. Say I have google chrome (it happens to other windowed apps) maximized on one of the side 1080p monitors. SOMETIMES when I lock the computer and come back to it later (after the screens have gone to sleep -- my computer never goes into sleep mode though), the window will have shifted from maximized position to 50% to the right and 50% down but still the same size so it's off the screen...It's not always i...

    ادامه مطلب
  • Is there a way to download a file using CMD, VBS, or Powershell from a url

  • نیلوبلاگ

    I need a small script to download some programs. The URL's never change but the files do. Like when you download malwarebytes. Example: "https://downloads.malwarebytes.com/file/mbam_current/" The address doesnt change but the file name downloaded does. Every script i see, requires that you specify a file name. I dont want to do that, I want the script to pull the filename from the sites header which would include the version name of that file in that filename. I cant seem to find any way of doin...

    ادامه مطلب
  • Sharing OneDrive for Business on multiple Windows accounts

  • نیلوبلاگ

    How can I share the same OneDrive for Business folder (same login) across multiple user accounts on a Windows machine? TL;DR One of my clients has a business where several Windows users need access to a shared set of files, which are currently shared on a file server on the network. Currently the Windows machines are connected to a domain run on SBS. But they want to get rid of the local server and move to the cloud, leaving the domain behind for good. They only have a handful of computers and s...

    ادامه مطلب
  • Powershell: batch rename and keep extension?

  • نیلوبلاگ

    Is it possible to batch rename a series of files and keep the original extensions in a sequence? For example, if you had the files in a directory: dogfile1.jpg, wolffile493.png, and dogfile59.jpg and wanted to rename them: dog1.jpg, dog2.png, dog3.jpg I saw you can use this to batch rename but it renames it to the extension you select (ex. jpg): $nr=1 Dir | %{Rename-Item $_ -NewName (‘NewFile{0}.jpg’ -f $nr++)} Let's block ads! بخوانید...

    ادامه مطلب
  • Ctrl + Click + Drag Deselects Selected Items and System Folders Have a Tag

  • نیلوبلاگ

    Just like the title says, recently I've been noticing that when I'm selecting a group of items in a folder if I select some and click and drag over them again it deselects them. This never never happened before a couple weeks ago. I believe it started when I had an IT guy do a checkup on my PC. My System folders also have an annoying tag that says "System Folder" now but that can be easily overlooked. Examples: http://ptscr.com/cax3uc http://ptscr.com/cax3xp P.S: Never letting an IT guy touch my...

    ادامه مطلب
  • Ncrack symtax to run multiple IP's and how to add threads and time? CL=5,cd700ms?

  • نیلوبلاگ

    i use ncrack for windows Ncrack syntax,how to run multiple IP's and add threads and waiting time? I use this ordinary syntax with no threads and no waiting time and ncrack rate up to 40 ncrack -vv -d7 -U users.txt -P pass1.txt -iL ips.txt -p rdp Now i try to use few threads and time using this syntax, i add 5 threads and 700 ms,ncrack rate 40,the same that means no effect So my question is:how to add multiple IPs, 5 threads and 700 ms waiting time ncrack -v -d7 -U users.txt -P pass1.txt -iL ...

    ادامه مطلب
  • Convert JSON to YAML using PowerShell

  • نیلوبلاگ

    I have a json data like this. sample.json [ { "id": 0, "name": "Cofine", "title": "laboris minim qui nisi esse amet non", "description": "Consequat laborum quis exercitation culpa. Culpa esse sint consectetur deserunt non.", "website": "cofine.com", "image": "http://placehold.it/32x32", "labels": ["blue", "red"], "labels_link": ["http://cofine.com/labels/blue","http://cofine.com/labels/red"], }, { "id": 1, "name": "Zomboid", "title": "adipisicin...

    ادامه مطلب
  • Powershell: Read out values of registry keys

  • نیلوبلاگ

    Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top ...

    ادامه مطلب
  • Multiple email message filing rule hits

  • نیلوبلاگ

    I'm using FastMail & have a reseller account with which I hope to use one day to manage clients' email accounts. Each account will have 1 Inbox & will allow the creation of multiple aliases on their domain, all of which get delivered to the single inbox. FastMail has a rule-based filing system which will route messages addresses to an alias to a specific folder created to hold messages sent to each alias. However it's not possible to duplicate and copy messages sent to multiple aliases t...

    ادامه مطلب
  • How do I create a new remote repository in git with PowerShell?

  • نیلوبلاگ

    I can push and pull to repositories I've made from github, but how can I create a new repository from the PS cmd line? ...

    ادامه مطلب
  • Excel: VLOOKUP with cell containing multiple references

  • نیلوبلاگ

    I have a table which contains multiple references per cell separated by a blank space. In an other table that contains one line per reference, I want to use VLOOKUP to retrieve the name of the component which is linked to each reference. Here is an example of my first table: And here is the result I'm trying to achieve: Use VLOOKUP of the reference to get the component name in the first table. I cannot get it to work as the number of references associated to a component is not constant. Let's ...

    ادامه مطلب
  • Why does this FFMPEG command when called from Powershell generate white noise?

  • نیلوبلاگ

    I'm trying to create a Powershell script that watches a folder for new MP3 files and converts them to M4A format using FFMPEG and FDK AAC encoder. Since fdkaac.exe won't take MP3 files as input, I use this command, which pipes from ffmpeg: ffmpeg -i $path -f caf - | fdkaac -p5 -b64 - -o $outfolder$outname.m4a This works just fine if I enter it into a command prompt and the resulting M4A file that's generated has no problems. However if I run this from Powershell, the M4A file is created but co...

    ادامه مطلب
  • How to make this script read all subfolders

  • نیلوبلاگ

    I found script opening random files. I changed one thing and now it open random file from C:/ Can somebody tell me how to change it to open random file from C:/ and all subfolders? @echo off & setlocal :: start of main rem Set your path here: set "workDir=C:" rem Read the %random%, two times is'nt a mistake! Why? Ask Bill. rem In fact at the first time %random% is nearly the same. @set /a "rdm=%random%" set /a "rdm=%random%" rem Push to pushd "%workDir%" rem Count all files in your path....

    ادامه مطلب
  • Share source code on multiple devices

  • نیلوبلاگ

    In my free time I like to program small to medium programs in C++. I am using an Ubuntu VM and QtCreator as IDE. Until yesterday I only programmed on my local home-PC. Now, I bought myself a laptop. I am looking for a way to synchronize the source code between my Home-PC and my laptop. That means that if I change the source-code on my Home-PC and then boot up my laptop, I have the same source-code on both machines and vice versa. I know very little about version control systems like git. I think...

    ادامه مطلب
  • Grep with multiple patterns used on the command

  • نیلوبلاگ

    Few days ago I installed centos 7 on my server and run ssh. Now I want to track logs. Is there anyway to combine cat or tail with grep to have clear failed and accepted loggin attempts list from choosen day? I know it won't work, but something likecat /var/log/secure | grep "Accepted" "Failed" "Today's date" Let's block ads! بخوانید...

    ادامه مطلب