1. Ensure the user you are assigning the number to has adequate licensing by logging into https://admin.microsoft.com/, select users -> active users -> *click the user you wish to assign the number to* -> Licenses & apps. Make sure the location is set and you have a valid license combination added and click save changes. This example uses Microsoft 365 Business Basic + Microsoft Teams Phone Standard 
  2. Navigate back to the Teams Admin Portal at https://admin.teams.microsoft.com/. Select users -> manage users -> *click the name of the user* -> General Information [edit]
    • Select “Direct Routing” as the phone number type
    • Type in the phone number in the Assigned Phone Number field.

      *phone number must be in international format e.g. 02825543350 must be entered in as 612825543350

      *Alternatively you can perform this action in the terminal instead using the CLI below

      Replace: <UID> with user ID e.g. xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx <DDI IN E164> with phone number e.g. 612825543350

       
      Set-CsPhoneNumberAssignment -Identity “<UID>” -PhoneNumber “<DDI IN E164>” -PhoneNumberType DirectRouting

Assigning Policies To A User

  1. Select Policies ->Assigned Policies [edit] -> Please enter:

    • Emergency Call Routing Policy: xxxxxx.sbc1.hvteams.com.au
    • Dial Plan: <Area code> xxxxxx.sbc1.hvteams.com.au
      *for 028 numbers use the “Non Local xxxxxx.sbc1.hvteams.com.au” Dial Plan
    • Voice Routing Policy: xxxxxx.sbc1.hvteams.com.au
  2. Click Apply

    *Alternatively you can perform this action in the terminal instead using the CLI below

    Replace: <UID> with user ID e.g. xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx <Area Code> with Area code or Non Local

     
    Grant-CsTenantDialPlan -Identity “<UID>” -PolicyName “<Area Code> 8021150.sbc1.hvteams.com.au”;Grant-CsTeamsEmergencyCallRoutingPolicy -identity “<UID>” -PolicyName “xxxxxx.sbc1.hvteams.com.au”;Grant-CsOnlineVoiceRoutingPolicy -Identity “<UID>” -PolicyName “xxxxxx.sbc1.hvteams.com.au”;

Testing The Service

It takes approximately 24hours for a newly provisioned service to be activated.

Once the dial pad appears in the Team Application you should be ready to make phone calls.

GD Star Rating
loading...
GD Star Rating
loading...

Normally you would package up a .bat file in a Win32 Application , however anaconda installs take quite a whole and the command window

Below starts the command install quietly in the background 

start /B CMD /C CALL "C:\ProgramData\Anaconda3\condabin\conda.bat" env update --name base --file base-anaconda-install.yaml
GD Star Rating
loading...
GD Star Rating
loading...

Recently trying to deploy an Anaconda environmental variables, when running a script that referenced “bokeh –show” the following error showed 

For some reason, this didn’t happen when the user had local Administrator permissions

The user without Admin permission could call up bokeh in the normal base , so we imported the environmental to the default base and ran bokeh from there

GD Star Rating
loading...
GD Star Rating
loading...

Trying to restore from a Veeam backup and the error displayed

17/05/2022 12:19:56 AM Error Restore job failed Error: Full backup file for this object is not present in the backup repository

VBK Present with all of chain Chain

Fix

https://helpcenter.veeam.com/docs/backup/vsphere/extract_utility.html?ver=110

Standalone utility that does NOT rely on the vbm (metadata) file. Helps restore from a rollback and the metadata was corrupt despite the file being there and accessible.

GD Star Rating
loading...
GD Star Rating
loading...

Fake Spam

This is totally fake spam do not pay

