Posts

Showing posts from September, 2023

Set-ExecutionPolicy RemoteSigned PowerShell

Image
In this post, I describe how to use PowerShell to set the PowerShell execution policy to RemoteSigned. Microsoft defines RemoteSigned as "Requires that all scripts and configuration files downloaded from the Internet are signed by a trusted publisher. The default execution policy for Windows server computers." Resolution To set the remote execution policy to RemoteSigned: 1. Open Windows PowerShell with Run as Administrator 2. Run the Set-ExecutionPolicy cmdlet: Set-ExecutionPolicy RemoteSigned 3. Press A for Yes to All 4. Verify the execution policy is RemoteSigned by running the Get-ExecutionPolicy cmdlet: Get-ExecutionPolicy Related Posts - Microsoft Set-ExecutionPolicy reference page -  Test WMI Query Connection PowerShell

Group Policy Object (GPO) Comparison Tool

Image
CENTREL Solutions has recently released XIA Configuration v15.1.  This release includes the ability to scan, audit and document detailed GPO settings. This functionality enables the software to act as a powerful GPO Comparision Tool allowing you to compare detailed GPO settings: A free trial of XIA Configuration is available: Free XIA Configuration Trial >

Test a data filter - Google Analytics 4

Image
In this post, I describe how to test a data filter in Google Analytics 4. A data filter should be tested before it is activated, as described by Google: "Filter changes are by nature destructive and irreversible. They are also not retroactive. You should only enable this if you have already successfully tested your filter. Learn more about filterting out internal traffic" If you've not yet created a data filter, see my previous post to learn how to Filter out and exclude internal traffic in Google Analytics 4 Resolution Note: A data filter can take between 24 - 36 hours to apply so you may need to wait before you can test it. Below are two ways to test a data filter. Realtime Report 1. Under Reports , click Real-time 2. Above Realtime overview, click the Add comparison + button 3. Google Analytics includes a Dimension called Test data filter name  for the purpose of testing a data filter.  Select this in the Dimension drop down on the right e.g. by typing Test:  4. Sel

Filter out and exclude internal traffic - Google Analytics 4

Image
In this post, I describe how to filter out and exclude internal traffic in Google Analytics 4. This stops internal user activity on your website skewing your data when you look at it in Google Analytics. Resolution There are quite a few steps but it's straightforward. Define Internal Traffic 1. In Google Analytics 4, go to  Admin  (either search for "admin" or click the cog button in the bottom left) 2. Under Property , click Data Streams 3. Click your data stream to open the Web stream details popup 4. Under Google tag , click  Configure tag settings 5. Under Settings , click Show more   6. Click Define internal traffic 7. Press the Create button 8. Enter a Rule name e.g. Internal Traffic 9. Enter a traffic_type_value e.g. internal_traffic 10. Click the Add condition button and add the IP addresses for your internal traffic.  You can add more than one condition.  More information can be found on the Google help page:  https://support.google.com/analytics/answer/1010