User Profile
Procradminator
Brass Contributor
Joined Aug 19, 2016
User Widgets
Recent Discussions
Premium Features - where?
Greetings all I have a Planner Plan 1 licence but can't see the premium features. (Gannt etc...) There is no diamond to convert a plan and all the templates I have listed when I create a new plan are "basic" despite the list heading saying "Basic and Premium". Any advice appreciated. TIA138Views1like3CommentsRe: DNS lookup performance
Hello Lain I missed you reply and, after 4 months, have just seen it. Thanks. I'll need to set aside half an hour to take a look at it but it looks to make some excellent points that I will take on board. Thanks for taking the time and effort. Andrew109Views1like0CommentsDNS lookup performance
Hello all I've got this to do what I want but thought I'd run it past people who know more than me in the hope someone would be kind enough to advise on the following. The intention is to run this every few minutes using task scheduler, I'll push to one or more machines with an RMM. Questions. Is this an efficient an accurate way to do this? Are there any improvements anyone wants to suggest for the code Am I re-inventing a wheel that I can get somewhere for free or low cost? I'm waiting for the new version of GRC's DNS testing tool so this is a stopgap unless it works well enough. TIA # Define an array to store the DNS Servers to be queried with thier FQDN and IP address $dnsServers = @() # Add 5 hosts with their FQDN and IP addresses $dnsServers += [PSCustomObject]@{ FQDN = "OurDNS1"; IPAddress = "14.15.16.17" } $dnsServers += [PSCustomObject]@{ FQDN = "OurDNS2"; IPAddress = "11.12.13.14" } $dnsServers += [PSCustomObject]@{ FQDN = "Cloudflare"; IPAddress = "1.1.1.1" } $dnsServers += [PSCustomObject]@{ FQDN = "Quad9"; IPAddress = "9.9.9.9" } $dnsServers += [PSCustomObject]@{ FQDN = "Google"; IPAddress = "8.8.8.4" } # Define an array to store target FQDNs $targetFqdns = @( "bbc.co.uk", "www.porsche.com", "www.amazon.co.uk" ) # Get the current date in yyyy-MM-dd format $currentDate = Get-Date -Format "yyyy-MM-dd" # Define the path to the CSV file with the current date in the filename $filePath = "$PSScriptRoot\DNSResults_$currentDate.csv" # Initialize the CSV file with headers if it doesn't exist if (-not (Test-Path $filePath)) { "Timestamp,Milliseconds,TargetURL,DNSServerIP,DNSServer" | Out-File -FilePath $filePath } # Loop through each target host and then each DNS server foreach ($targetFqdn in $targetFqdns) { foreach ($dnsServer in $dnsServers) { # Measure the time taken to run the command $measure = Measure-Command -Expression { nslookup $targetFqdn $dnsServer > $null 2>&1 } # Get the current date and time in ISO 8601 format $timestamp = Get-Date -Format "yyyy-MM-ddTHH:mm:ss" # Get the total milliseconds and round up to a whole number $milliseconds = [math]::Ceiling($measure.TotalMilliseconds) # Append the timestamp, milliseconds, domain, server, and name to the CSV file $result = "$timestamp,$milliseconds,$targetFqdn," $dnsServerUSed = "$($dnsServer.IPAddress),$($dnsServer.FQDN)" $output = $result + $dnsServerUsed $output | Out-File -FilePath $filePath -Append } }775Views0likes4CommentsJoinNotFound
I have seen a post on here with the same error but it didn't seem to help me so rather than hijack the thread I'd ask again. More specifically, I don't understand which attribute it's trying to match on and how to set/check that. I get this when doing a provision on demand. "No action required. User '....' is not a newly discovered entry to be provisioned in the target application, nor one with an update that should flow to a target entry with which it was previously matched." Skipreason: JoinNotFound. I'll go through the documents again on Microsoft Learn in case I've missed something but if anyone has any pointers I'd be most grateful. TIA AndrewAPI calls with Invoke-RestMethod being funny!
Hello all I suspect I'm missing something simple and hopefully someone will quickly point me in the right direction. Please excuse the terrible code - I'll try and sort it once it works.....honest! I'll calling the API of my DNS hosting company and using two calls, one to enable DNSSEC and the second to retreive the DS records so I can then post them to my domain registrar. The frustrating thing is if I do one call followed by the second at the PS prompt I get a response from each as expected. If I do it in a script I don't get a response from the second call and I can't figure out what to do to make it work. InvokeRestMethod - Uri "https://api.cloudns.net/dns/activate-dnssec.json?auth-id=12345&auth-password=mypassword&domain-name=somedomain.com" Output is (all good) : status statusDescription ------ ----------------- Success The DNSSEC is activated for your zone. The keys will be generated soon. InvokeRestMethod - Uri https://api.cloudns.net/dns/get-dnssec-ds-records.json?auth-id=12345&auth-password=mypassword&domain-name=somedomain.com Output is (all good) : status : 1 ds : {somedomain.com. 3600 IN DS 48181 13 2 565D376B80152SDF88GDH9HDF76DGSGSDGD0F9DGHGF993D2AD87BD311E0} ds_records : {@{digest=565D376B80152002711100B3B691046C31686C81DFE40690993D2AD87BD311E0; key_tag=48181; algorithm=13; algorithm_name=ECDSA SHA-256; digest_type=2; digest_type_name=SHA-256}} dnskey : {somedomain.com. 3600 IN DNSKEY 257 3 13 9xxxxxxxxxxxxxxxxxxxxxxxxxx0OMfevVvMaox96NH+UxuL1Eg+WV/gVLC/UxzX+bx/BkTDYjtirA3EztQ==, somedomain.com. 3600 IN DNSKEY 256 3 13 iNrR5+Hlt4pf3nnBxxxxxxxxxxxxxxxxxxxxxxxxxxstGA3PsaJInL1LenhYGQOoi1aV1SnJK1V13ujfsQQMA==} optout : 1 Run them together from a script (two lines, nothing else) and the output is : status statusDescription ------ ----------------- Success The DNSSEC is activated for your zone. The keys will be generated soon. 1 Makes no sense to me. TIA AndrewSolved2.2KViews0likes2CommentsNumberAlreadyAssigned
I'm looking to allocate a number to a Resource in Teams. I'm picking this up after somebody else has been at it but it's still perplexing. I have deleted all queues and auto attendants. There are several numbers on the tenancy. One is a service number but I'm unable to allocate it to a resource account using either the Teams admin centre or PowerShell. I get this error message. The telephone number 4412345678 is already assigned to another user. Please assign another number that is available in the telephone number list. + CategoryInfo : NotSpecified: (:) [Set-CsOnlineVoiceApplicationInstance], BvdCmdletException + FullyQualifiedErrorId : NumberAlreadyAssigned,Microsoft.Rtc.Management.Hosted.Bvd.SetVoiceAppEndpointCmdlet + PSComputerName : admingb1.online.lync.com Get-CsOnlineTelephoneNumber says : RunspaceId : 7e302568-c2c7-455b-9459-8a4ae538bdd3 ActivationState : Activated BridgeNumber : CallingProfile : 962f77e8-046e-435c-ada8-31bc0396cda6 CityCode : EMEA-GB-ALL-ENG_ND FriendlyName : NGC-Bot Id : 4412345678 InventoryType : Service Location : O365Region : EMEA SourceType : Tnm TargetType : ucap Tenant : Microsoft.Rtc.Management.Hosted.Bvd.Types.LacTenant TenantId : 9fgg900d-9bed-5677-b3fc-9a6e40089c20 UserId : IsManagedByServiceDesk : False PortInOrderStatus : It's baffling that it's not allocated to anything but insists it is. Any pointers on advice would be appreciated. Publicity has been printed with the number so I really need to get it assigned to a resource account so I can use it on a queue or auto Attendent. TIA Andrew3.7KViews0likes3CommentsReception console
Hello all I'd like to start selling Teams solutions but I can see that customers are going to ask about a console for the receptionist to see who's on calls, who's available and the call history for all lines etc. Is there anything to fulfil this function from either Microsoft or a third parts? TIA AndrewSolved4KViews0likes1CommentRe: SaRA scripted install
Sorry Roy Had no luck and realised it was flogging a dead horse so that one was shelved. If you get anywhere, do post here as I still think it's something that should be available on any machine running Office365 as a matter of course. You'd think it would be included in the Office install wouldn't you? Good luck.10KViews0likes2CommentsLink or shortcut
Hello all While the New->Link allows me to link to a document elsewhere I would like to have a link or shortcut to another folder elsewhere on the same SharePoint tenancy. Is this possible and if so, how please? Had a really good look round and can't find any info that seems relevant. TIASolved1.1KViews0likes2CommentsGlobal admin AlternateEmailAddress for DAP
Hello all I'm unsure how to go about this and hope someone can offer me a suggestion. I'd like to report on the AlternateEmailAddress for all the global admins at each tenancy for which my company has DAP (Delegated Access Permissions). I know get-msoluser is probably the cmdlet but not sure how to get the list of global admins from all of our delegated tenancies. Hope someone can help. TIA Andrew2KViews0likes1CommentRe: SaRA scripted install
I moved the Microsoft.Sara.exe to another machine and running it alone does nothing. The whole folder is 100MB but zips up to 20MB. Moving this to another machine and running it after uncompressing works so I guess my script will need to do that. Next step is write the deployment script but it's looking good so I'll mark your reply as the best answer. Thanks again.11KViews0likes4CommentsRe: SaRA scripted install
Thanks Alexander. Yes, I really need a silent install which is why the web package is a problem. I need an offline MSI or EXE but can't find one for this install which is very frustrating. I'm hoping someone knows where to find it or maybe generate it from the web installed. Invoking the setup from PowerShell isn't the problem but I appreciate your time to reply.11KViews0likes9CommentsSaRA scripted install
Hello all I'm looking to deploy the SaRA tool (https://diagnostics.office.com/ ) to our client Windows devices using a script (PowerShell preferably) but can't find an offline installer or MSI to be able to do that. How can this be achieved? Surely it would be good to have this installed and ready on a machine available for the end user to run up when an O365 support call comes into the helpdesk. TIA AndrewSolved12KViews0likes11Comments
Recent Blog Articles
No content to show