diff --git a/ManagementPacks/GetPasswordFromRunasProfile.xml b/ManagementPacks/GetPasswordFromRunasProfile.xml new file mode 100644 index 0000000..80eae5b --- /dev/null +++ b/ManagementPacks/GetPasswordFromRunasProfile.xml @@ -0,0 +1,109 @@ + + + + GetPasswordFromRunasProfile + 1.0.0.29 + + GetPasswordFromRunasProfile + + + Microsoft.SystemCenter.DataWarehouse.Library + 7.0.8432.0 + 31bf3856ad364e35 + + + Microsoft.SystemCenter.Library + 7.0.8432.0 + 31bf3856ad364e35 + + + Microsoft.SystemCenter.Notifications.Library + 7.0.9538.0 + 31bf3856ad364e35 + + + Microsoft.Windows.Library + 7.5.8501.0 + 31bf3856ad364e35 + + + System.Library + 7.5.8501.0 + 31bf3856ad364e35 + + + Microsoft.Unix.Library + 7.6.1092.0 + 31bf3856ad364e35 + + + + + + + Maintenance + + DisplayCredentials.ps1 + Param( +$Microsoft_SystemCenter_DataWarehouse_ActionAccount, +$Microsoft_SystemCenter_DatabaseWriteActionAccount, +$Microsoft_SystemCenter_DataWarehouse_ReportDeploymentActionAccount, +$Microsoft_SystemCenter_Notification_NotificationActionAccount, +$Microsoft_SystemCenter_DataWarehouse_SdkSqlAuthenticationActionAccount, +$Microsoft_Unix_ActionAccount, +$Microsoft_Unix_AgentMaintenanceAccount, +$Microsoft_Unix_PrivilegedAccount +) + +# Michel kamp +# http://michelkamp.wordpress.com + + +# output the input paramters +$PSBoundParameters.GetEnumerator() | foreach { Write-Output "Account detail of profile" $_.Key $_.Value } + +# end script + + + + + + Microsoft_SystemCenter_DataWarehouse_ActionAccount + $RunAs[Name="MSDL!Microsoft.SystemCenter.DataWarehouse.ActionAccount"]/UserName$ / $RunAs[Name="MSDL!Microsoft.SystemCenter.DataWarehouse.ActionAccount"]/Password$ + + + Microsoft.SystemCenter.DatabaseWriteActionAccount + $RunAs[Name="SC!Microsoft.SystemCenter.DatabaseWriteActionAccount"]/UserName$ / $RunAs[Name="SC!Microsoft.SystemCenter.DatabaseWriteActionAccount"]/Password$ + + + Microsoft_SystemCenter_DataWarehouse_ReportDeploymentActionAccount + $RunAs[Name="MSDL!Microsoft.SystemCenter.DataWarehouse.ReportDeploymentActionAccount"]/UserName$ / $RunAs[Name="MSDL!Microsoft.SystemCenter.DataWarehouse.ReportDeploymentActionAccount"]/Password$ + + + Microsoft_SystemCenter_Notification_NotificationActionAccount + $RunAs[Name="MSNL!Microsoft.SystemCenter.Notification.NotificationActionAccount"]/UserName$ / $RunAs[Name="MSNL!Microsoft.SystemCenter.Notification.NotificationActionAccount"]/Password$ + + + Microsoft_SystemCenter_DataWarehouse_SdkSqlAuthenticationActionAccount + $RunAs[Name="MSDL!Microsoft.SystemCenter.DataWarehouse.SdkSqlAuthenticationActionAccount"]/UserName$ / $RunAs[Name="MSDL!Microsoft.SystemCenter.DataWarehouse.SdkSqlAuthenticationActionAccount"]/Password$ + + + Microsoft_Unix_ActionAccount + $RunAs[Name="Unix!Microsoft.Unix.ActionAccount"]/UserName$ / $RunAs[Name="Unix!Microsoft.Unix.ActionAccount"]/Password$ + + + Microsoft_Unix_AgentMaintenanceAccount + $RunAs[Name="Unix!Microsoft.Unix.AgentMaintenanceAccount"]/UserName$ / $RunAs[Name="Unix!Microsoft.Unix.AgentMaintenanceAccount"]/Password$ + + + Microsoft_Unix_PrivilegedAccount + $RunAs[Name="Unix!Microsoft.Unix.PrivilegedAccount"]/UserName$ / $RunAs[Name="Unix!Microsoft.Unix.PrivilegedAccount"]/Password$ + + + 300 + true + + + + +