Tuesday, February 1, 2022

PowerShell to invoke Add Monitoring Wizard

PowerShell to invoke Add Monitoring Wizard

I am trying to use PowerShell to automate the steps of deploying and configuring our management pack.  Our manual process installs a template and then we select the Add Monitoring Wizard option to step through creation of the actual instance used for monitoring.

I've been able to decipher some of the SCOM PowerShell cmdlets to handle some of the other simple things, like creating a Run As account and associating a Run As account with a Profile. But I'm having difficulty determining which cmdlets to use that would perform the role of the Add Monitoring Wizard.

Does anyone have a sample I could use to try to build it out for my environment

Thanks.


. : | : . : | : . tim

Issues Optimizing Workbook for Q&A

I have an Excel workbook with a functioning Power Pivot data model and two Power View dashboards.  The Power Pivot data model doesn't show any errors or issues when I am inside of Excel, it has been successfully updating its data on a daily basis using the Power BI Gateway, and I have even updated some of the Synonyms from within the workbook in preparation for loading it into the Power BI Q&A tool.  However, whenever I tell the Power BI site to "optimize" the workbook for Q&A, it comes back with the following error:

oops, something went wrong
Failed to get Modeling Metadata. The data model is invalid.
Error Code 200
Activity Id 97804846-faf9-418e-cb17-dc021d3974bc
Request Id db7a2c77-7ebd-323c-1385-7ad165c70317
Time Mon Aug 25 09:58:41 CDT 2014

I can't figure out where this keeps coming from, and there isn't much information out there about troubleshooting Q&A available just yet.


Reply:

Meg, is this still an issue?

Thanks!


Ed Price, Azure & Power BI Customer Program Manager (Blog, Small Basic, Wiki Ninjas, Wiki)

Answer an interesting question? Create a wiki article about it!


------------------------------------
Reply:

I just got this as well!

oops, something went wrong
Failed to get Modeling Metadata. The data model is invalid.

Error Code200
Activity Idb1127645-b1a3-7bd4-72f6-fec950658a3f
Request Idc98d9c6d-5343-f61c-63d1-33bb1001a7c2
TimeTue Oct 14 2014 15:41:33 GMT+0100 (GMT Daylight Time)


------------------------------------
Reply:

Does anyone have suggestions for Narius or Meg?

Thanks!


Ed Price, Azure & Power BI Customer Program Manager (Blog, Small Basic, Wiki Ninjas, Wiki)

Answer an interesting question? Create a wiki article about it!


------------------------------------
Reply:

Is this still an issue?

Thanks!


Ed Price, Azure & Power BI Customer Program Manager (Blog, Small Basic, Wiki Ninjas, Wiki)

Answer an interesting question? Create a wiki article about it!


------------------------------------
Reply:
It is still an issue for me. Is there a known resolution to this problem?

------------------------------------

Accounting for different skill levels?

Guys,

How would you account for different abilities when assigning resources to a task?

Say you had task 'Paint a Wall' which you knew would take 20 hours, an estimate based on an experienced painter and decorator. Ignoring other stuff say something like this:

  • 1x experienced  = 20 hours duration.
  • 2x experienced  = 10 hours duration
  • 4x experienced = 5 hours duration
  • 1x apprentice = 40 hours duration
  • 2x apprentice = 20 hours duration.

And you wanted to put 1x experienced and 1x apprentice on a job. I make it the duration should be 13.3 hours - the experienced painter doing more work than the apprentice.

How would you represent this in Project?

Thanks


Reply:

Rob-R,

Similar to my response to your other post, sometimes you can get down to just too much information. One way to approach the skill level question is to simply create resource groups, in your example, call it "painters" with no distinction of skill level. However, if you plan to assign only an experienced resource or only an apprentice resource to a given task then you might want to show those resources as separate skill levels and assign them accordingly.

John


------------------------------------
Reply:

Basically in this example there's going to be a senior and junior dev working on it, and that's for all of the tasks within the project - quite which specific tasks on the WBS isn't known and (as per the other post) is outside the scope of a project plan really.

I guess all I'm looking to capture is that the 20h task with 1x senior and 1x junior will be done in 13.3 hours as opposed to 20h duration wise - as this will show me how long these 2 week and 1 month projects might get done in. Plus I'm running this off a resource pool so I want it to be clear that these resources are reserved so to speak.

I was going to drop the junior resource to 50%, I'm not sure if that's a sensible, or best practice way to achieve what I'm after though.


------------------------------------
Reply:
I'm not sure how you derived the 13.3 hours. If it's 20 hours of work for the sr. developer (2.5 days duration) and 40 hours of work for the jr. developer (5 days duration), I'm not sure where you got the split.  I don't think it's accurate to say the jr. developer is 50% allocated to the task. It is actually more work for the jr developer, not less.  I'd suggest asking for work estimates (not duration estimates).  Then reflect the resource's availability to the project.  My guess is the Sr. Developer is the one who has less availability - s/he is in higher demand.  If the Sr. Developer is going to do 15 hours of the work and the jr. developer 10 hours, assign them at those values and let Project calculate duration.

------------------------------------
Reply:

How I envisage this working in practice is that both would be working full time on the task until it is completed. So both would be working for an equal amount of time, however, the amount of work completed by the senior developer would be double that of the junior developer.

I have work estimates, but the issues is that all of the estimates are based on experienced developers. At this stage I'm dealing with an estimate at the macro level - so a group of 30 tasks might be 2 weeks dev for 1 experienced dev.

If I create a task, fixed work, add two resources, one developer at 100% and one developer at 50%. If I change the work to 20hours then the duration changes to 13.33 hours - so I guess that matches my post. With the senior dev at 90% (more realistic) that makes it 14.82 hours.

Whilst this may not be conventional - as the junior dev is 100% available, I can't see another option? - It's not like there's a work rate or effort coefficient that I can find (there may well be one though!)

Thanks for the replies.


------------------------------------
Reply:

Rob-R --

Pardon me for bumping into this post.  When you assign the resources to the task, try this:

  1. Apply the Gantt Chart view.
  2. Right-click anywhere in the Gantt Chart pane and select the Show Split item on the shortcut menu.
  3. In the Task Form pane, select the names of the senior developer and junior developer resources.
  4. In the Task Form pane, enter a Units value of 100% for the senior developer and enter 40 hours of Work.
  5. In the Task Form pane, enter a Units value of 100% for the junior developer and 20 hours of Work.
  6. Click the OK button.

Microsoft Project will calculate the Duration of the task based on the longest duration of each resource working on the task.  In this case, the Duration would be 5 days, based on the duration of the senior developer's task assignment.  I believe this would meet your planning needs without becoming overly complicated.  Just a thought.  Hope this helps.


Dale A. Howard [MVP]


------------------------------------
Reply:

Feel free to bump into this post Dale, all opinions and thoughts are most welcome :)

If I'm running this off a resource pool presumably the same could be achieved if I adjust the calendar for the resource to state that they can only work say 20 hours a week instead? - It sounds like that would do the same thing. A restriction I could lift when we deem them to be 'experienced' - or I could gradually increase over time.

It seems like this would do the same thing?


------------------------------------

Elevate to "Run as Administrator" for a single command

So I like to try to automate various tasks using powershell.  I also like to send the status and what is being accomplished to the application event log as it progresses.  That way I can run a powershell command and grab all the events fir that script from the log.

I do not want to have to pre-create the event source.  So in the beginning of the script I  am trying this code:

# Initialize source for Application Event Log
If ( -Not([System.Diagnostics.EventLog]::SourceExists('MyCurrentScript'))) 
    {
    New-EventLog -Source MyCurrentScript -LogName Application
    }

However even if I am running powershell as a user that is in the local administrators group it does not work.  I have to start powershell in the "Run as an Administrator" mode to execute the following code:

New-EventLog -Source MyCurrentScript -LogName Application

But then if I have to do a bunch of Active Director privileged tasks they fail.

So, how can I elevate to "Run as Administrator" for the one line???

Thank you,


  • Edited by Rayzavs1 Monday, June 8, 2015 8:28 PM Typo
  • Changed type Bill_Stewart Monday, July 13, 2015 3:33 PM

Reply:

The usual way is to start your PowerShell session elevated to begin with.

After it opens, run your script(s) that require elevation.


-- Bill Stewart [Bill_Stewart]


------------------------------------
Reply:

Bill,

How can you start as an administrator and have elevated privileges in Active Directory at the same time?

Can you provide and example?

Thank you,

Rayzavs


  • Edited by Rayzavs1 Monday, June 8, 2015 8:41 PM typo

------------------------------------
Reply:

Right-click PowerShell icon, then click "Run as adminstrator" to run PowerShell elevated.

Hold Shift key, right-click the PowerShell icon, then click "Run as different user" to run PowerShell as a different user.

These are two different things.


-- Bill Stewart [Bill_Stewart]


------------------------------------
Reply:

Both those are fine.  They are well known.  So my understanding is that on script may be launched from another.  Can one Run that Script in an elevated mode?  Can you pass a parameter to it?  If so how?  Then I think we could create a function to create the event log source. Then I can place that second script, "Event log source creator" in a repository and just call that if the event log source does not exist.  Then any server I move a script to run on would be able to create it and neither I nor my Team would need to remember to do do this. 

I just find it hard to understand why even a domain admin account cannot create a new windows event log source.  I am not a good enough powershell script writer to do this.  It would seem that this would be a bit of a short fall of powershell if I cannot overcome this.  

Here is  a whole example of on of the scripts.  The charge was to find stale computer objects.  Report on the changes and the counts of Live OS's in A.D.  The concern for this script was that the policy dictated that the computer account be first disabled then moved to a "Disabled" OU.  After it was there for 30 days it could then be deleted.  The policy was formed that way to mitigate worries from the desktop team about overwhelming tickets related to deleted accounts.  So I wrote the following script.  It may not be the best written code ever but it works for us.  I just need a little help with that one piece

# Created by Rayzavs (6-5-2015) # This script is to perform Maintenance on Active Directory Computer Objects. # It Completes the Following Functions: # 1) Creates an event log Source for the script if it does not exist. then Logs all steps in the application log. # 2) Creates a report of the Counts of OS's in Active directory before it runs # 3) Finds Stale Computer accounts by 90 days and disables said stale accounts. # 4) Moves Accounts with Blank "LastLogonDates to OU=Blanks,OU=DisabledComputers, OU=Disabled, DC=NorwalkHealth,DC=org # 5) Moves Stale Computer account to OU=DisabledComputers, OU=Disabled, DC=NorwalkHealth,DC=org # 6) Creates a report of the Counts of OS's in Active directory After it runs. # 7) Captures Log information from the script and emails summary to list of users # Pre-Requisite: need to ha c:\Scripts folder or change paths; need to have edit LDap Paths for OU's to move Disabled Computers to (66 and 87). # NOTES Custom Lines you will need to edit 14, 66, 87, 173 $EmailSmtpServer = "YourSMTPServer.mycorp.com" $ComputersDisabledLog = "" $EventMessage = "" # Initialize source for Application Event Log If ( -Not([System.Diagnostics.EventLog]::SourceExists('StaleComputerOBJPowershellScript'))) { New-EventLog -Source StaleComputerOBJPowershellScript -LogName Application } # Note the start of Process in Event log $EventMessage = "Started stale Computer account process: " + (get-date) Write-EventLog -LogName Application -Source StaleComputerOBJPowershellScript -EntryType information -EventID 60001 -Message $EventMessage $MailBody = ($EventMessage) + " `n " # Reset Counters $TCount = $CountXP = $Count2k = $win7 = $win2k3 = $win2k8 = $win2k12 = $win8 = $win10 = $CountBlank = 0 # create counts of Active Computers before changes $ActiveComputers = Get-ADComputer -Property Name,lastLogonDate,OperatingSystem,OperatingSystemServicePack -Filter * ForEach ( $Computer in $ActiveComputers) { if ($Computer.Enabled -eq $True) { Switch -Wildcard ($Computer.OperatingSystem) { "Windows XP*" {$CountXP = $CountXP + 1 } "Windows 2000 Server" {$Count2k = $Count2k + 1} "Windows 7*" {$win7 = $win7 + 1 } "Windows Server 2003" {$win2k3 = $win2k3 + 1 } "Windows Server 2008*" {$win2k8 = $win2k8 + 1 } "Windows Server 2012*" {$win2k12 = $win2k12 + 1 } "Windows 8*" {$win8 = $win8 + 1 } "Windows 10*" {$win10 = $win10 + 1 } $Null {$CountBlank = $CountBlank +1 } } $TCount = $TCount + 1 } } $ActiveBeforeCompTotal = "The Total # of Computer objects before running was " + ($TCount) + ". `nThere were a total of " + ($count) + " computers disabled!`n" + "There was " + ($CountXP) + " Windows XP, " + ($Count2k) + " Win2K server, " + ($win7) + " Windows 7, " + $win2k8 + " Windows 2008 server, " + $win2k3 + " Windows 2003 Server, " + $win2k12 + " Windows Server 2012, " + $win8 + " Windows 8, " + $win10 + " Windows 10, " + " and " + ($CountBlank) + "Blank Computers. `n `n `n" $MailBody = ($MailBody) + $ActiveBeforeCompTotal + " `n " # Set Stale limits $then = (Get-Date).AddDays(-90) # The 90 is the number of days from today since the last logon. # Reset counters $Count = $TCount = $CountXP = $Count2k = $win7 = $win2k3 = $win2k8 = $win2k12 = $win8 = $win10 = $CountBlank = 0 # Set Move to location for Blank Computer accounts $MoveToLocation = "OU=Blanks,OU=DisabledComputers, OU=Disabled, DC=MyCorp,DC=com" # Checking for Blank lastlogonDate Computer accounts $BlankComputers = Get-ADComputer -Property Name,lastLogonDate,OperatingSystem,OperatingSystemServicePack -Filter * foreach ($Computer in $BlankComputers) { if ($Computer.LastLogonDate -eq $Null ) { $ComputersDisabledLog = $ComputersDisabledLog + $Computer.Name + "`t" + $Computer.DistinguishedName + "`n" # !!!!!!! Perform Disable and move of Blamk Acounts !!!!!!!! Disable-ADAccount $Computer.distinguishedName Move-ADObject $Computer.distinguishedName -TargetPath $MoveToLocation $CountBlank = $CountBlank + 1 $Coount = $Count +1 } } # Checking for Stale Computer Accounts $MoveToLocation = "OU=DisabledComputers, OU=Disabled, DC=MyCorp,DC=com" $StaleComputers = Get-ADComputer -Property Name,lastLogonDate,OperatingSystem,OperatingSystemServicePack -Filter {lastLogonDate -lt $then} foreach ($Computer in $StaleComputers) { if ($Computer.Enabled -eq $True) { Switch -Wildcard ($Computer.OperatingSystem) { "Windows XP Professional" {$CountXP = $CountXP + 1 } "Windows 2000 Server" {$Count2k = $Count2k + 1} "Windows 7 Professional" {$win7 = $win7 + 1 } "Windows Server 2003*" {$win2k3 = $win2k3 + 1 } "Windows Server 2008*" {$win2k8 = $win2k8 + 1 } "Windows Server 2012*" {$win2k12 = $win2k12 + 1 } "Windows 8*" {$win8 = $win8 + 1 } "Windows 10*" {$win10 = $win10 + 1 } } $ComputersDisabledLog = $ComputersDisabledLog + $Computer.Name + "`t" + $Computer.DistinguishedName + "`n" # !!!!!!! Perform Disable and move of Stale Computer Accounts !!!!!!!! Disable-ADAccount -Identity $Computer.DistinguishedName Set-ADComputer -Identity $Computer.DistinguishedName -Description ("This account was disabled on " + (Get-Date) + " by the Automated Stale Computer Stript") Move-ADObject $Computer.DistinguishedName -TargetPath $MoveToLocation $Count = $Count + 1 } } # Building Event message and email Body $DisabledCompTotal = "There were a total of " + ($count) + " computers disabled!`n" + "There was " + ($CountXP) + " Windows XP, " + ($Count2k) + " Win2K server, " + ($win7) + " Windows 7, " + $win2k8 + " Windows 2008 server, " + $win2k3 + " Windows 2003 Server, " + $win2k12 + " Windows Server 2012, " + $win8 + " Windows 8, " + $win10 + " Windows 10, " + " and " + ($CountBlank) + " Blank Computers that were disabled. `n The Disabled Combuterojects were moved to " + ($MoveToLocation) + "`n `n `n" $MailBody = ($MailBody) + ($DisabledCompTotal) # Note the Disable Results of Process in Event log $EventMessage = ($DisabledCompTotal) + (get-date) Write-EventLog -LogName Application -Source StaleComputerOBJPowershellScript -EntryType information -EventID 60001 -Message $EventMessage # Write-EventLog -LogName Application -Source StaleComputerOBJPowershellScript -EntryType information -EventID 60001 -Message ("List of computers: " + " `n " + ($ComputersDisabledLog)) # Reset Counters $TCount = $CountXP = $Count2k = $win7 = $win2k3 = $win2k8 = $win2k12 = $win8 = $win10 = $CountBlank = 0 # Active Computers after the changes $ActiveComputers = Get-ADComputer -Property Name,lastLogonDate,OperatingSystem,OperatingSystemServicePack -Filter * ForEach ($Computer in $ActiveComputers) { if ($Computer.Enabled -eq $True) { Switch -Wildcard ($Computer.OperatingSystem) { "Windows XP Professional" {$CountXP = $CountXP + 1 } "Windows 2000 Server" {$Count2k = $Count2k + 1} "Windows 7 Professional" {$win7 = $win7 + 1 } "Windows Server 2003" {$win2k3 = $win2k3 + 1 } "Windows Server 2008*" {$win2k8 = $win2k8 + 1 } "Windows Server 2012*" {$win2k12 = $win2k12 + 1 } "Windows 8*" {$win8 = $win8 + 1 } "Windows 10*" {$win10 = $win10 + 1 } $Null {$CountBlank = $CountBlank +1 } } $TCount = $TCount + 1 } } $ActiveAfterCompTotal = "The Total # of Computer objects After running was " + ($TCount) + ". `nThere were a total of " + ($count) + " computers disabled!`n" + "There was " + ($CountXP) + " Windows XP, " + ($Count2k) + " Win2K server, " + ($win7) + " Windows 7, " + $win2k8 + " Windows 2008 server, " + $win2k3 + " Windows 2003 Server, " + $win2k12 + " Windows Server 2012, " + $win8 + " Windows 8, " + $win10 + " Windows 10, " + " and " + ($CountBlank) + " Blank Computers. `n `n `n" # Note the Total Active Computers in the Event log $EventMessage = ($ActiveAfterCompTotal) + (get-date) Write-EventLog -LogName Application -Source StaleComputerOBJPowershellScript -EntryType information -EventID 60001 -Message $EventMessage # add to and Build Body of Email $MailBody = ($MailBody) + "`n" + ( $ActiveAfterCompTotal) + " `n " + "List of computers move: " + " 'n " + ($ComputersDisabledLog) # Send email Message with application log activity related to the Script # Script run monly so this will give report for current month and previous. You can change this to whatever is best for you. $LogDate = (Get-Date).addDays(-60) # Create Report from Application log on this script. Export to a CSV $AttachementCSV = "C:\Scripts\staleComp.csv" Get-EventLog -logname Application -Source "StaleComputerOBJPowershellScript" -After $LogDate -Before (Get-Date) | export-csv -Path $AttachementCSV -Force #List of Disabled and moved Computer accounts + New Location $AttacheStaleCSV = "c:\Scripts\StaleCompList.txt" $ComputersDisabledLog | Out-File -filepath $AttacheStaleCSV # Send Mail Message to a list of Users $MailSubject = "Stale Computers Disabled on " + (Get-Date) Send-MailMessage -From "StaleComputerScript@Mycorp.com" -To "User1@MyCorp.com", "User2@mycorp.com" -Subject $MailSubject -Body $MailBody -SmtpServer $EmailSmtpServer -Attachments $AttachementCSV, $AttacheStaleCSV



  • Edited by Rayzavs1 Tuesday, June 9, 2015 1:16 PM text in wrong place

------------------------------------
Reply:

The point is that you cannot bypass elevation even if you are an administrator.  You must choose to run the whole script as an elevated administrator in order to write to the eventlog.

The eventlog is not intended to be an application log.  For application logging you should use a file.  THeeventlog is usually used for specif notifications that are of a more global nature.

You can do this without elevation:

write-eventlog -LogName 'Windows PowerShell' -EventId 1 -Message 'My Test log' -Source powershell

Only an elevated admin can create event source names.  They only need to be created once.


\_(ツ)_/


------------------------------------

The "Refresh Now" works but the "Scheduled Refresh" does not

I am able to click Refresh now on my datasets and it refreshes fine. But I cannot schedule a refresh for any of my datasets. I get the following error: "You can't schedule refresh because this dataset contains data sources that do not yet support refresh. Learn more about the data sources we support for refresh."

When I create the datasets, I create the power query in Excel 2013, upload it to OneDrive, and then upload it to Power Bi Preview. I don't understand why it works for the refresh now but not the scheduled refresh. Is there a fix for this?


Reply:
Agaljour, is this still an issue?

Thanks!


Ed Price, Azure & Power BI Customer Program Manager (Blog, Small Basic, Wiki Ninjas, Wiki)

Answer an interesting question? Create a wiki article about it!


------------------------------------
Reply:

Hi agaljour,

Is this still an issue? Can you confirm what data sources your are connecting to via Power Query?


Regards,

Michael Amadi

Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to vote it as helpful :)

Website: http://www.nimblelearn.com, Twitter: @nimblelearn


------------------------------------

When I refresh my data, the dashboard does not update and I get an error

I am able to connect to my excel report through OneDrive, and I can make changes and add new data and refresh it perfectly fine. My only issue is when I refresh my dataset, it does not update the dashboards I have created. When I click on the dashboard, I get an error that says "We can't display this visualization because the data model has changed. The report author needs to open the workbook to the Excel client, save it, and upload the workbook again."

We run daily reports on specific information, and don't want to have to keep re-creating the dashboards every time we update our datasets and refresh them. Is there a fix for this? 


Reply:
Agaljour, is this still an issue?

Thanks!


Ed Price, Azure & Power BI Customer Program Manager (Blog, Small Basic, Wiki Ninjas, Wiki)

Answer an interesting question? Create a wiki article about it!


------------------------------------
Reply:

Hi agaljour,

Is this still an issue?


Regards,

Michael Amadi

Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to vote it as helpful :)

Website: http://www.nimblelearn.com, Twitter: @nimblelearn


------------------------------------

ADFS 2.0 - troubleshooting

Hello

i've setup a ADFS configuration for a SP relying party by importing their saml metadata.

Trying to access the SP link is not working and from doing a fiddler capture i am seeing the following as a response being sent from them.

<<samlp:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:InvalidNameIDPolicy"/>

I tried to set the nameidpolicy to be persistent on my adfs server by issuing the following command:

Set-AdfsClaimsProviderTrust -TargetName "XYZ-SSO" -RequiredNameIDFormat "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent"

Howerver it keeps throwing an error saying that " no claimsprovidertrust record found with the name "XYZ-SSO"

i tried using persistent, transient, unpspecified, but all are throwing me the following: "HTTP Status 400 - Error procesing AuthnRequest. Service provider does not support name identifier format
urn:oasis:names:tc:SAML:1.1:nameid-format:persistent"

  • Changed type Amy Wang_ Thursday, June 18, 2015 5:12 AM

Reply:

Hi,

Regarding claims based issue, I suggest you refer to experts from the following forum to get professional support:

Claims based access platform (CBA), code-named Geneva Forum

http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=Geneva

Thank you for your understanding and support.

Best Regards,

Amy


Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.


------------------------------------

Need freeware/open source third party tool for extending Windows 2003 server 's C: Drive

I am looking for freeware/opensource 3rd party tool for extending our Windows 2003 server's C: drive. Since diskpart in Windows 2003 cannot extent system and boot partitions. So, i have checked from bellow thread & maximum tool is not free.

https://social.technet.microsoft.com/Forums/windowsserver/en-US/03068ecb-7edd-43d8-bc68-12bc466c583f/how-to-extend-the-windows-2003-c-drive?forum=winservergen

Anyone there could help me out finding a working tools for that!

OS is in VMware ESXi 5.5.

How can Edge (Spartan) be a useful part of an Enterprise? It has no add-on, BHO, or Application URI support?

With internet explorer there were, if anything, too many ways to make add-ons:

1. ActiveX plugins. Glad they're going away. Fine.

2. BHOs

3. Application URI support (by adding to HKEY_CLASSES_ROOT)

4. Browser Add-Ons of AnY kind?

Now in Spartan/Edge, the web browser can not auto-launch things on Windows, can not integrate, etc etc. How will the various companies that rely on having such features be able to operate?  For example, how will GoToMeeting clients work with Microsoft Edge? They won't.   This will hinder Edge/Spartan adoption,and be a further nail in the coffin, ensuring close to 100% usage of Chrome.

Warren




wp

  • Changed type Brandon RecordsModerator Wednesday, June 17, 2015 2:52 PM Original post initiates discussion of Microsoft Edge enterprise functionality.
  • Moved by Brandon RecordsModerator Wednesday, June 17, 2015 2:52 PM Moved to more appropriate forum.

Reply:

I just tested GoToMeeting - works fine. WebEx too.  You can test it yourself - Citrix has a permanent test meeting available here: https://www3.gotomeeting.com/join/406552062

And when I try to access something from the iTunes store - say the Intune Company Portal - from within the Edge browser, right at the top of the page, it says "View in iTunes".  I click it, and boom, goes right to the page to download it from within iTunes.  Check it out for yourself:  Company Portal

Next time, you may want to try out the features first, before mentioning they won't work. 


  • Edited by Q-Tech Monday, June 8, 2015 6:50 PM Intune link broken

------------------------------------
Reply:

Hi Warren,

Thanks for the voices.

Yes Microsoft Edge is not perfect enough to manage enterprise things by now, and that is why Microsoft is going to keep Internet Explorer 11 stayed in Windows 10.

And if we have any issues/Suggestions, please take use of Windows Feedback Tool, or use the feedback in Microsoft Edge directly to submit them.

Regards


Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.


------------------------------------

Exchange 2013 cannot connect to ECP

After an exhausting Exchange 2013 install I now find myself unable to connect to ECP! Pointing to the correct VD in IIS, correct permissions. No idea where to even begin. 
  • Changed type Vivian_Wang Tuesday, June 9, 2015 4:18 AM

Reply:

Hi,

Any error message about the connection failed?

Meanwhile, for the exchange related issue, you could ask in exchange forums:

https://social.technet.microsoft.com/Forums/windowsserver/en-US/home?category=exchangeserver

Regards.


Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com


------------------------------------

boot manager missing dont have install disc

can you please help me out

Reply:

Does your system has any recovery environment pre-installed which lets you boot
into and restore the factory settings?


S.Sengupta, Windows Experience MVP



------------------------------------
Reply:

Consider using 'Startup Repair' after giving try to 'Sengupta' suggestion. Start tapping 'F8' just after starting your PC and you'd be able to see the advanced startup options. Hit enter and you'll be able to see helpful system recovery options with 'Startup Repair' listed at the top. Follow the same procedure 2 or 3 times to ensure that startup repair has successfully replaced all the damaged or corrupt system fils. 

Let us know your progress!!


------------------------------------

AD RMS

puedo instalar AD RMS en el mismo controlador de dominio? solo como prueba.

Reply:

Hi,

Please understand that this is an English forum. As you are using Italian, please post to Italian forum instead:

https://social.technet.microsoft.com/Forums/windowsserver/it-IT/home


Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.


------------------------------------

Measure based on a DistinctCount on dimension

I'm quite new at Analysis Services and I need a calculated measure that counts the amount of worked days per month.

Here's what I've made:

WITH MEMBER MEASURES.[Worked days] AS   	'IIF(  		IsEmpty([Measures].[Session Count]) or [Measures].[Session Count] = 0,   		null,    	distinctcount([TimeDim].[Complete date].members)  	)'  SELECT   	[User].[User].members ON 1,   	{  		[Measures].[Worked days],  		[Measures].[Updates]  	} on 0   FROM   	"Usage Cube"   WHERE [TimeDim].[Month].[November]

The problem with the new measure is that the where clause isn't making any effect on it. It's returning the amount of worked days in the whole database instead of just in the given month. What am I missing here?

Thanks in advance.


Reply:
If you have a data column on the fact object, Do a distinct count on the date and slice it per user(Dimension).

------------------------------------
Reply:

Maybe it may be, somehow, useful to someone, so here's how I pulled it off. It didn't seem to have a poor performance:

WITH   	SET [TimeFilter] AS   		'(filter([TimeDim].[Complete date].members, [TimeDim].[Month].currentmember))'  	MEMBER MEASURES.[Worked days] AS   	'IIF(  		IsEmpty([Measures].[Session Count]) or [Measures].[Session Count] = 0,   		null,    distinctcount([TimeFilter])  	)'  SELECT   	[User].[User].members ON 1,   	{  		[Measures].[Worked days],  		[Measures].[Updates]  	} on 0   FROM   	"Usage Cube"   WHERE [TimeDim].[Month].[November]



------------------------------------
Reply:

Another option is to use the Existing keyword. eg.

'IIF(  		[Measures].[Session Count] = 0,   		null,    	Count(Existing [TimeDim].[Complete date].members)  	)'

It will help if you have configured the attribute hierarchy correctly. For example, Month should be an attribute of Complete date.

Hope that helps,


Richard


------------------------------------

Rant -- I don't see a category for "About to throw oneself out of WINDOW" forum

 I was installing 8.1 pro on a VM on my personal PC (wanted to stay on 7)  to transfer the VM to a MAC so I can use RoboHelp. 

Windows 8.1 COMPLETELY installed itself on MY personal PC  HOSING it--I called support and Armand is possibly the worst CS agent I have dealt with. I couldn't possibly explain what happened he just didn't get it,  but now I am on 8.1 my programs are GONE--AND I am on the hook to buy work a new 8.1..no there is not a partition. 

I tried to explain that

  •  I have now just lost my personal PC and
  • I am on the hook to replace the Windows 8.1 license--I tried to go back to Windows 7 to free up the 8.1 license for work --omg do not ever try to go back to factory install. MY PROGRAMS are gonzo, all of them Windows Office, I don't know where the key is it was a download link when I bought PC =O

Armand is all well we will block the 8.1 on your PC--and I say noooo omg I don't have another OS on my machine now--then I find out, he DID block it so it keeps trying to kick me off. I told him at the time he is not helpful (he is truly stupid or a great actor of stupid)l, I called replacement # and talked to 1 woman and then her supervisor all they did was say "I'm sorry, there is nothing I can do for you"  and throw me against a brick wall of corporate non-accountability. Armand was like explaining this to someone from a different century he kept saying that he couldn't help with VM operations and wanted to transfer me--nooo forget about the VM I kept saying, I need another OS--instead he blocked 8.1 on my machine and now I am soooooo sooooo screwed. 

I just lost my personal pc and programs and files--because Windows 8.1 literally consumed my computer and I don't even know what I am going to to--what hurts the most and yes, I have cried was just how awful all 3 customer service reps were. I am so disgusted and mad, I am looking into a technical doc tool that doesn't rely on windows, I was always a PC person--OH HELL NO, not any longer. It's beyond anything I have witnessed as far as COULD NOT CARE Less. It's disgusting and criminal, MS just took hundreds of dollars and a long week-end away from me, nevermind the awful feeling --it's terrible I'm so so upset. EFF you too Windows, FU too.



Reply:

I'd ask over about what might have gone wrong.

https://social.technet.microsoft.com/Forums/windows/en-us/home?forum=w7itprovirt

 

 

 


Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows]

Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.


------------------------------------
Reply:
It doesn't really matter because I couldn't get the OS back even if I knew what exactly happened--all I know is that MS didn't stand by the product or make it right for me and I feel quite bitter about it. I ended up setting up a virtual desktop, giving up on the VM and purchasing a new windows 7 for my own pc. MS support couldn't understand what happened enough to recognize how badly MS software screwed me, my personal and business machines. I will do everything that I can to only work on Mac and Adobe for the rest of my days. I used to laugh at the people who felt enmity against MS, I never really understood it until now. A corporation with the size and might of MS not helping a tech writer whose pc was just hijacked by a legitimately purchased product is insane and wrong to me. Obviously, I'm not letting it go anytime soon.

------------------------------------

I am unable to see the end point WS-Trust url in my ADFS 2.0 MMC

Hi All,

I am unable to see the end point WS-Trust url in my ADFS 2.0 MMC


Thanks,

Arjun.

  • Changed type Frank Shen5 Monday, July 13, 2015 2:26 AM Redirected

Reply:
I would recommend asking them here: https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=Geneva

This posting is provided AS IS with no warranties or guarantees , and confers no rights.

Ahmed MALEK

My Website Link

My Linkedin Profile

My MVP Profile


------------------------------------

Still not what a pro desktop user needs

I'm sorry to say that, tried W8, did not want it at all, thought W10 would bring back a pro GUI, but it's not !

I tried the professionnal x64 release, the start menu shows 10% or less professionnal tools, where is the run button ?

I'm disappointed that the unique flat theme offers almost no usefull customization, for productivity, people need that (the way it was on Windows XP was much better). Can't Microsoft hear that ? Each user has his own way of working, mousing, keyboarding... and needs a GUI where all elements can be resized, colorized... etc. Search on the web for "Change explorer background color windows 7" and you will see what I mean. I hate to have a bright white background, it hurts.

Pro workstations and mobile devices are as different as would be fridge and a thermos. Would you design a fridge considering thermos requirements ?

I can't believe Microsoft is paying attention to users feedback, I believe they pay attention only to their marketing department for whom only market part size matters.

All serious corporations (like banks, government, industry, R&D...) should never accept cloud data hosting nor cloud apps, security & privacy are their priority.

All Unix GUIs were made for pro users, and these users were feeling fine with these. Why didn't you just made a X11-like GUI as Apple did ? What most users (even home users) want is performance, simple actions and customization. They won't upgrade their OS just for some more integrated gadgets and a cloud-binded system. Some may want, I will never.

Regards,

B.P. Software & System Eng. (Embedded systems)


Reply:

To be positive too, here are simple ideas that would make IMO a pro release :

  • Office should be fully integrated to the O.S. (at least most used apps: word, excel)
  • Events console rapid access
  • CLI (command) rapid access
  • TCP/IP config 1-click access (not 10 clicks to change a DNS adress)
  • Meta-desktop view with multiple desktops seen as sub-frames allowing drag&drops, copy/pastes...
  • Components activation choice during install process
  • Pro backup solution integrated
  • Automation tools, simplified tasks scheduler, indexing options
  • simple / advanced / Unix-like search engine (3 levels)
  • shared DNS server component for intranet domain to replace workgroup system even without any local windows server available
  • ...

------------------------------------
Reply:

Agreed. I waited for a few updates before i installed on a dual boot machine. I to did not touch W8 or 8.1, i used it a bit and hated the fact that it was obviously created for a computer that very few of us had.

Now we have Windows 10 and apart from a few changes we seem to have basically stuck to the same problems that W8 had for everyone. At least now its feels a bit like it was actually made with a non tablet/touch screen in mind as well.

However if after this build we have basically seen all there is to see then i think i will stick with W7, when will MS learn to give us what we want not what they think we want. To many clicks to do a simple thing, stuff still hidden in to many different places. The should be far less folders and menus than there is now. We would like a slimmed down GUI but we still want to be able to customise it to our preferences.

I want to have the GUi of my choosing, font, colour, size of menu bar, size of scroll bar etc, all these things we had in W7 and now with 8 and now 10 we have lost this. I bet there are allot of tweakers out there who are licking their lips at all the tweaks they are going to come up with so we can have the interface we want.

Looks like i will be un installing W10 when it ships because i cant see it being anything like i hoped or wanted. I do wonder who it is that MS claim to be listening to if we cant get the OS we want.

Yours to loose MS.


------------------------------------
Reply:

Completely agree with your opinion. The lack of customization options is why I NEVER seriously considered windows 8 and I WON'T install win10 even for free unless:

1) I get TOTAL control and ability to completely remove and disable Metro elements. I work on my PC and I don't need the clutter... I have other devices for social apps and a web browser that is far more secure than MS's offering. Lastly, I will sooner destroy my pc with a blow torch than give a bunch of apps invasive permissions to have access to my personal computer. I dislike that for the phones and even more for PCs.

2) I can completely disable any MS access to my machine with the exception of windows update and technical assistance IF required and accepted by me. By this I mean: no active aps, MS store (they have websites if I need to buy things).

The biggest issue here is not some sort of "aversion to 'progress'" as some marketers keep pointing out, but aversion to useless clutter that doesn't contribute anything to my productivity and serves as a distraction. I think most thinking individuals would agree that there is a difference between those two concepts.


------------------------------------
Reply:
I was reading some comments by MS moderators and basically the attitude I spotted was a sort of "we are better than thou" bit with a side serving of "get on with progress you backward log"...  I think at some point the philosophy of this company (as well as of it's founder) changed from providing a competitive product for clients (if it ever was that) to basically telling clients what they should want and be - "school to work", baby... well, Win8 was the result........

But on a more serious note, the simplistic UI and picturesque "we will now run your pc" is based on a marketing calculation; that most users actually will benefit from a simple to use computer that hides all the guts and gives you a "feed" of social app candy... so, they know they will profit from this simplistic and inflexible UI!!!!!!

The failure of win8 in that respect was probably all the terrible reviews the OS got from experienced users. They are now being smarter and just GIVING AWAY win10 lol well, NOT with METRO and a store I can't remove, you don't. But if they throw enough money at advertising and give out enough copies, they may actually succeed.


  • Edited by klarion Monday, June 1, 2015 8:27 AM

------------------------------------
Reply:

Unfortunately the fact is, Steve Balmer, the Previous Microsoft CEO was the one that invented the "Metro Design" which makes it some how related to Android, and unfortunately also Trashed the "Windows Classic" Low-Res Themes(used by Windows 9x to Windows 7) instead because he felt Bill Gates was terrible at new Themes and such, figured as much with others, but also these 3 Reasons might have something to do with Crashes affecting the High-Res themes,

In Windows 8 and later, the following changes to the theming model address the previous drawbacks:  

  • The Windows classic theming model is no longer supported, enabling developers to maintain just one code path for applications that target only Windows 8.
  • Because visual styles and DWM are on in Windows 8, high contrast users have access to features such as thumbnail previews and the full-screen magnifier.
  • Visual styles support setting the colors of various UI elements, enabling high contrast users to customize the UI to accommodate individual needs and preferences.
  • Windows 8 includes compatibility support for existing applications that are designed to use high contrast themes based on the Windows classic theming model.

In Other Words, Microsoft's CEO Said No because of these 3 issues they do not want to Revisit, if anything, more people are going to get rather disgruntled and may even push Microsoft to Extend Windows 7 by another 4 years for support, just like what they did to XP, so in Turn, Microsoft is refusing to act on restoring the Windows Classic, well I figure this makes me rather upset on it, I just wish Microsoft had understood the reasons why the "Windows Classic" Low-Res Themes is one most users do not want to see going bye bye.

  • Edited by Jeffrey228 Monday, June 1, 2015 7:42 AM

------------------------------------
Reply:
All that you said is good and to the point... however, many people's gripes are not about Hi res display capabilities or any of the things that you mention, but rather, the layout, lack of versatility (being able to hide/remove unwanted elements), and generally gimmicky design with potentially intrusive app permissions.

For example, I like the visual styles of Win10... but I don't want to deal with app shortcuts, notifications all over the place, MS store and all of those other features casual users may like. I want a simple start menu bar that gives me access to programs, run command, all the internals of the OS and system settings.... simple and to the point while taking as LITTLE space as possible. You'd think that would be easy to accomplish. And don't get me started on the "integrated MS store" - talk about a deterrent to getting a PC OS..... I also would like MORE security and MORE privacy... not less.

  • Edited by klarion Monday, June 1, 2015 8:19 AM

------------------------------------
Reply:

The simple answer is choice, not control.


  • Edited by B4Marc Monday, June 1, 2015 12:18 PM

------------------------------------
Reply:

Thanks for these comments, I feel less alone :)

I don't understand why MS who is  used to copy other's ideas don't do it for this 2015 OS...

It's so usefull to have serveral customizable menus on a taskbar (like on Mac OS X), why getting sticked with only one tiny start button ?

And why do they throw away good things : the W7 gadget concept was nice, a background is a useless area, why not fill it with offline & online monitoring widgets (but CPU-light) ? Improving the gadget system would have been better than deleting it.

I'm surprised seeing so few innovations with the money they can spend in R&D...

I listed ideas in another post that do not seem to be on the same forum but to make it short it was talking about 2 main things people need from a desktop OS : Customization and Transparency

We don't want to use a kind of Trojan-based OS launching shadow offline or online tasks with no user prompt. We don't want either an intrusive OS. These are basic GUI design rules that were yet tought too engineers in the 90's, it's still available IMO.


------------------------------------
Reply:

I am exactly the same. I have disabled "action center" since it first appeared in vista or windows 7. I disable every single notification as well. I disable UAC. I don't use any of them modern apps and don't think i ever will. The only exception being the apps that replace existing windows applications like calculator. But even then i have my own image viewing software and browser like most people these days.

With that said i find windows 10 fine in that regard. I disable uac, login with a local account.Disable the notifications of all apps, disable the security center service. Disable the action center sys tray icon. I would also disable windows defender but they have now locked the service down to prevent that.

I also disable several windows tasks as well, defrag, auto disk check. windows defender scheduled scans.

