.dev/scratch.Notebook.ps1
$dsFolder = [Environment]::GetEnvironmentVariable("DS_FOLDER_PATH", "User") Write-Output $dsFolder Get-ChildItem -Path $dsFolder -Directory -Filter "DS2820*" . "D:\T3\Projects\Vertafore\Modules\RallyQuickToolsCli\src\tools\Get-DefectSuite.ps1" . "D:\T3\Projects\Vertafore\Modules\RallyQuickToolsCli\src\tools\types\Defect.ps1" getDsDefects(515052721804) . "D:\T3\Projects\Vertafore\Modules\RallyQuickToolsCli\src\tools\Get-DefectSuite.ps1" . "D:\T3\Projects\Vertafore\Modules\RallyQuickToolsCli\src\tools\types\Defect.ps1" $defects = (getDsDefects(515052721804)) $defects[0] $defect = [Defect]($defects[0] | Select-Object ` FormattedID, Name, Description, c_ApprovedProject, c_FoundinVersion,c_VerifiedinVersion,c_Impact,c_Likelihood,Priority,c_Product,c_Activity,c_Workaround,Environment,SalesforceCaseNumber,Severity, DisplayColor, Project, State ) $defect $ds = @{ Name = "Bob" Age = 42 Car = "Red" House = "Big" River = "Up" Rock = "Paper" } Write-Output $ds | Select-Object Name,Rock | ConvertTo-Json $request = [System.Net.WebRequest]::Create("https://www.powershellgallery.com/packages/RallyQuickToolsCli") $response = $request.GetResponse() $response.Headers ((Invoke-WebRequest -Uri "https://www.powershellgallery.com/packages/RallyQuickToolsCli" -Method Head).BaseResponse.RequestMessage.RequestUri.AbsolutePath -Split "/")[-1] . "D:\T3\Projects\Vertafore\Modules\RallyQuickToolsCli\src\tools\Get-DefectSuite.ps1" Get-DefectSuite -v |