is it even possible to use Microsoft.PowerApps.Administration.PowerShell in an Azure Runbook?
Import-Module Microsoft.PowerApps.Administration.PowerShell Import-Module Microsoft.PowerApps.PowerShell #Add-PowerAppsAccount #Use for desktop..[desktop works. It returns the filtered environment] #Use for Azure Automation…
Package script is working through SCCM, but there’s a deployment error in Intune
Hi There, I am working on the Oracle 19c client app. I’ve tried packaging it with both batch and PowerShell scripts, and it’s working manually as well as through SCCM, but when deploying through Intune, it’s giving an error. Could you help me with any…
Query on Snapsht
Hi All, I am using the PowerShell syntax below to take snapshots of Windows VMs. Will the current syntax use an incremental or full snapshot? I want to use a full snapshot. Additionally, I would like to take snapshots of Linux VMs. If I change -OsType…
Need to Ps1 script for Oracle database client
I want to package the Oracle Database 19c client through PowerShell to deploy it via SCCM. Can you help me create the PowerShell script. https://www.oracle.com/database/technologies/oracle19c-windows-downloads.htm..
Disabling OneDrive Access and Removing Data for Specific Users via PowerShell
I would like to explore options for deleting specific users' OneDrive data using a PowerShell script. I have around 1500+ active users with OneDrive access, and I want to disable OneDrive access for around 500+ specific users and remove the files from…
Add a local IPP printer queue programmatically or with Powershell when Windows protected print mode is enabled
After enabling Windows protected print mode I am no longer able to add a printer queue programmatically using the Win32 API nor using Powershell. Windows protected print mode requires me to use the built-in driver called Microsoft IPP Class Driver. The…
Remote Desktop shorcut and powershell
Hi team, I'm attempting to automate the activation of the Remote Desktop Connection bar using the keyboard shorcut Ctrl + Alt + Home. I've created a Powershell script and C# code that utilises keybd_event function from user32.dll library to simulate…
Using Powershell to parse Device Manger, View by Connection
In Device Manager, and you can change the "View" and select Device by connection. With this view you can see how devices are connected or chained together in cascade view. In Powershell when I run Get-PnpDevice -FriendlyName 'USB4*' -class…
hexadecimal value 0x00, is an invalid character. Line 2, position 1
VbrAnswerFile_install.txt Hi Experts, We are running an PowerShell comment in that PowerShell comment we are calling the XML file and trying to install veeam software. I am getting an error like "hexadecimal value 0x00, is an invalid character.…
Need a Powershell script to export the SharePoint Sites with a condition..
Hi All, I need a Powershell script to export the SharePoint Sites with a condition - Zero Members and only one Owners. Any help would be greatly appreciated! Regards, SK
In Cntn of this question from SharePoint forum - Need help in gathering all Archived SharePoint Sites details..
Hi All, I have a question that’s been under discussion in the SharePoint Forum, but due to limited knowledge of PowerShell Scripts there, I was directed here for assistance. I’m looking to pull the exact time when a SharePoint site was archived using…
Unable to delete Azure Synapse Workspace even through Powershell force deletion
Hello Team, I am unable to delete synapse analytics even though following up post through webUI or powershell. I tried following the steps mentioned in the link below :-…
How to assign Static Private IP address to Network interface of replicated item under Azure Recovery service vault using PowerShell
Using below script to assign Virtual network and static IP to replicated item under Recovery service vault. Script successfully assigns virtual network and static IP to the replicated item as per Job status. But static IP is not reflecting on Azure…
AZURE AD POWER SHELL - ERROR WHEN UPDATING SPECIFIC USER ATTRIBUTES WITH CSV
Greetings everyone. I want to update some attributes of all my users in AZURE ENTRA ID by using uploaded CSV file in AZURE CLOUD POWER SHELL. It works fine on some attributes but I have problem with specific attributes like telephoneNumber. When I had…
Intune script that will check the uptime of each machine in the organization and restart laptop after checks
Hello everyone, I need your help, please, because I’m feeling desperate. I want to create a detection and a remediation script in Intune. As a result, I would like it to check if the uptime of each machine reaches 5 days and send a warning to the user:…
PowerShell Script - Get-MessageTrace
Hi, I am currently running an unattended powershell script that connect to Exchange Online via a certificate that is saved in Azure. It was working until this afternoon and now it gives me the below error. Get-MessageTrace : The term 'Get-MessageTrace'…
Granting permissions to sharepoint site via powershell
I would like to use powershell to grant permissions to multiple users via a csv/txt file to a sharepoint site. I doesn't want to add them to any group, neither sharepoint group nor domain group. I want them to appear in the members tab (not site members)…
Changing Desktop Wallpaper Programmatically After VM Deployment on Azure
I'm using the Azure Custom Script Extension to run a PowerShell script remotely for VM creation, and it uses a workgroup/system user account for executing the script. The goal is to change the desktop background of the VM after the deployment is…
Error granting permissions to a folder in a document library in Sharepoint via PowerShell
I plan to create a file exchange in the document library where everyone can only see their folder and only within that folder have the ability to share files outside the organization. I have created a script that creates a folder in the document library,…
Restore OneDrive files in bulk from Preservation Library - Powershell
Is there a way to pull files from the OneDrive Preservation library in bulk? User had two computers and had OneDrive sync'd on both. While in the process of issues they lost their OneDrive files and had cleared the trash. They are all now located in the…