User Profile
peter_s
Copper Contributor
Joined 7 years ago
User Widgets
Recent Discussions
How can I easily get a remote service's start time?
I have an app that displays services on remote servers. I get the information by using ManagementScope scope = new ManagementScope(thecomputerpath, options); and wind through the ManagementObjects and get the service name, displayname, status and startmode. Unfortunately the object doesn't contain the start time of the service. Assuming it is not available in this object? Is there any easy way to grab the start time when I am looping maybe by grabbing the PID?372Views0likes0CommentsRemotely get the start time of a process through Powershell
If I run the following command remotely, the starttime comes back as blank Get-Process -ComputerName myComputer | select name, id, starttime | select-string myProcess However if I run it on the target machine it works fine and I can get the starttime. How can I get the starttime of a server process from a remote computer?Solved1.3KViews0likes2CommentsPowershell command to list all the app pool settings including recycling and advanced properties
Is there a powershell command to list all the app pool settings including recycling and advanced properties? I looked at the applicationhost file and that is not helpful. I would like to create a report using Powershell of all app settings as I need them to be all uniformed. There did not seem to be many scripts out there that listed all properties to achieve this. Has anyone successfully done this before?523Views0likes0CommentsIs it possible to add an index to a read-only database?
I was given a read-only (daily log shipped) copy of our production database (updated daily) to do some special reporting and the report needs to be optimized with a new index. However because the database is read-only I cannot add an index. From the information I have been given they are telling me to add that index to the production database and it will port over. Since this is a production database, I can't so easily do a change like that without getting approvals from the vendor and dba etc. which could be a long time. Can I make that database writeable and add the index with a job perhaps and set it back? Any other workarounds or thoughts would be greatly appreciated!!Solved4.3KViews0likes1CommentDatabase configured with 14 extra database files with unique filegroup names
We have a vendor's database that is configured 14 extra unique filegroups. One of them is taking over most of the drives disk space. Usually I have just seen an LDF and an MDF. The first one that was created is taking 850GB some 1MB others more space. Are these created for performance gains if they are distributed to separate disk drives? Is that the main reason? Also why is the first one taking up most of the space? It's a pain because we are running out of space so we made need to move some or all of those off the disk drive. Sorry the vendor called the filegroup DBSpace1 etc. and refer to it in their document as a DBSpace so it confused me but reworded my original question, thanks!!!!!!2.5KViews0likes3CommentsRe: Dual Boot Windows 7 and Windows 10 from separate drives?
I did see suggestions for that product but I was trying to get a Microsoft solution. Windows 10 is my primary OS btw. I saw that Windows 10 had a nice UI for the boot screen and would love to get that to work. Problem is that Microsoft doesn't realize is that a lot of us have old hard drives and it makes no sense to install Windows 10 on the same drive as our Windows 7 OS. Especially where the new drives are so much faster and saving our data from destruction increases exponentially.29KViews0likes0CommentsDual Boot Windows 7 and Windows 10 from separate drives?
Seems like an age old question but it seems like I am close. I would like to get a boot option menu on reboot and choose from two different Windows (7 & 10) on two different drives. I have Windows 7 32bit on my D drive and Windows 10 64bit on my C: drive. I was led to believe I could add it with this command: bcdboot d:\windows /d /addlast However I am getting a "Failure when attempting to copy boot files" error. I am a little worried about experimenting as I could destroy my boot block on my windows 7 drive. I guess worse case I can change the boot order in the BIOS but it would be nice to do that with a boot menu. Some of the windows 10 boot tutorials seemed to lead me to believe this option would be detected but I am gathering it would have happened if it was done on all the same drive. BTW these are SATA drives.29KViews0likes3Comments
Groups
Recent Blog Articles
No content to show