Bginfo - scripting language
As VBS is labeled obsolete, is there any other scripting language which can be used for scripting bginfo source data? Winsows shell (cmd.exe) or Powershell? How to run powershell command to provide data fro bginfo? any examples?
Invoke-RestMethod: The remote server returned an error: (403) Forbidden.
Hello, I'm currently trying to retrieve a documentation page in Confluence to edit and save it with a PowerShell script. But I have a problem while recovering the data. Suggestions ? Thanks for your assistance !
How to fix error answer file [Microsoft-Windows-Deployment]
Hi all, I am deploying Windows 11 home 23H2 on an HP device which comes with S Mode. I am installing the device with MDT version 2004. In our school we do not use sccm or intune. When I deploy an clean install Windows Home on the device I get the…
Need some help to target the Group Policy to enable the NTLM audit?
I must audit any computers still using NTLM v1 in my AD Domain. Do I need to enable these group policies for all Windows servers and workstations in my AD Domain or just the Domain Controllers? Computer Configuration\Windows Settings\Security…
Download error - 0x80080005, can't update
updates 2024-04 Cumulative Update for .NET Framework 3.5 and 4.8.1 for Windows 11, version 22H2 for x64 (KB5036620) and Windows 11, version 23H2 don't download. I've tried many things, its been like this for months for the first update. The second one…
Cannot connect to ISCSI target Server
Hello dear all, I have this issues when i'm trying to connect this to iSCSI initiators (sea-svr1 & sea-svr2) to my target server (sea-dc1). First of all, i had installed Failover clustering into my two initiators, then installed the…
cmd提示不是内部或外部命令,也不是可运行的程序 或批处理文件。
我在vscode中搭建了一个c\c++的环境,但是在运行hello world时出现了错误“ ******不是内部或外部命令,也不是可运行的程序或批处理文件。”我在之前搭建的过程中没有遇到类似的问题,我已经重启过了电脑。 我应该怎么办
Powershell script
Hi i want to create a script that runs every time a regular user logs in to one of your clients your domain writes a report with the name “yyyymmdd_computername.txt” and content “hh:mm:ss – username” to a central repository. Someone every time otherwise…
Set-WSManQuickConfig : Cannot complete the request due to a conflicting Group Policy setting.
Getting this error when trying to run Enable-PSRemoting -Force. Set-WSManQuickConfig : Cannot complete the request due to a conflicting Group Policy setting. Modify the GP setting "Allow remote server management through WinRM" to either…
how to fix this error : Method invocation failed because | [Deserialized.Microsoft.IIs.PowerShell.Framework.ConfigurationElement#bindings#binding] does not contain a | method named 'AddSslCertificate'.
Hello, I'm trying to automate the creation of the SSL certificate in the iis server i wrote a powershell that do this but i m getting this error : Line | 1 | Import-Module -Name WebAdministration -Force -SkipEditionCheck | …
delete files in a subfolder in scdule time
I have two folder- A and B B is subfolder of A and inside B there many files , i want to delete files inside B more that x days without delete Folder B , is there any solution Thnx
Exporting a list of users with no profile picture in a specific OU via Azure AD Powershell
So I haven't used PowerShell in a while wondering the best way to Export specific OU's users that do not have profile pictures tied to their account via Powershell. …
Script to Change Permissions on DNS Records
I've found myself in a situation where some computers in our environment are not able to update their records in DNS when their IP address changes. This is primarily due to DHCP servers creating the record on their behalf when the DHCP server issues or…
Bulk Assigning Phone Number to Microsoft Teams Users / Direct Routing
Hello All, I'm trying to bulk assign phone numbers for our end users in teams. The portal itself is very limited. I found this article. https://learn.microsoft.com/en-us/powershell/module/teams/set-csphonenumberassignment?view=teams-ps I…
Deactivate a DHCP scope using Powershell
Hello, I was wondering has anyone deactivated DHCP scopes using Powershell below? I'm just learning how to use Powershell and I know how to update Scope Options using Powershell but I was wondering can you Deactivate it using PowerShell? I would like…
Installing VS build tools with out any prompt
I am using following script to VSbuild tools 2022, but what is happening it makes to go that folder and run manually even I have provided arguments in the below script which should not to prompt for window, script: Create the 'C:\software' directory if…
PowerShell ISE script to access Azure Secrets and Azure Certificate Thumbprint using TenentID
Hello All, I am looking for guidance on writing PS ISE script to get Azure Secrets and Azure Certificate Thumbprint using TenantID. Any help would be highly appreciated.
how can I find email address, cn number etc. in Get-CalendarDiagnosticObjects DisplayAttendeesAll names ?
Good Day Friends, I want to take calendar events with attendee list, by that I'm using CalendarDiagnosticObjects in PS, but in DisplayAttendeesAll part it's just showing the names. There are several people in the organization or in meeting request (as…
How to BULK GROUPS to a User
Hello, As part of our onboarding process we are required to create user accounts in Microsoft admin center. Once created, we need to add this user to multiple different groups. The process to do this in the admin center is incredibly frustrating and is…
Azure Cloud Shell error while deploying powershell scripts
I'm trying to create resources in azure using ARM templates via Powershell scripts and I'm trying to run the script in Azure Cloud Shell it used to successfully deploy previously, but currently I'm facing this issue frequently & there were no code…