Sometimes it can be useful to test your Powershell data files and iterate through the nodes and servers.
Powershell 5 (WMF5) added this neat little feature for doing this called Import-PowerShellDataFile .
Example:
$data = Import-PowerShellDataFile -path .\MydataFile.psd1
$data.AllNodes