How to deploy color pallets in powerpoint using powershell/gpo
Hi, I want to be able to deploy a color pallet using powershell and GPO in Powerpoint so it will be available for all users in my organisation. Does anyone know how ths can be done or is there a script available?
Access Azure File share through private endpoint
I'm trying to enable backup using PowerShell for the file share of storage accounts. In current environment we disabled public network access and using only private endpoints. I have used Runbook with private endpoint but still failing to list the file…
Set arithabort ON When executing a command from powerbuilder application
Script to Set arithabort ON When executing a command from powerbuilder application once session logon.
TpmVscMgr cmd not working when used with /prompt in PowerShell Windows 10 task
Working on Windows 10, I need to make it possible for a user mode (i.e. non-admin) application to create virtual smart cards (VSC). Yet it seems that VSC's can only be created in admin mode. The solution I have come up with is like so. Register a…
For SharePoint Online, what PowerShell can generate a report of all users who can grant access to others on a site or library or a folder?
Hi there For SharePoint Online, what PowerShell can generate a report of all users who can grant access to others on a site or library or folder? (Users may or may not be a Site Owner, they might have Full Control on just a folder or even just a…
使用Powershell的cmdlet退域出错
场景:域控制器DC1上的计算机帐号PC01被删除且不能找回,终端计算机使用Powershell的cmdlet指令退域; 结果:使用remove-computer进行退域至工作组workgroup失败,但使用GUI进入退域至工作组workgroup成功; 请问如何解决这个故障?
How to fixed error 429 in SharePoint PowerShell
I'm trying retrieve OneDrive site using like this and it's working fine but sometime I get " The remote server returned an error: (429)." I do believe I'm getting that error because I request too many time in my script and getting throttled.…
How to get only values for each server rather than the property names for every server
$servers = Get-Content -path C:\temp\fileshares.txt foreach ($server in $servers) { Write-Host "Getting file shares from $server..." $fileshare = Get-WmiObject -Class Win32_Share -ComputerName $server | Where-Object {$_.Name -like…
How to find Microsoft store xbox game product ID?
Example : https://www.xbox.com/en-us/games/store/dead-space/9NLB6V0GNC9P I want to get Dead-space game product ID : 9NLB6V0GNC9P I use powershell command (Get-AppxPackage) to get some information about packages But do not find any information about…
Using container to run multiple different scheduled PowerShell scripts regularly?
People, I need some help and guidance in deploying Docker or Container on Azure, my aim here is to be able to run Active Directory, M365, Azure and other PowerShell scripts as scheduled tasks. Using this…
Script exclusão de usuários windows server
Estou com um problema em um script que criei para fazer a exclusão dos usuários com mais de 30 dias sem logar, e fazer a exclusão de suas respectivas pastas no servidor, porém quando rodo o script não acontece nada, ele não dá nenhum erro, porém também…
Searching registry key, find its property, and replacing the value ?!
Hi, I'm going registry because when I do a backup-GPO with Powershell in Windows Server 2022, and restore it in a different server it does not restore the Network Manager List - Network Name Value (which is TEST in this case). I want to find a registry…
SBM for windows server 2003
Hello I would like to active SMB 1.0 /cifs file sharing support in windows server 2003, i don't have powershell. can i active the SMB 1.0 via manage your server (old version of server manger)? Thank you
RAID Volumes and RAID Levels (if any) with PS or VB.net
Hi, Is it possible to know if the disk has RAID configuration or not. If RAID is configured, the information of the RAID volumes using VB.Net or PowerShell? This is what I have checked so far, but not desired results: …
Cannot bind argument to parameter 'ResourceId' because it is null
I'm trying to add device to a collection in SCCM from ServiceNow MID Server, But I'm getting the error with Get-CM Device not returning the value and giving the error message "Cannot bind argument to parameter 'ResourceId' because it is null".…
How do i create a file that will run something in windows powershell
I have recently found out that typing "wininit", and running it in powershell blue-screens your computer. I was wondering if there was a way to run powershell this by opening a file/running a file, so that I could mess with my friends.
How to pull a list of all groups I do not have permission to modify in Active Directory?
I am a newer desktop admin trying to determine what groups I don't have permission to modify in Active Directory so I can send a list to get permission to access them. Is there a script I can run in PowerShell or a way otherwise to pull a list of such? I…
Is there a way to copy all files from one user's onedrive to another?
We have a user who has 600GB of files in separate folders on one account and is moving to a new account. They need to move all these folders across via OneDrive but I can't find any resource that will make this happen due to the high quantity and size of…
Powershell Script does not send email to the user
Hello, I have the following script. Everything works fine except the part that it is supposed to send the email to the user. The part that send an email to the supervisor is working properly. I took the original form to a website and I edited it myself.…
Get Hyper V Administrators group from PowerShell without knowing the name
hello, I want to make a PowerShell script that can add something (I know how I can add ) in the Hyper V Administrators group without knowing the group name (because I saw that this can be different based on Windows installation language and I want a…