
Powershell: Accepting pipeline input from multiple sources
I'm writing a script that will take a list of server names and return the list of pending Windows updates. I'd like the script to accept input from Get-ADComputer, Get-Content (of a text file with server names), …
How to remove string entries from host file without adding new line
I want to delete a line from host file upon matching the string and i am using below code..however it keeps adding new line and because of that new contents appear in middle of the host file.Kindly …
Update-CMDistributionPoint - No object corresponds to the specified ...
I believe the script is fine. You said it can list name and deployment type successfully, you can try to run a single line for a single application using update-cmdistributionpoint and see what it'll happen.
Cannot access smb share by name: network path not found
I don't know why the system won't resolve the name (perhaps you need that optional Windows Update), but my suggestion above to add an entry to the following file very likely will work around the problem: …
Poor Host Disk Performance when several Hyper-V Virtual Machines …
Unless any VMs (but the appropriate services) are started, disk performance on the host is pretty good and sufficient (file copy 3 GB from DATA to OS with up to 210 MB/s). So far, so good!
svchost.exe retains open files handles to executables
I used Process Explorer to find the processes that have the file open. There are 2 different SvcHost.exe process that have the file open. Here are the sevices that each svchost.exe hosts: SvcHost.exe (1): …
script to find windows update settings on servers
Mar 19, 2015 · Do we have any script to find the status of the windows updates on a list of servers?
Hyper V Host in a cluster rebooted automatically
We may also run sfc /scannow on the host to check if there's any missing system files. Also check if there's any third-party software running on the host, if yes , please turn off it.
Task Scheduler - Alert when action file does not exist?
Perhaps a better option would to be to not run the application .bat file directly. Configure the task to run a PowerShell script that reads the application file name from a txt file.
how to use encrypted password to update a scheduled task
I now how to make a password encrypted and write it to a file. But then I have to use it to update a scheduled task.