Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $Appcmd = [System.Environment]::SystemDirectory + "inetsrvappcmd.exe"
- & $appcmd --% set config -section:system.applicationHost/applicationPools /+""[name='$Task.eProto_Pool'].environmentVariables.[name='PRODUCT_NAME',value='eProto']"" /commit:apphost"
- $MyString = @{Name = "Stephen";Value="CoolDude"}
- >$MyString
- Name Value
- ---- -----
- Value CoolDude
- Name Stephen
- write-host " The user $MyString.Name is a $MyString.Value"
- The user System.Collections.Hashtable.Name is a System.Collections.Hashtable.Value
- write-host " The user $($MyString.Name) is a $($MyString.Value)"
- The user Stephen is a CoolDude
Add Comment
Please, Sign In to add comment