Question: I am new to PowerShell scripting. For one of my School project I need to generate a report of the entire D Drive. I need to list all the folders sorted according to the size 

**Summary of the work I have done so far:** 
I have installed a PowerShell module from this website 
<https://www.gngrninja.com/script-ninja/2016/5/24/powershell-calculating-folder-sizes>
using Install-Module PSFolderSize 

After installing if I run the command ***Get-FolderSize*** I'm getting the FolderSize for the path I'm running from. The foldersize is not running for all the folders in the directory. 
I am facing difficulty traversing through all the folders.

Expected Output: 

```
+-------------+--------------+--------------+-----------+-----------------------+-----------+
| FolderName  | Size(Bytes)  |   Size(MB)   | Size(GB)  |       FullPath        | HostName  | 
+-------------+--------------+--------------+-----------+-----------------------+-----------+
| Disney      | 454545448889 | 433488.32024 | 423.32844 | D:\Videos\Disney      | localhost |  
| Universal   |  25454544884 | 24275.34569  | 23.70639  | D:\Videos\Universal   | localhost |  
| Fox Studios |   8803063287 | 8395.25536   | 8.19849   | D:\Videos\Fox Studios | localhost |  
+-------------+--------------+--------------+-----------+-----------------------+-----------+

```

Can anyone help me where to start?

Answer: 
Using python you can add data with the `cases.append()` method

```
begin program.
import spss
spss.StartDataStep()
dataset = spss.Dataset()
dataset.cases.append([1])
spss.EndDataStep()
end program.

```

Say you have 3 variables, you can assign values to each by appending the list passed to the method 

```
begin program.
spss.StartDataStep()
dataset = spss.Dataset()
dataset.cases.append([1,2,3])
spss.EndDataStep()
end program.

```

Would add a case wit value 1 in the first variable, value 2 in the second variable, 3 in the third variable. 

Note: the method will only work within an open datastep.
Check out the ADD FILES command. You can also add cases with Python code.