Skip to main content

Posts

PowerShell search for files

Searching files in PowerShell is quite flexible in some ways. Why it's flexible? It provides a lot of option that you can type on cmdlet parameters. This code below will search for ".doc" and ".docx" files recursively in a given path. Get-ChildItem -Path "D:\My Docs Folder" -Filter *.doc* -Recurse If you have standard file naming convention, or you save files in a way that you could easily remember then PowerShell can also do it for you. Code below will search for any documents that its file name starts with Feb or feb. Get-ChildItem -Path "D:\My Docs Folder" -Filter Feb*.doc* -Recurse It's just document, the file name extension can be replace with *.xls* to search for excel worksheets or any file name extension such as ".png" or ".jpeg" or other video files or any type of file. Or if you searching for saved outlook messages, use *.msg to search for saved outlook emails. If...

Delete page in word document

To delete a selected page anywhere in a word document, is quite easy and straight forward. Follow steps below: 1. Press Ctrl+G on the keyboard 2. Find and Replace window will open. (see image) 3. The default tab will be “Go To tab".    Type "\page" (don't include the quotes), on "Enter page number" box. 4. Click "Go To" button, it will select the whole page. 5. Click the "Close" button. Find and replace window will close. 6. Finally, press "Delete" key on the keyboard to delete the selected page. 7. Press Ctrl+Z, if you change your mind it will bring back the deleted page. Tested in Word 2010. Cheers!! Hope it helps.. ========================= Heaven's Dew Fall https://play.google.com/store/apps/details?id=soulrefresh.beautiful.prayer Android Catholic Rosary App - Guide https://play.google.com/store/apps/details?id=com.myrosaryapp&hl=en-GB Educationa...

PowerShell Test Password complexity

Checking password whether it meets complexity using PowerShell. Tweak or modify the script according to your own standard. This can be used to check password complexity, on Active Directory user password. The only thing it will not check whether the user account is also included on the string. But the script will test the following: - Check if the password is at least 9 characters in length - Check if the password is alphanumeric - Check if the password has upper case and lower case combination - Check if the password has at least 1 special character on it And the script will also display what are the missing characters it needs to meet the password complexity. For example:   if the password does not contain numbers, or it does not contain special characters. The script will display the error/s on what the user needs to do to meet a complex password. Copy and paste the script to PowerShell ISE for testing. Here’s the script: ==...

Unable to connect wireless network

 A computer with Windows 8 or Windows 8.1 or even windows 7, is not able to connect to a particular wireless network but is working fine on other wireless network   Then it could be the wireless security type mismatch on the computer and the wireless router. To solved the issue. Go to "Control Panel" Select “Set up a new connection or Network” Then click on "Manually connect to a Wireless Network" See pic below: On the new window, key in the details of the wireless network. If not sure of the details for the wireless network, get the info from the wireless administrator.  Key in:          Network name - network name is the Wireless SSID or the Wireless network name         Security Type - select WPA2-Enterprise, WPA2-Personal or check with the wireless administrator about the security type setup on the wireless router    ...