Files
Alan Renouf 5aee669b4c create modules.sh
added modules file for copying to powerclicore correct locations
2017-04-18 21:03:53 -07:00

7 lines
265 B
Bash

#!/bin/bash
for file in $( ls /powershell/PowerCLI-Example-Scripts/Modules/ )
do
mkdir "/root/.local/share/powershell/Modules/${file%.*}/"
mv "/powershell/PowerCLI-Example-Scripts/Modules/$file" "/root/.local/share/powershell/Modules/${file%.*}/$file"
done