Write-Verbose (": Translating data into product key" -f $Computer) You will also notice that I set the type for Computername to ] which means that it will take a collection of strings for that parameter. I also add some aliases to support the ValueFromPipeLineByPropertyName which allows extra pipeline support. I also add some parameters to the existing code with a default parameter value for the Computername to point to the local machine.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |