patron
asked on
Power shell Script to Compare Disk Space ,Patches and Service status before and after reboot of windows servers
looking for power shell Script to Compare Disk Space ,Patches and service status before and after reboot of windows servers
or if there is any other better solution to do pre-post checks during ms patching
or if there is any other better solution to do pre-post checks during ms patching
ASKER
currently there is no tool available , and data looking for approx 250 boxes
if you want to get disk space of a remote system then thats not too hard - see example below from technet gallery
https://gallery.technet.microsoft.com/PowerShell-Script-to-Get-b6ca4350
Depending on what you mean by compare that could be incredibly challenging to do well or at least fast when you are looking at 250 servers
Service status should also be easy, you could agument this to pull from a file and then you would need to write some logic where a service is automatic but not running
PS C:\Users\chris> Get-Service -ComputerName SERVER01 | select -property name,starttype |where {$_.starttype -like
"automatic"}
Getting patch status is a lot harder especially when you want to compare, you are essentially replicating the functionality of a system management tool this would be a much better and more efficient solution, i don't think there are any free ones that will cover it so you might need to look at buying something.
https://gallery.technet.microsoft.com/PowerShell-Script-to-Get-b6ca4350
Depending on what you mean by compare that could be incredibly challenging to do well or at least fast when you are looking at 250 servers
Service status should also be easy, you could agument this to pull from a file and then you would need to write some logic where a service is automatic but not running
PS C:\Users\chris> Get-Service -ComputerName SERVER01 | select -property name,starttype |where {$_.starttype -like
"automatic"}
Getting patch status is a lot harder especially when you want to compare, you are essentially replicating the functionality of a system management tool this would be a much better and more efficient solution, i don't think there are any free ones that will cover it so you might need to look at buying something.
Take a look at Polymon. It's free. It's old - but it still works.
ASKER
Thanks Chris and Micheal
Can we use any script as using tool will be bit difficult to be approved for my banking domain?
And Polymon can we used for servers not in domain too ?
Can we use any script as using tool will be bit difficult to be approved for my banking domain?
And Polymon can we used for servers not in domain too ?
I don't understand your first question "Can we use any script as using tool will be bit difficult to be approved for my banking domain?"
And yes, Polymon can be used for servers not in a domain.
And yes, Polymon can be used for servers not in a domain.
ASKER
any specific version ,setup detail please ,may be am missing the correct one here ,please share url to get the same with more detailed information
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks
Do you have anything like that deployed?
How many servers are you looking to run this on?