Quantcast
Channel: The Official Scripting Guys Forum! forum

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


Powershell command

Hi, I need help with a PowerShell command for exchange server 2012 r2, to export a report from a certain server, with  mailbox name, lastlogontime, mailbox size and in what database it is. this is what...

View Article


Run Add-DHCPServerV4Failover remotely

Dear folks, I am trying to write a script which will go through all DHCP Servers in domain and configure DHCP failover on them if not already configured.  I have a schedule task that would run daily...

View Article

Image may be NSFW.
Clik here to view.

Problem with duplicates that are not really duplicates in SQL code SQL Server...

I am having a super tough time trying to figure out how to place a flag on what I should keep and should not keep. Below is an example of the 1009 rows I have. I tried doing a case count on the case...

View Article

Configuration Manager collection automation script problem...

I am working on a PowerShell script to help with deployment of software and updates that are segmented by the user's department and their title. I have successfully gotten the creation of the user...

View Article


Remove NTFS permission recursively from folder for specific user (permission...

Guys I need your help to remove NTFS permission for specific user from folder. I have many folders under local drive and inside each folder there are millions of sub-folder and files, permission...

View Article

Include All Hidden Folders, Exclude $Recycle.Bin folder

Company is "emptying" everyone's personal network drive.  What we are actually doing is hiding all the files and folders.  I have a script that is mostly working, where I first take ownership of the...

View Article

cmdkey syntax

Hi guys,glad to write my second post here on technet.I am having issues with cmdkey utility syntax. I am trying to prepare a script, either powershell or cmd  that will completely wipe out all...

View Article


Xlite 3.0 Error

Hi Dear,while opening XLite Applicaiton i am geeting this error. please help on this.https://www.counterpath.com/wp-includes/js/jquery/jquery.js?ver=1.12.4-wpWhile you hit above Brower getting output...

View Article


WSUS Client configuration settings for bulk servers

Is there any help on Scripts for WSUS Client configuration settings for bulk servers.. We have to add clients servers to WSUS console.   Plesae reply asap..

View Article

WScript RegRead unable to read the registry key

Hi All,I am using the Wscript shell to check the registry entry in the VBscript. When i am running the code from console it is working but when i run the same through a custom action from an installer....

View Article

How to set the "No paging file" option within a powershell script

Hi All,       I'm trying to script the "No paging file" option for the my c drive. Any ideas? I've looked at the w32_pagefilesetting class but can see any option...I'm using the mix/max = 0 to set my...

View Article

robocopy never have any summary - how do I run it so there's summary at the end

I have the following:  (robocopy C:\Users\a C:\Users\b\test just robocopy from to, no switch, no log file.  Just display to screen)C:\>robocopy C:\Users\a C:\Users\b\testC:\Users\a\...

View Article


Unjoin a machine from a domain

I am taking over a company who is using O365 and Join to Azure Directory. This is not in Azure Active Directory domain.Is there a script that I can push out that disjoins every computer from the Azure...

View Article

Image may be NSFW.
Clik here to view.

How to convert enhanced rich text field to plain text field using a...

We need to convert all the rich text fields in a site collection to plain text field.I am using the below powershell script to convert the rich text field to plain text field, however it is not working...

View Article


VB Script Question - sort file based on column?

HI Folks -What is the easiest way to sort a file based on Column 4 of my below data file?VW_Comm_JE_Delta_SegCR BU_II_0 AT_MNTEXPMD PF_P111111001 GR_FY2021_O MP_200402 CC_UDG_01 AC_BS08 FY19 Jan HKD...

View Article

Need output in log

I have created a script and need to append output in log.Can somebody help me.$pc = Get-Content C:\temp\remove.txt | Get-ADComputer -ErrorAction SilentlyContinue $group = GET-ADGROUP -FILTER {Name...

View Article


PS C:\Users\xxx>...

throws an error:Exception calling "GetActiveObject" with "1" argument(s): "Operation unavailable (Exception from HRESULT: 0x800401E3 (MK_E_UNAVAILABLE))" At line:1 char:1+...

View Article

Using Quser when a user session is disconnected

There is this awesome dr scripto article "Automating Quser through PowerShell", that goes into how we can use quser to find logged in users on servers and then log them off if we so chose. It's great...

View Article

Script to Monitor free space in UNC Path / Network drive

The below script I ran & getting the successful output but it is taking a static value of ($share). I want to make script where I can flow a value/parameter of (Share) as dynamic from storage &...

View Article


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