How to schedule a script and setup email notification via Task scheduler or any other way?
How to schedule a script and setup email notification via Task scheduler or any other way? As I have gone through some blogs and online links but its shows traditional ways and seems "Email Send" option is deprecated in Task Scheduler. See…
How to test a synapse link service from a powershell script?
How to test a synapse link service from a powershell script?
Azcopy is not support in runbook
Azcopy exe I am trying to install inside in runbook but it's not detected and I don't want hybrid worker because I have to maintain it, is there any way to convert exe onto powershell module so that I can convert azcopy exe into module and add that…
Cannot run "Connect-AipService"
This is the error I get after runinng these commands Update-Module -Name AIPService PS /home/aggie> (Get-Module AIPService –ListAvailable).Version Major Minor Build Revision 3 0 0 1 The following error I get when I run…
Powershell from SSIS - Empty environment variable
I'm running a script in an SSIS package and I specify an account to run the package in SQL Server Agent. When it runs, I am unable to get the value of $ENV:LOCALAPPDATA Here's my code along with writing out the LOCALAPPDATA value Start-Transcript…
Permissions assigned with Grant-PnPAzureADAppSitePermission on a site do not work with custom or non-inherited security.
Good afternoon. When you create the document library and leave it securely inheriting from the main site and allowing you to create folders and files without problems with Add-PnPFolder and Add-PnPFile. But I disinherited the document library permissions…
Task scheduler cannot run script, works with the same user directly over powershell
Hello Everyone I am trying to run a Scheduled task, that should run a powershell script every evening. Even though I can run the script with the SYSTEM-USER without any issues, it does not work when I try to run over task scheduler. The script does not…
Is it possible to have a Power Automate Flow create a onedrive sync of a specific folder? Or PowerShell script?
Is it possible to create a Power Automate Flow to do the following: Click a button Power Automate form appears Form requests a name of a folder from the user. User enters an existing folder name in a SharePoint Online Library. OneDrive Opens if not…
Are there any beginner-friendly tutorials or resources for getting started with Microsoft products like Azure, Office 365, or Power BI?
my name is virat i work at Rebolt Alloys is there any beginner-friendly tutorials or resources for getting started with Microsoft products like Azure, Office 365, or Power BI?
After applying a pnp site template to a SharePoint site, the homepage content is aligned in the center of the page
Using Invoke-PnpSiteTemplate to apply a template to a site causes the homepage content to be aligned in the center of the page. How can I avoid this? I want the content to be aligned to the left.
Create a retention policy in Exchange Online using PowerShell
How can I use PowerShell to create a retention policy that deletes emails older than two weeks for a specific account in Exchange Online? I want to ensure that only the intended account is affected by the policy. Additionally, how can I verify that the…
Windows Powershell and Visual Studio Running Extremely Slow
Hello, I work as an IT support engineer for my company and a user reached out to me saying that they have been experiencing issues with their VS code and Powershell commands running very slow. I recreated the same environment on my laptop, and I had the…
Does Dsregcmd \leave uneroll Win 11 device from intune??
Hi experts We have a Windows 11 device which is Hybrid joined as well as Co-Managed. We want to remove the device from the Intune. We are running the DSREGCMD /Leave command to unjoin the from hybrid. after this the device object is deleted from the…
Powershell new user issue
Hello. I am currently trying to learn the basics of using Powershell with Office365 and one of those is creating a new user. I enter the below code as a test: new-msoluser -UserPrincipalName "HYang@mirador.com" -DisplayName "Harp Yan"…
How to find user's Downloads folder in PowerShell?
There are a number of posts on the web saying to effectively concatenate the expansion of %USERPROFILE% and "\Downloads" to locate the Downloads special folder. That is horribly broken because a) it's not localized, and b) users can change the…
How to load assembly path in the new runtime experience in Automation Accounts' runbooks?
We have a runbook that we use to log to Application Insights. We use it for making logs both from Azure and Hybrid workers. In hybrid workers the logging works correctly, but in Azure it fails with Cannot find type…
no license file found for appx bundle
I am trying to install appxbundle, the drivers are installed correctly. But during the appxbundle installation it is throwing the above error.
Using Powershell is there a way to find if a SharePoint Online site has a retention policy applied to it.
I am working on an automation and have found the option to exclude a SharePoint site from a compliance retention policy What I am looking for is to create a loop to check if the site has had the retention policy removed. So really just a cmdlet that…
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…
Get all the windows update and put in to the ciminstance
I have to get all windows update to put inside ciminstance, i already try using this script $wmiCustomNamespace = "Get_Update_SCDA" $wmiCustomClass = "W32_Updates" $classExists = Get-CimClass -Namespace root\$wmiCustomNamespace…