README.txt
Copyright (c) Microsoft Corporation. All rights reserved.
OPEN WITH VISUAL STUDIO To open the project you must install the PowerShell Tools extentision for Visual Studio. DEBUG WITH VISUAL STUDIO To debug, set your break point in ADComputerKeys.psm1. Then set the focus to TestHarness.ps1 and modify as needed. Then do the usual F5 to debug while TestHarness.ps1 is in focus. PUBLISHING UPDATES ADComputerKeys.psm1 is published to PowerShell Gallery https://www.powershellgallery.com/packages/ADComputerKeys To publish an update, do the following: 1. Make and test your updates. 2. Update the manifest document as needed. At a minimum update the ModuleVersion. (ADComputerKeys.psd1) 3. Get the shared credentials needed to sign-in to PowerShell Gallery. The credentials are stored in KeyVault: drstest.exe /secStore:keyvault /op:gs /secretSuffixName:adfabricpowershell@outlook.com /secretType:password /deployment:edog 4. Sign-in to PowerShell Gallery using the shared account. IMPORTANT verify that you are signed in with the proper account (adfabpsh), WIA can sometimes mess this up. 5. Install the latest PowerShellGet module, this is available in the Gallery. 6. Get the current API key. This is found on the account page. 7. Publish your update using the following PowerShell Command: 649b5d55-9874-4f24-8b77-24a5f782a37f |