Script to check if files or folders syncing with Onedrive
Hi Team, Hope you are doing well. I am facing the issue related to get the Onedrive sync status via Powershell. Like my concern is before unlinking the account from onedrive need to check the Onedrive sync status, means if any files or folders are still…
Connect-ExchangeOnline Error using AccessToken
Im trying to connect using Connect-ExchangeOnline -DelegatedOrganization $upnDomain -AccessToken $accessToken -UserPrincipalName $upn -ShowProgress $false But for few tenants getting below error. Please help Unexpected character encountered…
Get-EXOMailbox -> How to obtain all mailboxes with pagination
Hi, I am using cmdlet Get-EXOMailbox -resultSize unlimited. But this return a lot of data and it take a lot of time. I would like to use some skip or nextLink but it is not working. I tried this: Get-EXOMailbox | select-object -Skip 10 -First 10…
Modily site URL into csv for granting permission to document library
I wan to run following script by modifying SiteURL in csv same as the following csv How can I modify site URL into csv so I could use script smoothly #Config Variables $SiteURL = "https://tsubaki518.sharepoint.com/sites/allcompany" $CSVFile =…
How do I use InTune to change font on all devices
I am having a problem with the new Aptos font, and I am trying to change all the device's font in InTune back to Arial. The problem I have is that Outlook for iOS doesn't seem to like Aptos too much- and I am trying to find a way to set the default font…
Does anyone know how to extract the OS language of PCs in Intune via Powershell
Hello, Can someone please share me a script on how I can go about extracting the OS language of my devices in Intune. I have scoured the internet and came across Graph Beta which seems to be able to do it but I cannot figure out how to do it. I'm…
How to Get the Folder and all Sub-Folders GUIDs using Power Shell
I have a request to provide a list of sub-Folder GUIDs. I can generate one Folder GUID from this script, but I need the sub-folders within it. Can you assist with a script that will provide a list of sub-folder GUIDs? Cheri #Variables $SiteURL =…
hoe kan ik het probleem oplossen livekernelevent hardware probleem zodat windows niet goed functioneerd zegt ie
LiveKernelEvent Code: 144 Parameter 1: 3003 Parameter 2: ffff988e8d4875b0 Parameter 3: 40010000 Parameter 4: 0 Versie besturingssysteem: 10_0_19045 Servicepack: 0_0 Product: 256_1 Versie van…
Update snapshot Property by using Azure Automation account
Hello, I have a Backup vault that takes snapshot for OS disks and shared disks everyday, during 14 days. When checking the snapshot file, the network setting is enabled public access from all network. Because there are a lot of snapshot file that I need…
Can someone explain to me how to Get Mailbox folder permissions in recoverable items use PowerShell? Its possible or not
Get-MailboxFolderPermission -Identity " testid@223.microsoft.com\Recoverable Items"
SetDatabaseConnection WMIMethodException Error
I'm using a slightly modified version of the script found here: https://blog.aelterman.com/2018/01/03/complete-automated-configuration-of-sql-server-2017-reporting-services/. The modification is that I'm pointing to (local)\SQLExpress on line 41 as the…
Risk and consequence when executing Kerberos password reset in a Hybrid Azure AD - OnPremise AD DS?
What are the risks and consequences of resetting the Kerberos krbtgt account during business hours using the steps defined…
Import the .nupkg file
Hello, How can i import the .nupkg file to powershell? Please help
Finding current Logged in user while running as System Object
Hello experts We are executing a PowerShell script that requires retrieving the following details: $fromDomain = $env:USERDOMAIN $computerName = $env:COMPUTERNAME $userProf = $env:USERPROFILE $username =…
Why can't I use Invoke-WebRequest twice?
Hi All, I need to rely on the first Invoke-WebRequest to piece together a URL for the second Invoke-WebRequest, but the second time is forcibly terminated. My Script: Import-Module -ErrorAction Stop…
How to get list of all attribute in AD
Hello, How To get list of all attribute in AD(default and custom attribute ) in csv file. Thanks Rich
How to launch Microsoft Edge to a specific Workspace?
How can I launch Microsoft Edge directly to a specific shared Edge Workspace, ie what is the command line switch? Preferably I would like to launch two workspaces at once; more preferably I would like to launch them on to the last desktop region that…
How can I get list of runbooks that uses a particular Database using PowerShell in a runbook
Hi , we have created plenty of runbooks to load data to our SQL warehouse. and the runbooks are keep increasing due to business need. we are in need of achieving particular task. that requires list of runbooks that is using the specific xyz database.…
Why "Request administrator consent" if it has already consented?
I would like to migrate my PowerShell reporting script from using MSOnline module to Microsoft.Graph equivalent. Whenever I launch Connect-MgGraph -Scopes "User.Read.All" I get stuck with the following Request administrator consent…
SCOM 2019 R2 Powershell script monitor not running
I have SCOM2019 and I have problems running my scripts in PowerShell. I can't find the website: https://gallery.technet.microsoft.com/Sample-Management-Pack-17b76379. Where can I find this Management-Pack. Error: Script or Executable Failed to run