As for styles/themes, in windows 7 i was forced to crack the dll to be able to use non official ms styles, which i always hated doing. Had to use the "uxtheme patcher", then i could use msstyles from deviantart or elsewhere. I asked MS in windows feedback to make it so that thirdparty styles could be added and even suggested that they should embrace that and make it easier for people to create their own styles by creating a better style API. Doesn't seem like they want to do that.

I have also requested that they add all the features from the software "7 taskbar tweaker" as that guy has managed through an explorer dll hook to add a whole ton of features to the windows 7 taskbar that makes it so much more functional.

I could only imagine what windows would be like if MS took all the effort they put in to making it work on tablets, in to making it a better OS for desktops.

One thing I have been requesting for years is full window transparency, so that i can make my putty window transparent. I don't think it would be difficult to add, linux based X environments have had full windows transparency for 15 years. There is also this very old and non updated software "virtual dimension" that actually still adds full window transparency to windows 7, although very buggy.

But like i said in its current state it (win10) does not annoy me in day to day use and that says a lot.

  • Edited by Johnmclain Monday, June 8, 2015 4:13 PM

------------------------------------
Reply:

The simple answer is choice, not control.


You're right about that!  Microsoft has followed the Apple lead and their aim is to control everything you do with a computer.  You must have a Microsoft account to access the "Store" exactly the same as Apple!  You can't even provide feedback without a Microsoft account, just like Apple.

It would have more efficient if Microsoft and Apple had just merged and migrated all the Windows users to OS X.


------------------------------------
Reply:

Hey bygp,

Right-click each of those tiles, and choose Unpin from Start Menu.

Once they're all removed you can mouse over the  right border of the area they were in and drag it over to the left.

Did you know that the Windows Key (looks like a flag) + R opens the Run window?

Did you see that if you right-click the Win 10 Start button, that Run is right there?

Also you can add things to the Start Menu, such as Run. To do that you'd find cmd inside of Windows/System32, then right-click it and choose Pin to Start Menu.



------------------------------------

Can not install Hyper-V on 10130 ( Solved )

I can not enable Hyper-V support on my laptop eventho my CPU supports it fully and virtualization is enabled in BIOS. After I check the box on the optionalfeatures.exe and the files seem all in place and the system reboots BUT it hangs while 66 % and then reverses all the changes made.

Any help is very much appreciated, Thank you in advance

Edit: Problem solved

I was careless enough not to uninstall a third party antivirus, after that was uninstalled all was just fine.


Reply:

Thank you for sharing your experience.


------------------------------------

in exchange 2007 i need to list all the users in a specific distribution group , somthing like all the users of the group gr_sales

i need to list teh names of all the users in a specific distribution group , somthing like all the users of the group "gr_sales"

thanks for your time


Juan Angel Graña MCSE


Reply:

Get-DistributionGroupMember –identity "gr_sales" | ft name|Out-File  c:\salidascript\grupo.txt


Juan Angel Graña MCSE


------------------------------------

Workflow task and MyTask webpart

Hi!

I created approval workflow in visual studio, but the task doesn't appears in the My Tasks webpart.

The workflow contains CreateTaskWithContentType.

Can anyone help me, how can I show the workflow task in the webpart?

We doesn't use Workflow Manager 2013.

Please help!

Thanks,

Mykie

How detailed do you/would you go?

Guys,

I'm trying to decide between two different approaches for a new project. This is perhaps more of a PM vs Project question but I figured that how one uses Project to track the two different approaches made it relevant...

I have a software development task, here's what I know at the moment:

  • There will be 6 'blocks' of development - for which I have approximate timings (but not scope yet!)
  • There will be 6 corresponding blocks of testing and feedback dev.
  • At the moment this will be resourced with 2x developers, the exact split of tasks isn't known yet
  • This will run from around now till about November.
  • When they have scopes devs create detailed WBSs going down to 1/4 hour tasks. A two week block might have say 50-60 tasks.

I'm tossing up two options:

  1. 1. Have the entire WBS in project, all the little 0.25 hour tasks and everything. Track it, giving me the most level of detail.
  2. 2. Have just the 6 blocks without breaking them down - meaning I may have a task of say 2 weeks, one of say 4 weeks etc.

I can see pros and cons of both, at the moment I'm erring towards the second approach - wondering if my project plan needs to be as detailed as approach 1. (bearing in mind a different system to record timings from the developers is in place and could be interrogated if one desires (TFS).

I'm curious as to what approach you take in your plans, thanks for reading :)


Reply:

Rob-R,

I vote for option 2 every time. Unless your whole project is very short, (e.g. 2 days total), breaking tasks down to .25 hours is in my mind, ridiculous. For a "normal" project of several weeks, months or years, that fine a detail will only result in someone spending all their time tracking the minutia.

But here's another approach. For long projects, (e.g. a few years), you might consider only planning out the first 6 months in detail, and by detail I mean tasks that are no less than a couple weeks duration, or month long tasks, depending on what gives the best visibility. Tasks beyond the 6 month window are held simply as planning packages but complete with estimated work and cost values (budget). As the program nears the end of the first 6 month window (e.g. at 4 or 5 months), expand the next planning packages with detail for another 6 months. Follow that process throughout the program.

My thoughts.

John


------------------------------------
Reply:

Thanks John, I was steering towards that way myself too. I discussed it with a colleague who seemed to agree as well.

As regards your other approach, we sort of do that with a rolling maintenance project, whereby the sum of the project is probably a few years but each item has an approximate cost and importance, when we can we group a few of them together to make a project - it sounds similar to what you're saying. This seems to work well for this kind of activity.


------------------------------------
Reply:

Rob-R,

You're welcome and thanks for the feedback. We used the planning package approach at the company where I worked. Our projects were engineering development so they had many unknown unknowns along the path to project completion. By using the planning package approach we were able to keep an overall budget per contact but yet had flexibility to adjust the details as the development progressed.

John


------------------------------------

No comments:

Post a Comment

Setup is Split Across Multiple CDs

Setup is Split Across Multiple CDs Lately I've seen a bunch of people hitting installation errors that have to do with the fact th...