Quantcast
Channel: PowerShell
Browsing all 15370 articles
Browse latest View live

Changing the position of an image in Powershell

Hello,I've just inserted an image into my Powershell form but it is in front of my text.Is there a way of moving that image so that it not in the top left hand corner?Thanks.

View Article


Invoke-Command for Export-VM

I am implementing a low budget backup scheme for our Windows 2012 R2 HyperV environment. I want to do an Export-VM on a VM and save it to a NAS box. However, the NAS box only allows actual Active...

View Article


Powershell script that will accept input in different formats

I found a powershell script that I have been using for WOL, and it works great. However, it will only accept MAC addresses in a specific format, xx:xx:xx:xx:xx:xx. Is it possible for it to accept in...

View Article

looking for a script to upload a folder to odfb / office shar point nightly

Let me first say i am not a programmer by any stretch of the imagination. I am trying to get a working script to upload a rather large directory to one drive for business every night. It will also need...

View Article

Renaming File Paths and Files

I have a 500GB fileshare with some extremely long file names and would like to shorten everything up using Powershell.I have a test environment and used the following to remove all spacesGet-ChildItem...

View Article


Running a PS Script remotely without needing to run as an admin

I've updated the title per request; let me clarify what I'm needing to do.  I need to run a ps script using a GPO on systems that I would need to launch a powershell admin console.  Is there a way to...

View Article

new to Powershell...need to run commands on remote computers

I have gotten a request to display a message on our 50+ shop monitors when there is an emergency. I want to connect to each monitor and run a .PPS file in their c:\temp folder using the local...

View Article

Remote uninstalling applications

HiI.m new to powershell, I'm searching for a script to remotely remove applications on computer.All computers are in the same domain and the user does not have any local admin rights.How is this...

View Article


Powershell.org videos

The Powershell.org bods have uploaded a nice selection of new videos onto their youtube channel: https://www.youtube.com/user/powershellorg/videosSome interesting stuff there including what looks to be...

View Article


Powershell continue script after reboot...

Hi GuysI have put together a script to uninstall a managed Symantec Endpoint Protection client AND install an unmanaged version instead.But it turns out that after the uninstallation of the first one,I...

View Article

Not sure of a reason for an error

Hello folks,I've only really just started doing Powershell, and I would guess this is my first 'big' project for it - though I'm sure it doesn't seem that big to most. I've used the script fromhereand...

View Article

New User Creation Script Review

I would love if you guys would look over this script and tell me how I can improve the script and see if I need to tweak anything....

View Article

Powershell Command question

I can't remember/find working directions on how I did this before, but what is the command to show a published room calendar with details?  I have the room calendar published, but it still shows as...

View Article


Powershell to add share permissions from csv file

Migrating shares from an old file server to another. So far the shares are created on the new file server and all data is synced. My issue is the following.The old server was a Linux box so we had to...

View Article

Powershell Backup - Folder with Date, Robocopy directories

Hey guys, So after my recent attempt with robocopy I'm sad to say that I've hit a wall. I did find a way to create the folder I wanted with a function, but I wanted a double check of my sanity before I...

View Article


Powershell: set homedirectory using SamAccountName doesn't work as expected?

Hi folks!I need to change many users' home directories in AD and I wanted to start by testing the powershell command on one user. I'm TRYING to set the homedirectory to \\server\path\username, but it...

View Article

Powershell - Friday morning's stupidities

Arf i am currently breaking my head on something stupid but i can't find it.Got a function defined that just creates a pssession to a remote computer and then shuts down the computer but when i run it...

View Article


AD Groups and SamAccountNames - Where am I going wrong?

Hi, GuysI'm trying to write a quick script, so that I can get a list of SAMAccountNames, and the name of any groups they are a member of. However, I can't seem to get this right.Requirements.Any users...

View Article

Update-ModuleManifest malformed FunctionsToExport

Hey Everyone,Anyone playing around with Update-ModuleManifest? I have a Appveyor build that is updating the Module Manifest to change the version to match the build version. So...

View Article

New Script - New-Credential

I've been seeing a number of posts recently where the OP wants to use remote credentials when remoting. Unfortunagtely. these posts are using strings for credentials not a PSCredential object.I have...

View Article
Browsing all 15370 articles
Browse latest View live


Latest Images

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