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

Logging function for script

Hey scripting guys. I am having an issue where some users profiles get stuck when logging out of my virtual environment. I usually have to manually remove them from the C drive and from the registry so...

View Article


Scripting DNS entries

I'm a bit new to this and this was dropped on my department's desk.The scenario:My organization has a DNS zone for our primary production domain, and all of our IP's for production machines are managed...

View Article


Powershell: create scheduled task which repeats every other month?

Hi,I have a Powershell-script to deploy windows updates every other month on PatchTuesday.However I don't find a way to schedule it (via Powershell every other month). Please advise how this can be...

View Article

Drives mounted as Unavailable on the remote machine using Invoke-Command

Hi Everyone,After installing the latest Windows updates, I'm facing an issue when I try to mount a network drive on a remote machine using theInvoke-Command cmdlet.My requirement is to run the mount...

View Article

PowerShell Script

Hello friends, New in the world of infra in business, would it be possible to have a little help? Indeed within my box, we have workstations in Win 7 and Win 10 and servers Win servers 2012 r2 and 2008...

View Article


Scripting file transfers between Windows 10 phone and PC

I very often connect my Lumia 950 phone to a PC for the purpose of transferring (moving) files from the phone to the PC.I'd like to script that so that I don't have to open File Explorer, navigate to...

View Article

Image may be NSFW.
Clik here to view.

Create troubleshoot wizard

Hi,I want create wizard for users, like troubleshoot wizard in windows.Have you seen any software helps with this. Or it is a best way to use visual basic?

View Article

get -acl in registry

Good AfternoonI need to see the current privileges in "HKEY_CLASSES_ROOT\CLSID\{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}\ShellFolder". Please help me with the command. I saw some examples on the web...

View Article


Running PowerShell scripts as domain accounts through Clustered Scheduled Tasks

Hey all,I am trying to use Clustered Scheduled Tasks to replace a number of automation tasks and I am hitting a very frustrating issue. Because clustered scheduled tasks can only run as System I have a...

View Article


Robocopy

Hello,I can´t figure out how to copy only files (xlsx) files to destination. Content of folder is ok.Here is my script fo folder backup:robocopy c:\common\Logistika\ \\ithelp\transfer\MN\ /MIR /W:0...

View Article

Delete .BAK files in N number of days

hi guys, having trouble with maintenance tasks and in interim just want a simple script to run as scheduled task to delete some older files from a folder. Scenario: delete .bak files from specific...

View Article

Can I export an Outlook OST to PST using a script?

Hi all.  I would like to export my local OST file to a PST using a script (VB or otherwise).  Is this possible? To be clear, I know how to manually export my local OST to a PST (using Outlook 2013)....

View Article

Get the CPU temperature with PowerShell

Hello everybody!With an external software like Core-Temp it is pretty easy to get the CPU temperature. But I would like to obtain the same data through PowerShell or cmd.exe, also for scripting...

View Article


PowerShell -Identity in get-aduser is null or empty on command when using a...

I am fairly new to PowerShell and have a script that parts works via the command however not when ran as a script.  The problem appears when a variable assinged from a previous function is used in a...

View Article

xcopy access denied

Dear all, i need to copy some files from a source directory not protected (standard users have full rights) to a protected folder (standard users have the following permissions on Folder and...

View Article


Need help with a batch file not working as expected on Windows 2016 server

I've been using the following in a batch file to install a service for years:@echo offMyService.Hosts.WindowsService.exe --installpauseWhen I tried to run the same batch file on server 2016, I got...

View Article

Trying to run simple AD Group Creation script

trying to run:c:\create ad groups> runas</g> /u:domain\administrator "powershell -file c:\create ad groups\cgps.ps1"I get prompted and enter correct passwordResult:Attempting to start...

View Article


How to get a relyable report of licences consumed

Hi, Im trying to get a O365 licence report in powershell of our tenant, to detect when we have to buy more O365 licences before get blocked by Azure to assign more  to our Employees.Currently, we are...

View Article

PS - Add header to new page.

Hello,I would like to ask you for help related to one issue which I'm trying to resolve. Basically, I'm trying to gather some data for MS SQL and output everything to HTML. I'm using something like:...

View Article

Windows 10 V1809 Unattended Installation

We are using the following xml file for windows 10 unattended installation. But unable to Pass Keyboard layout selection , Privacy settings, Lets connect (network setup) settings. Could you please help...

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>