Configurare program

Create AD Users in Bulk with a PowerShell Script

Now, let’s make our task a little bit harder and create ten similar Active Directory accounts in bulk, for example, for our company’s IT class, and set a default password (P@ssw0rd) for each of them. To send the default password in a protected state, we must use the ConvertTo-SecureString parameter. Here’s the script to use:

[mai mult...]

How to Install Google Assistant on Samsung Galaxy Smartwatches

Samsung Galaxy smartwatches are a great option for people with Android phones, but they don’t have Google Assistant, which can be a deal-breaker. Here’s how to get Google Assistant up and running on your Samsung wearable.

Bixby is the personal assistant that ships on Samsung smartwatches. While it’s a capable companion, you might prefer the Google Assistant. Thanks to an app called “GAssist,” it’s possible to use the Assistant on most Samsung watches. The process is a bit lengthy but you’ll only have to do it once.

GAssist is compatible with Samsung Galaxy watches running Tizen 4.0+. You can check the version your device is running by going to Settings > About Watch > Software > Tizen Version on your watch.

Select "Settings,""About Watch," "Software" and then select "Tizen Version."

Install the GAssist Watch and Phone Apps

Open the Galaxy Wearable app on your Android smartphone, navigate to the Galaxy Store, and then search for “GAssist.”

Type "GAssist" in the Search box in the Galaxy Store.

Select “GAssist.Net” by developer Kamil Kierski, and then tap “Install.”

Tap "Install."

Tap “Accept and Download” in the popup.

Tap "Accept and Download."

Navigate to the Google Play Store on your Android smartphone. Search for “GAssist,” and then select “GAssist.Net Companion” by cybernetic87.

Select "GAssist.Net Companion."

Download the app by tapping “Install.”

Tap "Install."

Once both apps are installed, you’ll need to get a “key” for Google Assistant from the Google Cloud Platform.

Get a “Key” for Google Assistant

On your computer, open a browser and go to the Google Cloud Platform. Accept the terms of service if prompted, and then click “Select a Project” at the top.

Click "Select a Project" on the Google Cloud Platform.

Click “New Project” in the pop-up window.

Click "New Project."

Give the project a name, and then click “Create.”

Click "Create."

Click the hamburger menu at the top left to open the sidebar, and then select “APIs and Services.”

Click the hamburger menu, and then select "APIs and Services."

Click the project you just created.

Click your project.

Click “Enable APIs and Services” at the top.

Click "Enable APIs and Services."

In the search bar, type “Google Assistant.”

Type "Google Assistant" in the Search bar.

Results will appear as you type. Click the “Google Assistant API” option.

Click the "Google Assistant API" option when it appears.

Click “Enable.”

Click "Enable."

On the next page, click “Create Credentials.”

Click "Create Credentials."

In the “Which API Are You Using?” drop-down menu, select “Google Assistant API.”

Select "Google Assistant API" in the "Which API Are You Using?" drop-down menu.

Click the “Where Will You Be Calling the API From?” drop-down menu, and then select “Android.”

Select "Android" from the "Where Will You Be Calling the API From?" drop-down menu.

Select “User Data” under “What Data Will You Be Accessing?” Then, click “What Credentials Do I Need?”

Select "User Data," and then click "What Credentials Do I Need?"

Click “Set Up Consent Screen” in the popup. This might open a new tab in your browser.

Click "Set Up Consent Screen."

If the next screen asks you to choose a “User Type,” select the one that matches your use case, and then click “Create.”

Select a "User Type," and then click "Create."

Type a name in the “Application Name” text box, and then click “Save” at the bottom of the page.

Type a name in the "Application Name" text box, and then click "Save."

If you’re not automatically redirected, select the “Credentials” tab in the sidebar, and then click “Create Credentials” at the top.

Select "Credentials," and then click "Create Credentials."

Select “OAuth Client ID” from the list.

Select "OAuth Client ID."

In the “Application Type” drop-down menu, click “Other” or “TVs and Limited Input Devices.” Type a name or use the default, and then click “Create.”

Click "Other" or "TVs and Limited Input Devices" under "Application Type," type a name, and then click "Create."

Return to the “Credentials” tab and click the Download icon next to the “OAuth Client ID” you just created.

Click the Download icon.

