@Obsolesce Microsoft/Powershell/Linux/Infrastructure/Databases
alex.olynyk
@alex.olynyk
Posts made by alex.olynyk
-
RE: Certifications
-
Certifications
I have been a generalist/jack of all trades IT guy for 20 years. I have been laid off and while I'm looking for a job I've been thinking about getting a certification. What are your thoughts on certifications? What would you recommend? Do employers value them? I don't have a degree. Are cloud certifications worthwhile to get?
-
Resume Critique
Just laid off due to COVID-19. I am trying to upload my resume for critique. I dont see a file upload button on the toolbar and I cant drag and drop either. It says I dont have enough privileges to upload a file.
-
Router Limits Hardware
I am looking to buy a piece of hardware that does parental control and can be easily be added to a home network. Does anyone have experience with Router Limits? Good or bad? Please let me know your thoughts.
-
Bed Bugs
Anyone have experience with these? If so did you call a professional and spend 2,000 or use a DIY method? What were the results?
-
Dell Drive Warranty Status
I have several failed Dell SAS drives and have no way of knowing the service tags of the servers they were removed from. Any way to obtain drive warranty status by the drives serial numbers?
-
PowerShell Error
function Repair-SophosUpdate { [cmdletbinding()] Param( [Parameter(Mandatory=$True)] [string]$computername ) $Services = Get-Service -Name 'Sophos*' ForEach ($Service in $Services) { If (($Service.Name -like 'Sophos*') -and ($Service.Status -eq 'running')) { Restart-Service -Name $Service -PassThru -Verbose -Force } Else { Start-Service -Name $Service -PassThru -Verbose } } } ; Repair-SophosUpdate -Verbose
When I run this I get
PS C:\Users\aolynyk\Desktop> C:\Users\aolynyk\Desktop\Repair-SophosUpdate.ps1 cmdlet Repair-SophosUpdate at command pipeline position 1 Supply values for the following parameters: computername: localhost Restart-Service : Cannot find any service with service name 'System.ServiceProcess.ServiceController'. At C:\Users\aolynyk\Desktop\Repair-SophosUpdate.ps1:16 char:13 + Restart-Service -Name $Service -PassThru -Verbose -Force + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (System.ServiceProcess.ServiceController:String) [Restart-Service], ServiceCommandException + FullyQualifiedErrorId : NoServiceFoundForGivenName,Microsoft.PowerShell.Commands.RestartServiceCommand
I can restart the services as an admin but when I run the script as an admin I get the same error
PS C:\WINDOWS\system32> Restart-Service 'Sophos Agent' -PassThru Status Name DisplayName ------ ---- ----------- Running Sophos Agent Sophos Agent PS C:\WINDOWS\system32> Restart-Service 'Sophos Message Router' -PassThru Status Name DisplayName ------ ---- ----------- Running Sophos Message ... Sophos Message Router PS C:\WINDOWS\system32>