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

Reply To: Posh Function – Schedule it as a Task?

$
0
0

In your case it would probably be like this. . .

md $ENV:USERPROFILE\Documents\WindowsPowerShell\Modules\Get-Freespace

The open that folder in explorer. . .

invoke-item $ENV:USERPROFILE\Documents\WindowsPowerShell\Modules\Get-Freespace

In that empty folder copy your get-freespace.ps1 file and change the extension to psm1

-VERN


Viewing all articles
Browse latest Browse all 13067

Trending Articles