Importing psd1 data file into local variable

suggest change

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

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents