Permanently load PowerShell modules / run commands when launching PowerShell

To load any module upon opening PowerShell, do the following:

  1. Open PowerShell
  2. Type $profileand press enter
  3. The file path to your personal PowerShell profile is listed (most likely located at \Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1). Create that file (if it doesn’t exist) –OR– to change the system PowerShell profile (which affects all users), create the file C:\Windows\System32\WindowsPowerShell\v1.0\profile.ps1
  4. Open Microsoft.PowerShell_profile.ps1 in PowerShell ISE (or any text editor)
  5. Modify to include modules you require, such as Import-Module ActiveDirectoryor any other code/variables/commands/aliases/functions you want to run every time PowerShell opens. The profile is like any other PowerShell script and it can contain the same syntax.
  6. Save the file
  7. Close and re-open PowerShell to reload your profile. You can also Reload a PowerShell script

Raspberry Pi Ad Blocker / DNS Server

Note: Only works on Raspbian (automated script uses “pi” user – maybe it will work on another OS if there is a user present called pi)

https://github.com/jacobsalmela/pi-hole#automated-install

  1. Install Raspbian
  2. Set a static IP address
  3. Run the command below

curl -L install.pi-hole.net | bash

Then set the DNS server on the client device to the Pi’s (static) address.

Clear Windows Tray Icon Cache

taskkill /im explorer.exe /f

reg delete "HKCUSoftwareClassesLocal SettingsSoftwareMicrosoftWindowsCurrentVersionTrayNotify" /v IconStreams /f

reg delete "HKCUSoftwareClassesLocal SettingsSoftwareMicrosoftWindowsCurrentVersionTrayNotify" /v PastIconsStream /f

Delete the registry keys & restart explorer.exe

Replacing Samsung DP500A2D (Series 5) Hard Drive / Disassemble

Remove two screws on bottom edge, near where the stands are

Remove memory cover, remove one screw at the top, remove screw on the side & slide out optical drive

Gray cover has to be unclipped from the chassis. There are two slots near the first screws removed; get a screwdriver/spudger in there and start prying up (bend upwards/outwards to pop off the gray cover – don’t try to pry off the black part!)

Keep prying all the way around the entire edge of the machine.

iOS cannot delete this backup – solution (untested)

Hey guys, I had the exact same problem. And I just registered to let you know how I got it solved.
First of all, what fischmanr said is correct. For some reason, after upgrading to iOS 9, photos are automatically set to On again, so if you don’t have enough space make sure to turn them back off.

Here’s what solved my problem:
1- Go to Settings–>iCloud–>Storage–>Manage Storage–>Select your device that you are having problems backing up.
2- Wait for the spinning wheel to finish (loading icon beside backup options). THIS IS VERY IMPORTANT (for some reason!).
3- Scroll down and click “Show all apps” (it’s stupid, but trust me this is the only way I could do it)
4- Scroll all the way down, and click “Delete Backup” and then confirm deleting. If you got an error message saying that “the backup can’t be deleted, try again later” that means you didn’t wait enough. Let it finish loading.
5- After Deleting the backup successfully, go back to the main iCloud settings page, and go to Backup. If iCloud Backup is still On, turn it off then On again. If it was off already, just turn it on.
6- Go to the same page in step 1 again, and make sure that photos are off (if you want them off), otherwise just make sure that all the options are ok as you want them.
7- Go back to the Backup page and click “Back up Now”.

It took me about 5 hours to get it done, but it now works fine.

Note #1: If after step 7 you got the same error message that it wasn’t completed, just press “Back up Now” again, it should continue and finish. I got it to work from the second trial.

Note #2: If the whole thing failed, just keep repeating and cross your fingers it will hopefully work! My friend had to do the whole thing 3 times…

Best of luck guys, and I hope I helped.

http://forums.imore.com/ios-9/340753-after-upgrade-ios9-icloud-backup-says-0-bytes-all-apps-have-no-data-2.html

Computer Configuration > Preferences > Windows Settings > Shortcuts

Add new shortcut, type in a name, target type – file system object (file/folder), web URL, or shell object (My Computer, My Documents, My Network Places, etc)

Location – All users desktop

Can leave everything else blank.

Software installation Group Policy

Create a folder & set share permissions (not folder permissions) to allow read access to Everyone. Put the MSI file in that folder.

Create a GPO, Computer configuration > Policies > Software Settings > Action > New > Package

Type in the UNC path to the MSI (e.g. \serversharedchrome.msi)

Choose assigned, click OK.

Set up Central Store and install ADMX templates

Create a folder %windir%SYSVOLsysvol[Domain Name]PoliciesPolicyDefinitions

Copy files from %windir%PolicyDefinitions to PolicyDefinitions folder on the server (\[server]SYSVOL[Domain Name]PoliciesPolicyDefinitions) – the en-US folder and the admx files.

Now, downloaded ADMX templates can be installed – copy en-US folder and admx file into PolicyDefinitions folder (on server)

Blog at WordPress.com.

Up ↑