Quantcast
Channel: PowerShell.org » All Posts
Viewing all articles
Browse latest Browse all 13067

Reply To: Changing TCP to dynamic using PowerShell

$
0
0

You could save it as a module which is a psm1 file. Check your module locations: $env:PSModulePath -split ";"

I tend to put it in C:\Program Files\WindowsPowerShell\Modules\**Your Function Name**

then you can just load the module when you open powershell by doing 'import-module DHCP' in your case.


Viewing all articles
Browse latest Browse all 13067

Trending Articles