Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function get-nameage {
- param(
- [parameter(Mandatory=$True)]
- [Alias("Name")]
- [string]${Tell Me Your Name},
- [parameter(Mandatory=$True)]
- [Alias("Age")]
- [string]${Tell Me Your Age}
- )
- begin{
- $global:Info = New-Object PSObject -Property @{
- Name = ${Tell Me Your Name}
- Age = ${Tell Me Your Age}
- }
- }
- }
- get-nameage
Advertisement
Add Comment
Please, Sign In to add comment