my first 3 Windows PowerShell Commands



My first 3 Windows PowerShell Commands

$host.version
PS G:\MOWSH> $host.version

Major Minor Build Revision
----- ----- ----- --------
1 0 9567 0

# let me run my scripts No Regedit !!

Set-ExecutionPolicy RemoteSigned

Move Profile to Documents and Settings\All Users\Documents\PSConfiguration\Microsoft.PowerShell_profile.ps1


# rename my scripts (otherwise my profile opens with notepad)

ls . *.msh -rec |% {rename-item $_.fullname ($_.name -replace ".msh",".ps1")}

now cleaning up, all the subscript calls in my profile ;-(

gr /\/\o\/\/

.