I am a  Chinese  software  program engineer  who hacked  your OPERATING-SYSTEM  of your  own device. I  have been  observing you  personally for  some time and  also was able  to  infect your  system with  adware  and spyware  thru the grownup  internet site  you  frequented.
I  downloaded  all  of the  sensitive details  from your  system &  actually obtained some  other evidence.
In  case  you’re not acquainted  with  that, Allow me  to clarify.
The virus provides  me whole  accessibility and  power over  your  personal computer  or  simply any  other device  on your  networking. This shows that  I can look at  every little  thing on  your  computer screen, turn  on your  camera  and  even microphone,  and  download your entire  info.
I  in  addition have  admission  to  all your  contact information  along with electronic  mails, and also  admission  to your  social media  marketing and  messenger accounts. The  reason why your  ant-virus  didn’t find  any  kind of  adware  and spyware?
A:  My personal  spy ware  uses a  lower-degree  gadget driver  built into your  cpu,  and  I revise  its signatures  just about  every 5  hrs to help  keep your  own antivirus  silent.
I made  a monitor recording  of you  wanking. On an  individual side  on  the computer  screen is  the video you are  currently viewing,  and on  the other  section is  your own pleased  smile.
Utilizing  1  click,  I  could post  that video  clip to  all  of your  contacts. And place  all your private  information  on the  net. Provided with  your data, I  can damage your  own reputation  forever.
There is  absolutely no  reason  for altering  security  keys,  all  of the  info  has  now been  replicated to  my own  servers.
If  you would  like to  erase  all collected  information,  just  transfer 1300  $ (in  btc comparable  at the market exchange  rate at  the time  of  exchange)
My bitcoin  address for  payment is:  bc1qekl9k7dh635plfhhd7szhpmml6dku6esm8aq97
My software  can  identify the  transaction  to the  wallet  & instantly  delete all  the dirt  obtained from  you.
I  give you Two  work  days  to  cover.
I’ll get  a notification  in regards  to the  launching of  this email.
Don’t attempt to grumble anywhere,  for  the reason  that wallet isn’t monitored,  the email  from wherever  the notice  arrived isn’t  monitored and  simply created  digitally, so  there is  absolutely no reason for  writing  to  me. I wish you  all the  best and  don’t do  something foolish.  Think about  your own  potential future

GD Star Rating
loading...
GD Star Rating
loading...

You might have had a company setup with the classic 192.168.X.X and need to move them to something less generic mainly so people can VPN from their home connections on routers that don’t support an in between subnet.

When you can’t create another Vlan : 

  1. Change DHCP Server Leave to Minimum like 1 Minute
  2. New IP changes to the primary adapter ( if set to DHCP  ) 
  3. Add IP from the old subnet to the Secondary IP for the adapter ( So it can still access devices on static address’ we will find out what these are in step 5) 
  4. Wait 
  5. Check ARP Cache for the old subnet ( arp -a )  and find old devices statically assigned like printers , change these devices over to new subnet
  6. Continue until nothing on the old subnet
  7. Remove the secondary IP from the secondary IP of interface
  8. Restore DHCP Server Lease
GD Star Rating
loading...
GD Star Rating
loading...
SELECT d.name,
last_user_seek = MAX(last_user_seek),
last_user_scan = MAX(last_user_scan),
last_user_lookup = MAX(last_user_lookup),
last_user_update = MAX(last_user_update)
FROM sys.dm_db_index_usage_stats AS i
JOIN sys.databases AS d ON i.database_id=d.database_id
GROUP BY d.name

***Details in the DMV will be cleared and nulled whenever you restart SQL Server.

GD Star Rating
loading...
GD Star Rating
loading...

Recently trying to install a Module in Powershell gallery on a PC , but came back with an error

PS C:\Windows\system32> Install-Module -Name AsBuiltReport
PackageManagement\Install-Package : No match was found for the specified search criteria and module name
'AsBuiltReport'. Try Get-PSRepository to see all available registered module repositories.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:1772 char:21
+ ... $null = PackageManagement\Install-Package @PSBoundParameters
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package], Ex
ception
+ FullyQualifiedErrorId : NoMatchFoundForCriteria,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage

Had a check and No Repos were listed

PS C:\Windows\system32> Get-PSRepository | fl *
WARNING: Unable to find module repositories.

Installed the Default Repos again

PS C:\Windows\system32> Register-PSRepository -Default
PS C:\Windows\system32> Get-PSRepository | fl *


Name : PSGallery
SourceLocation : https://www.powershellgallery.com/api/v2
Trusted : False
Registered : True
InstallationPolicy : Untrusted
PackageManagementProvider : NuGet
PublishLocation : https://www.powershellgallery.com/api/v2/package/
ScriptSourceLocation : https://www.powershellgallery.com/api/v2/items/psscript
ScriptPublishLocation : https://www.powershellgallery.com/api/v2/package/
ProviderOptions : {}Y
GD Star Rating
loading...
GD Star Rating
loading...