I need script for file modify time check and if date older, file will be deleted and send report to my email : Read More
Category: Windows
Updated PowerShell script to loop through files for printing.
After finishing my script from the previous post I thought there has to be a better way to write this and reduce the lines of code. Not that 5 separate lines is a lot. But, if the list of items to print grew larger say to 15 documents, and was in different subdirectories then it might get complicated. So, I set about trying to find a way to use the ForEach-Object cmd. After some trial and error I have come up with this.
$Directory = “\\SVR1\DATA\Reports\Trading\”
Get-ChildItem -path $Directory -recurse -include *.pdf | ForEach-Object {Start-Process -FilePath $_.fullname -Verb Print -PassThru | %{sleep 10;$_} | kill }
Read More
CentOS grub update (Linux and Windows Dual boot)
yum install epel-release
#yum search ntfs
yum install ntfs-3g Read More
How do I set Windows to boot as the default in grub
How do I set grub so that in my dualboot with Windows and Ubuntu Linux.
The two ways are:
- Boot which ever operating system you booted last time, the “saved method”
This is the one I use. It lets me decide which one I going to use and will allow me to reboot into that system, handy when I’m updating. - Boot a specific operating system by default.
The answer to your exact question.
How To Remove Windows 10 Upgrade Notification On Windows 7 And Windows 8
Microsoft has now started sending out notification to Windows 7 and Windows 8 users to reserve their free Windows 10 upgrade. Microsoft delivered this notification through a program which is installed through Windows update. The upgrade assistant is named GWX.exe in C:\Windows\System32\GWX. Read More
Offline install of .NET Framework 3.5 in Windows 10
The .NET Framework is an integral part of many applications running on Windows and provides common functionality for those applications to run. Normally, before running/installing such applications, we need to enable .NET Framework from the Control Panel on the computer. So, you may first check if the .NET Framework 3.5 is available in the Control Panel on Windows 10 Technical Preview and if available, you may enable it from the Control Panel to install it on the computer. To check if the.NET Framework 3.5 is available in Control Panel and to enable it, please follow these steps:
a) Press “Windows Logo” + “R” keys on the keyboard.
b) Type “appwiz.cpl” in the “Run” command box and press “ENTER”.
c) In the “Programs and Features” window, click on the link “Turn Windows features on or off”. Read More
How to Uninstall Windows 10’s Built-in Apps and Reinstall Them
Windows 10 includes a variety of universal apps, and there’s no easy way to hide them from the “All Apps” view in the new Start menu. You can uninstall them, but Microsoft doesn’t allow you to easily uninstall them in the usual way.
You probably don’t want to do this. These apps take up very little space on your device so it’s best to just ignore them if you don’t want to use them. But, if you really want to uninstall them, you can. If you’ve already uninstalled included apps, you can get them all back with a single command. Read More
How to Add Programs, Files, and Folders to System Startup in Windows
Many programs in Windows add themselves to system startup when you install them, allowing them to automatically start up when you boot your computer. You can also have other programs automatically start and files and folders automatically open when Windows starts.
This should work in Windows 10, 8, 8.1, 7, or even Vista. Read More
Automate the Windows installation by using a sample answer file
Download the Windows Deployment sample answer files. In Notepad, open the file for your PC type, for example, Autounattend_x64_UEFI.xml. This file contains all of the settings that are needed to automate the installation process.
If you’re creating PCs for consumers, add your technical support info to the OEMInformation section, including your company name (Manufacturer) and website (SupportURL). For info, see the Licensing and Policy guidance on the OEM Partner Center. Read More
Remove the Get Windows 10 icon from the icon tray using Task Scheduler
The procedure has been modified to be more comprehensible and include instructions for both Windows 7 and Windows 8.1.
In Windows 7, click on the Start Menu, enter Task Scheduler then click on it;
In Windows 8.1 press on the Win key + S (or Win key + C keys and click on Search) keys to open the Search Read More