Quantcast
Channel: The Official Scripting Guys Forum! forum
Browsing all 15028 articles
Browse latest View live

I want to setup some settings in Teams office 365 but I get 404 error

First install this: https://www.microsoft.com/en-us/download/details.aspx?id=39366 Than execute in PowerShell: Set-ExecutionPolicy RemoteSigned Import-Module "C:\Program Files\Common Files\Skype for...

View Article


Powershell DFS size and free space providername Null / empty

Hello everyone, I created a powershell script which will map UNC shares from a list. Then using win32_logicaldisk sets the information from Drive Q: to a array. My problem is when running the script...

View Article


Import a HTML bookmarks export from Firefox into Edge browser

Hi Guys,We're rolling out Edge and need to automate the import of favorites from Firefox, into Edge. Firefox can automatically backup it's favs to a .html file , which is fine, but importing these in a...

View Article

Exchange Script needed to query mailbox folder permissions but exclude...

I have a script below that will find existing Outlook folders then get their permissions. However, if some of those folders have a forward slash in their name it won't find them because the Get...

View Article

Invoke-command to get-culture on remote computer

HelloWhen I try to get culture on a remote computer, and don't succeed to get itI call : Invoke-Command -ComputerName xxxx -ScriptBlock { get-culture }I have no error, but in response, I have the...

View Article


winevent ID email notification

Hello,I created the following script to search the Hyper-v event log for particular events(18280,15190,14070,18350). This script also sends an email with an attachment of the errors.I have two...

View Article

How to code this batch file?

Referring to following coding for batch file, which run 2 batch files. I would like to run the A123.bat and delay 10 seconds and run B345.bat, but B345.bat does not run as result.C:\Temp\A123.bat SLEEP...

View Article

How to get a list of all X500 OIDs used in AD

I need an overview of all X500 OIDs used in AD.A former admin implemented new attributes but did not document the OID used. I also fear he tested with some undocmented attributes. Since I need to add...

View Article


Unable to Uninstall the Skype for Business 2016 component from Microsoft Pro...

Hello SCCM/scripting gurus,I was given a task to uninstall the Skype for Business 2016, it is part of the Microsoft Office 2016 Pro Plus suite.I modified existing MSP, made not available the skype for...

View Article


I want to setup some settings in Teams office 365 but I get 404 error

First install this: https://www.microsoft.com/en-us/download/details.aspx?id=39366 Than execute in PowerShell: Set-ExecutionPolicy RemoteSigned Import-Module "C:\Program Files\Common Files\Skype for...

View Article

Start-Job Pass String Variable

Hello,Am testing using the PowerShell Start-Job commend, I have been successful in what I need but have run into an issue.$id = '58*' $jobScript = { Get-ADUser -Properties employeeID, mail -Filter...

View Article

Need help listing shared mailbox manager names

As I am really bad at writing these things myself, then would like to request help in listing shared mailbox managers alongside with the rest. The script is made by someone else (I really cannot recall...

View Article

Hunting incoming emails with change in reply-to address

From time to time the bad actors will send out o365 users emails asking them to perform a task for them and trying to be sneaky about it of course. Below are a few examples of what I am talking about...

View Article


VBScript to print multiple excel files with multiple tabs within a folder

I am new to using .vbs files and currently using this script. The file names could be changed or additional files added or files removed in the future and I would like to change the script to...

View Article

Set Static IP Address On SSID With Powershell

I need to set a static IP address for a specific SSID on Windows 10 via Powershell and can't seem to find a way to do it.  I can do it via the Settings app but I need to script it.  I can't set the IP...

View Article


Read Sets of Data From a Text File and Output to Array

I have a report that I'd like to take out of an text file and put in to an array to use as a CSV. The problem is that the text file contains inconsistent sets of data. What I need to do is turn this in...

View Article

How to Copy/Move from one group to another group in AD using PowerShell v5?

    **Unable to move or copy the users from one group into another group. Need to move only the specified user.    Tried with many ways (commented in code). Please help me to resolve this issue.......

View Article


AppActivate an opened Internet Explorer tab (VBScript)

I need a VBScript to activate (bring to the front and set focus) to a previously opened Internet Explorer tab. From the following forum post I am able to step through all the tabs on the IE browser...

View Article

Error when working with apostrophe in name when creating groups

I am creating bulk group and one of the fields I need to populate is the "Managed By" field. when I am creating the groups one of the names I have to use for managed by is John O'Brien. This is what I...

View Article

Disabling/Enabling a specific driver through SCCM, or just by Command Line

Hi,First time posting. Please pardon if this is the wrong venue to ask:I was looking to create a script to enable the Realtek(R) Audio driver, which keeps failing and self-disabling itself.Can you...

View Article
Browsing all 15028 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>