Skip to content
This repository has been archived by the owner on Oct 9, 2019. It is now read-only.

Commit

Permalink
fixed outputtype not correctly defined for Connect-WAPVMRDP
Browse files Browse the repository at this point in the history
  • Loading branch information
bgelens committed Aug 16, 2015
1 parent 118d6aa commit 5d28fd3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion WapTenantPublicAPI.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
RootModule = 'WapTenantPublicAPI'

# Version number of this module.
ModuleVersion = '0.0.3.1'
ModuleVersion = '0.0.3.2'

# ID used to uniquely identify this module
GUID = 'eaa28acf-4a1e-4d0e-96dd-fa36de33a658'
Expand Down
4 changes: 2 additions & 2 deletions WapTenantPublicAPI.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -1293,7 +1293,7 @@ function Get-WAPVMRoleVM {
$VMMVM = Invoke-RestMethod -Uri $VMMURI -Headers $Headers -Method Get

Add-Member -InputObject $V -MemberType NoteProperty -Name VMMOwnerUserName -Value $VMMVM.Owner.UserName
Add-Member -InputObject $V -MemberType NoteProperty -Name VMMCreationTime -Value $VMMVM.CreationTime
Add-Member -InputObject $V -MemberType NoteProperty -Name VMMCreationTime -Value ([datetime]$VMMVM.CreationTime)
Add-Member -InputObject $V -MemberType NoteProperty -Name VMMDeploymentErrorInfo -Value $VMMVM.DeploymentErrorInfo
Add-Member -InputObject $V -MemberType NoteProperty -Name VMMStatus -Value $VMMVM.Status
}
Expand Down Expand Up @@ -1384,7 +1384,7 @@ function Connect-WAPVMRDP {
This will launch MSTSC for each VM deployed in the VM Role DCs.
#>
[CmdletBinding()]
[OutputType([void])]
[OutputType([void],[System.String])]
param (
[Parameter(Mandatory,
ValueFromPipeline)]
Expand Down

0 comments on commit 5d28fd3

Please sign in to comment.