Skip to content

Commit 22810b7

Browse files
effingerwknithinc
authored andcommitted
.Net Ui improvements (#371)
* Delete ReadMe.md * Delete runningERCS.gif * Delete ERCS_AzureStackLogs.ps1 * .Net UI Update * Update AzS-PoSh-Environment.ps1 * Delete ERCS_AzureStackLogs.ps1 * Check for WinRm Svc added * readme update * Update ReadMe.md
1 parent e0ca72a commit 22810b7

File tree

7 files changed

+925
-289
lines changed

7 files changed

+925
-289
lines changed

Support/AzS_PoSh/AzS-PoSh-Environment.ps1

Lines changed: 490 additions & 0 deletions
Large diffs are not rendered by default.

Support/AzS_PoSh/Media/AzsPoSh.gif

19.5 MB
Loading

Support/AzS_PoSh/ReadMe.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# AzS-PoSh-Environment.ps1 #
2+
3+
![](https://github.com/effingerw/AzureStack-Tools/blob/vnext/Support/AzS_PoSh/Media/AzsPoSh.gif?raw=true)
4+
5+
6+
Script to setup AzureStack PowerShell Enviroment
7+
8+
Via UI or CLI the script will insure Azure Stack PowerShell modules are running at the proper version. Build AzureStack endpoint environment variables from supplied JSON file. Download and extract AzureStack-Tools-master Toolkit. Builds a function called AzSLoadTools that imports modules in proper order. If no parameters are supplied the script will default to prompting user via GUI for needed parameters.
9+
10+
## AzSPathToStampJSON ##
11+
Path to AzureStackStampInformation.json file
12+
13+
- "C:\Users\AzureStackAdmin\Desktop\AzureStackStampInformation.json"
14+
15+
## AzSToolsPath ##
16+
Path to AzureStack-Tools-master folder
17+
18+
- "C:\Users\AzureStackAdmin\Desktop\master\AzureStack-Tools-master"
19+
20+
## Example Use ##
21+
.\AzS-PS-Environment.ps1 -AzSPathToStampJSON "C:\Users\AzureStackAdmin\Desktop\AzureStackStampInformation.json" -AzSToolsPath "C:\Users\AzureStackAdmin\Desktop\master\AzureStack-Tools-master"

Support/ERCS_Logs/ERCS_AzureStackLogs.ps1

Lines changed: 406 additions & 287 deletions
Large diffs are not rendered by default.

Support/ERCS_Logs/Media/ERCS.gif

8.3 MB
Loading
-6.69 MB
Binary file not shown.

Support/ERCS_Logs/ReadMe.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ​ERCS_AzureStackLogs​.ps1 #
22

3-
![](https://github.com/Azure/AzureStack-Tools/blob/master/Support/ERCS_Logs/Media/runningERCS.gif?raw=true)
3+
![](https://github.com/effingerw/AzureStack-Tools/blob/vnext/Support/ERCS_Logs/Media/ERCS.gif?raw=true)
44

55
Built to be run on the HLH or DVM from an administrative powershell session the script uses seven methods to find the privileged endpoint virtual machines. The script connects to selected privileged endpoint and runs Get-AzureStackLog with supplied parameters. If no parameters are supplied the script will default to prompting user via GUI for needed parameters.
66

@@ -61,5 +61,11 @@ Specifies timezone id for Azure Stack stamp. Format must be in one of the 2 form
6161
- (Get-TimeZone -Name "US Eastern*").id
6262
- "Pacific Standard Time"
6363

64+
## IncompleteDeployment ##
65+
Specifies if Azure Stack Deployment is incomplete. Only for use in Azure Stack Development Kit deployment or DVM
66+
67+
- Yes
68+
- No
69+
6470
## Example Use ##
65-
.\ERCS_AzureStackLogs.ps1 -FromDate (get-date).AddHours(-4) -ToDate (get-date) -FilterByRole VirtualMachines,BareMetal -ErcsName AzS-ERCS01 -AzSCredentials (Get-Credential -Message "Azure Stack Credentials") -ShareCred (get-credential -Message "Local Share Credentials" -UserName $env:USERNAME) -InStamp No -StampTimeZone "Pacific Standard Time"
71+
.\ERCS_AzureStackLogs.ps1 -FromDate (get-date).AddHours(-4) -ToDate (get-date) -FilterByRole VirtualMachines,BareMetal -ErcsName AzS-ERCS01 -AzSCredentials (Get-Credential -Message "Azure Stack Credentials") -ShareCred (get-credential -Message "Local Share Credentials" -UserName $env:USERNAME) -InStamp No -StampTimeZone "Pacific Standard Time" -IncompleteDeployment No

0 commit comments

Comments
 (0)