Now, you need to move the downloaded JSON file to your Android smartphone. Plug your phone into your computer to access its internal storage.

Open the file manager (or Finder on Mac) and select your smartphone. Copy the downloaded JSON file to the “Download” folder on your smartphone and rename it “secrets.json.”

Rename the file "secrets.json" after you copy it to your phone.

Finish the Setup on Your Phone

Next, open the GAssist app on your smartphone and tap “Browse.”

Tap "Browse."

Navigate to the “Download” folder and select “secrets.json.”

Select "secrets.json" in the "Download" folder.

You should see “File Loaded Successfully;” tap “Next.”

Tap "Next."

Select “Authenticate” to grant GAssist access to your Google account.

Select "Authenticate."

Select the account you use with Google Assistant.

Select your Google account.

Tap “Allow” to grant GAssist permission to use Google Assistant on your account.

Tap "Allow."

Confirm on the next screen by tapping “Allow” again.

 Tap "Allow."

Copy the authentication code using the on-screen button, and then go back to the GAssist app.

Tap the layered square icon to copy the authentication code.

Paste the code in the text box, and then tap “OK.”

Paste the authentication code, and then tap "OK."

You should now see three green checkmarks. Tap “Done” to proceed.

Tap "Done."

Use Google Assistant on Your Samsung Watch

Open the GAssist app on your Samsung Galaxy smartwatch and allow GAssist to access the microphone and storage.

Grant GAssist access to storage and the microphone on your watch.

Tap “Listen” to speak to Google Assistant and it will respond to your command. If your wearable has a speaker, you’ll hear the response out loud. Tap “Stop” to end the response.

Tap "Stop."

To make Google Assistant easy to launch, we recommend you set it as the double-press Home key shortcut.

To do so, go to Settings > Double Press Home Key > GAssistNet on your Samsung Galaxy watch.

Select "Settings," select "Double Press Home Key," and then select "GAssistNet."

Now, you can quickly launch Google Assistant from anywhere by double-pressing the Home key.

[mai mult...]

How to Set an App Time Limit on iPhone and iPad

Screen Time Settings

With the arrival of iOS 12, Apple made a big song and dance about digital wellbeing. The App Limits feature that came with it lets lock apps after a given amount of time. Here’s how it works.

App Limits is precisely what it sounds like; it limits the amount of time you can spend using a particular app. You specify the apps (or whole categories of apps) and iOS will refuse to launch them when you’ve reached the allotted time. It’s great for limiting how much time children spend on apps like YouTube, for example, but can also help you if you struggle setting limits on things like your social media addiction.

By the way, even after you reach an App Limit, you can override it by entering a passcode. That means you will never be locked out of your apps completely (unless you don’t know the code), but setting the limit still might be enough to give you pause when opening Instagram for the millionth time at 3 am.

How to Set an App Limit for a Specific App

To kick things off, open the Settings app and then tap “Screen Time.”

Tap Screen Time

You’ll see a graph at the top of the next screen. Either tap the graph or the “All Devices” option directly above it.

Tap All Devices

Scroll down to the list of apps you’ve been using and then tap the app for which you want to set a new limit.

Tap the app you want to limit

Tap the “Add Limit” button at the bottom of the screen.

Tap Add Limit

Finally, set a time limit by scrolling the hours and minutes. If you’d like to set a limit for different days of the week, tap “Customize Days.”

Select a time limit

Tap “Add” to apply the changes and set the app limit.

Tap Add

How to Set an App Limit for a Whole Category of Apps

Again, the process starts in the Settings app. Tap “Screen Time” to view all settings related to digital wellbeing.

Tap Screen Time

Next, tap “App Limits.”

Tap App Limits

Tap “Add Limit.”

Tapp Add Limit

Tap to select any categories for which you want to create a new limit and then tap “Next” to continue.

Select categories, tap Next

Select the time limit you would like to apply and again, if you want to set different limits for specific days, tap “Customize Days.” Tap “Back” when complete.

Select a time limit

You’re all set, and you can set additional limits if you want, too.

[mai mult...]

How to Block Someone on Strava

Strava, like all social media apps, can reveal a huge amount of information about you. Even if you stop random strangers from stumbling across your home address, you might sometimes need to actively stop a specific person from seeing what you’re up to. Here’s how to block someone else on Strava.

[mai mult...]