clear
$folderid=get-folder | get-vm |select name
foreach($vmn in $folderid)
{
$dis=$vmn.name.ToString()+"_expired_by_script"
Set-VM -VM $vmn.name -Name $dis -Confirm:$false
}
Welcome to tech-jockey!
This blog is designed to built tech solutions with collaboration of members who believe in sharing.
Guests inputs are most welcome.
Comment, like and share.
You can also help tech-jockey to grow
Please Click here to help.
Team Tech-Jockey !!
Looking at current trends and to make my content more reachable to people, I am moving all the content of my blog https://tech-jockey.blogsp...
No comments:
Post a Comment
Thanks for showing interest in tech-jockey.