Simple windows form with a combobox and radio
Hi,Sorry, but i'm newbie in PS and my english so bad(I try create a simple windows form with a combobox and radio for easy select credentials and connect to MS online services.It must import from csv...
View ArticleFind DNS record where Frw record is present but reverse does not exits
HelloSometime we create forward record, but the revere does not existOr IP is given to server , pings, but the forward or reverse is not added in dnsor someone did not clean up dns, so frw removed, but...
View ArticleDNS record extraction
HiI am looking for scriptInput will be subents 10.10.10.0/23 sayO/p 10.10.10.1 - FQDN - Ping (yes/NO) Thanks Note : below is not sufficient as you can guess Get-DnsServerResourceRecord -ZoneName...
View ArticleGet-ChildItem parameter -include not working
Hi,I am looking for a solution to parse a variable as input for the command "Get-ChildItem" - include option. First of all the purpose of the function. I need a function to dynamic scan a folder where...
View ArticleNeed help in tweaking the Powershell AD query to find inactive computers
Hello All,I am a beginner in powershell. i managed to construct a query to find out the inactive computers with last logon name. but the problem is that query time out everytime. if i limit the scope...
View ArticleUpdating an ADUser's Manager with a Contact Card
Hi AllI am trying to update AD User Accounts with Managers created on contact cards. I am having a problem where I cant seem to be able to use contact type instead of User. In AD&C it allows me to...
View ArticleHow to package and zip multiple files with different extensions.
We need to Package and zip the following files under the "C:\Source\" and name the package “C:\Destination\MONTHLY_YYYYMM.zip where YYYYMM is System YYYYMM -1. Example: In May 2014 it will be Apr...
View ArticleHow to package and zip multiple files with different extensions on every...
How to Package and zip the following files under the "C:\Source\" when the MM – 1 = 03 or 06 or 09 or 11 or 12 (When MM = 01, 01 - 1 <> 0, but 12) and name the package...
View ArticleSome Storage CMDLets do not work under WinPE
I have built a custom WinPE based on W2012 and included Powershell and a number of the Powershell CMDLets such as SMB, DISM, and Storage. Everything works fine. When you boot the WinPE disk and do a...
View ArticleCommand Completion when using Powershell Direct
Hello,is there a way to enable command completion when connecting remotely to a VM via PowerShell Direct?I'm using Windows Server 2016 TP5.ThanksChristian
View ArticleUpdate Calendars
Does anyone know of a way to update Outlook Calendars and Shared Calendars using Powershell? The issue I have is that we are using Cached Mode and only have a certain number of Live Mode connections...
View ArticlePowerShell Gurus! Where are you!?
Behold! It's the June TechNet Guru Contest!Your chance to get your name known, raise your profile, get credit where credit is due!Yes my friends, this is your chance to get listed along-side some of...
View Articlecant find file
I'm new to PowerShell and I'm trying to delete multiple users from O365. I keep getting an error.I log into PowerShell as admin and enter: Import-Csv c:\userdeletions | ForEach-Object {Remove-MsolUser...
View ArticleString comparison not working when 'Run with Powershell' or as a scheduled task
I've been banging my head against the wall far too long on this, I'm hoping someone can help me spot what's going on.I have a bit more complex script than what's posted below, but I stripped it down to...
View Articleread a 64 bit registry key for ISE (x86)
How can you read a 64 bit registry key from ISE(X86)? It took me a while to figure out until I saw X86 then realized that powershell (X86) is reading the 32 bit registry ( or saying it differently -...
View ArticleGetting Error while running Get-DscConfiguration in Windows Server 2008 R2
Hi ,I am trying to run "Get-DscConfiguration -Verbose" in server 2008 R2 in order to upload the output of it Pull Server using POST method. But I am getting following error :Get-DscConfiguration :...
View ArticleSigning Powershell Script Returns and "UnknownError" Status
I am trying to self sign some scripts but keep getting a status of "UnknownError" after the script completes successfully. The strange part is, the script does complete and sign the certs, it just...
View ArticlePowewrshell Parse file help
Hey, So I will explain the overall situation first for better understanding. I have a script running that mirrors two directories and updates a log file about what happens between the two directories....
View ArticlePlease provide Powershell script for setting Datasource reference for Shared...
Please provide Powershell script for setting Datasource reference for Shared data set.Srinivasarao G, MCSE(Business Intelligence) Blog:http://sqlcart.blogspot.com
View ArticleNew-JobTrigger -AtStartup really doesnt work..?? :-(
Hi, i tried this code, it works (at the first look) really good, the jobs are created and the job "WSUSUPdate" with trigger -at runs fantastic... but the job with the trigger, AtStartup works never.......
View Article