Clear2all Professional Blog new

Here is all you need to know on Google Cloud WordPress Hosting ?

Here is all you need to know on Google Cloud WordPress Hosting ?

I’ll show you how to host a WordPress site on a Google VM instance in this article. After that, I’ll go over how to install WordPress on a Cloudways managed Google cloud server in more depth.

Cloudways is a managed cloud hosting platform that, owing to an easy-to-use interface, allows you to host your apps on Google cloud servers. GCE’s integration with Cloudways gives you a whole new world of managed WordPress hosting, with unbeatable dependability, speed, and uptime.

Before we go … Read the rest

Clear2all Professional Blog new

What is powershell execution policy?

What is powershell execution policy?

The PowerShell execution policy was created with the goal of being administrator-friendly while also being accessible to end users. The latter goal, more than the former, was a little more difficult to achieve, given that convenience is typically inversely proportionate to security.

Malicious VBS (Visual Basic Script) files disguised as useful bits of software have been sent around in emails on occasion. Unsuspecting users double-clicked the script files, falling for scams ranging from letting the script’s creator know you executed the script to giving the script’s creator entire access over your machine.

The script can … Read the rest

Clear2all Professional Blog new

How to concatenate string in powershell?

How to concatenate string in powershell?

 

1. Concatenate string Use -join

$var = -join(“Hello”, ” “, “world”);

Stores  “Hello world” to $var.

So to output, in one line:

Write-Host (-join(“Hello”, ” “, “world”))

2. Concatenate string using “-“

Write-Host “$($products.Id) – $($products.Name) – $($products.Owner)”

3. Concatenate string using indirectly with “-“

Write-Host (“{0} – {1} – {2}” -f $products.Id,$products.Name,$products.Owner )
Or just (but I don’t like it 😉 ):

Write-Host $products.Id ” – ” $products.Name ” – ” $products.Owner

 

4. Concatenate string using “+”

$string = $products.ID
$string += ” – ”
$string += $products.Name
$string += ” … Read the rest

Clear2all Professional Blog new

How to Find a string inside a string -PowerShell Substring

The PowerShell Substring : Finding a string inside a string

There are many occassions where Administrators need to figure out a way to find a certain snippet of text inside a string which is called the substring. PowerShell makes finding a substring extremely easy.

How are Strings handled in PowerShell?

A string in PowerShell is a collection of characters contained in single or double quotes. Strings examples  are  say “Adam” and “Bharat”.
Let’s imagine you have a string defined in a variable and you only need to find a portion of it. As an example, suppose you had a string … Read the rest

Clear2all Professional Blog new

How to use PowerShell Multiple-Line Comments

How to use PowerShell Multiple-Line Comments?

Use Windows PowerShell multiple line comments in your script or from the console. It is good for debugging for later using it multiple times reuse in other scripts.

Syntax:

Begin the comment with the <# tag, and end the comment with the #> tag:

<# this is a comment on several different lines #>

 

When we enter # on each line or the “#” and “#>” to surround each code block in a remark block

Now PowerShell Studio 2014 makes comments easier.

  1. To individually comment out each line (#)
  2. select one or more
Read the rest
Clear2all Professional Blog new

Powershell Sleep – How to Pause a Script

Powershell Sleep or Pause – How to Pause or sleep a Script?

You may need to pause your PowerShell script for a few seconds from time to time. When you use a do while loop to check if a server is back online, for example. The PowerShell Start Sleep cmdlet can be used to accomplish this. We can put the script to sleep for a few seconds using this command.
In this article, I’ll show you how to utilize the PowerShell Sleep command with a handful of examples.
Using the Start Sleep cmdlet in PowerShell

The start-sleep cmdlet in PowerShell … Read the rest

Clear2all Professional Blog new

15 Methods to fix windows error code 0xc00000e9

15 Methods to fix windows error code 0xc00000e9 Windows 10 Windows 8.1 Windows 7 …

Windows error code 0xc00000e9 is a common Windows Boot Manager error that indicates either a hardware failure or a corrupted system file encountered during the boot process. It appears shortly after the computer starts, but before the Windows login screen, as follows:

An unexpected I/O error has occurred. Error code: 0xc00000e9

What Is Error Code 0xc00000e9?

Error code 0xc00000e9 is a specific boot error code you might see if your PC is having difficulty booting up. Normally after boot up, Windows logo upon booting up … Read the rest

Clear2all Professional Blog new

Google Analytics for Tracking Traffic to your Site

Google Analytics is a web analytics service offered by Google that tracks and reports website traffic. It is currently widely used by all websites to track the users. It is a part of Google Marketing Platform brand. Google launched the service in November 2005 after acquiring developer Urchin.

Google Analytics is the most widely used web analytics service on the web. Google Analytics also provides an way that allows gathering usage data from iOS and Android app which known as Google Analytics for Mobile Apps as well.… Read the rest

Clear2all Professional Blog new

Room Mailbox office365 powershell commands

Resource Mailbox is a type of Mailbox that is used for the management of Meeting Rooms and Equipment.
The Resource Mailbox do not require a license.
Management of Resource Mailbox can be done using following options:

Self-management – the Resource Mailbox will be configured for automation of accepting or decline meeting requests.
Resource Mailbox Delegate – The delegate is the person that will accept the meeting requests and approve or decline the meeting requests.

The resource Mailbox includes two types of Mailboxes – Room Mailbox and Equipment Mailbox.

1. Creating Room (Resource) Mailbox
PowerShell command syntax

New-Mailbox -Name "" Read the rest